Repository navigation
feat(skills): add component-merge-review and registry-rebuild-verify pre-PR gates - #74
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR introduces two new pre-PR reviewer skill workflows for the UniqueUI registry. The component-merge-review skill establishes a quality gate for component changes, while registry-rebuild-verify ensures registry artifacts are deterministic. The ChangesReview Workflow Skills
Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Type
Summary
Implements section H of the backlog — the two suggested-but-unbuilt skills:
component-merge-review— pre-PR merge gate. Walks the section-G component quality checklist plus the recurring CodeRabbit findings (className/cnmerge, stale catalog metadata,.hallmarkduplicates, SSR/hydration safety, a11y), then runs the verification suite (build:registry,registry:validate,check:reduced-motion,test:repo,typecheck,lint). Makes the gate repeatable and reviewer-independent. Recurs on every PR touchingregistry/.registry-rebuild-verify— wraps thepnpm build:registry→ diff generated artifacts → confirm empty/expected-diff loop. Encodes the acceptance test ('generated output is a deterministic function ofregistry/source') so agents stop hand-eyeballingregistry.json.Both follow the existing
add-componentskill convention (.claude/skills/<name>/SKILL.md) and reference only real package scripts..gitignoreallow-list entries added so they're version-tracked likeadd-component(the.claude/skills/*rule otherwise ignores per-developer installs).Verification
pnpm test:repo— 66 passed (incl. agent-docs drift check; skills aren't tracked by it).Summary by CodeRabbit