name: component-create description: Build a Kiso component from scratch. Reads shadcn/Nuxt UI sources, creates theme module, ERB partials, Lookbook previews, docs, E2E tests. Use when building a new component or picking up where a previous attempt left off.
Component Create
Build a Kiso component following the established workflow and quality standards.
Instructions
Read
project/component-creation.md— this is the authoritative guide. Follow every step: mandatory reading, naming rules, implementation steps, Lookbook preview rules, and the quality checklist.If given an issue number, read the issue with
gh issue view Nto get the component name and any specific requirements.Work through the implementation steps in order. The guide contains code templates for theme modules, ERB partials, Lookbook previews, and E2E tests.
Before finishing, run through the quality checklist at the bottom of
project/component-creation.md. Every item must pass.Run lint and tests:
bundle exec standardrb --fix npm run lint && npm run fmt bundle exec rake test npm run test:unit npm run test:e2e