Files
848d2de1-1e7c-4445-96c5-31b…/.claude/skills/add-to-registry/SKILL.md
kudinDmitriyUp 31d754cf86 Initial commit
2026-05-09 05:24:17 +00:00

1.2 KiB

name, description, disable-model-invocation
name description disable-model-invocation
add-to-registry Add a component to the registry system for AI tooling true

Add to Registry

Add component to registry: $ARGUMENTS

Process

  1. Identify component props

    • Read the component's TypeScript interface
    • Note required vs optional props
    • Note default values
  2. Update registry.json

    • Add full entry with constraints, propsSchema, usage example
    • Include textRules for text props (min/max chars)
    • Include do/dont guidelines
  3. Create component config

    • Create registry/components/[Name].json
    • Match structure of existing component configs
  4. Create schema file

    • Create registry/schemas/[Name].schema.json
    • Include name and propsSchema
    • Use ? suffix for optional props
    • Include (default: 'value') for defaults
  5. Update index.json

    • Add entry with category, intent, bestFor, avoidWhen
    • Include requires array and import path
  6. Update intents.json

    • Add component to relevant intent arrays
  7. Verify consistency

    • Props in schema match component interface exactly
    • Optional props marked with ?
    • Default values documented

Output

Report all updated registry files and confirm props match component.