| name | component-review |
| description | Review a Kiso component for quality and consistency. Runs the 12-point checklist against shadcn source, design system rules, and deliverables. Use on a PR, branch, or working directory. |
Component Review
Review a Kiso component against the established quality standards.
Instructions
-
Read project/component-review.md — this is the authoritative checklist.
It contains the 12-point review, common mistakes, and report format.
-
Identify the component to review:
- If given a PR number:
gh pr diff {N} to read the changes
- If on a branch: review the files directly
- If given a component name: find its files in the codebase
-
Read the shadcn source for comparison:
vendor/shadcn-ui/apps/v4/registry/new-york-v4/ui/{name}.tsx
-
Run every check in the checklist. Report PASS or FAIL with specific details.
-
Run lint and tests:
bundle exec standardrb --check lib/kiso/themes/{name}.rb
bundle exec rake test
npm run lint && npm run fmt:check
npm run test:unit
npm run test:e2e
-
Report findings using the table format from project/component-review.md.
-
If empowered to fix issues: make the changes, run lint/tests, and commit
with fix: address review feedback for {ComponentName}.