Add Components To Registry
Use this skill when publishing reusable components to a shared component registry/library.
When to Use
- A new component should be consumable by multiple apps/teams.
- Existing components are being updated and require versioned release notes.
- You need to enforce consistency in API and documentation.
Workflow
- Validate component API (props/events/slots) and naming conventions.
- Ensure accessibility and styling tokens are consistent.
- Add usage examples and edge-case documentation.
- Write changelog entry and determine semantic version bump.
- Run tests/build/package checks.
- Publish with tags and update registry metadata.
- Communicate breaking changes and migration instructions if needed.
Quality Checklist
- API surface is minimal and stable
- Props are typed and documented
- Accessibility baseline is met
- Examples include real usage patterns
- Version bump matches change impact
Output
- Publish checklist with version recommendation
- Registry entry metadata template
- Migration notes (if breaking changes exist)
微信扫一扫