Skip to content

feat(skills): add component-merge-review and registry-rebuild-verify pre-PR gates - #74

Merged
pras75299 merged 1 commit into
mainfrom
feat/component-merge-review-skill
Jun 1, 2026
Merged

pras75299 merged 1 commit into
mainfrom
feat/component-merge-review-skill

Conversation

@pras75299

@pras75299 pras75299 commented Jun 1, 2026 •

Copy link
Copy Markdown
Owner

Type

  • Build / scripts / CI (agent skills)

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/cn merge, stale catalog metadata, .hallmark duplicates, 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 touching registry/.
  • registry-rebuild-verify — wraps the pnpm build:registry → diff generated artifacts → confirm empty/expected-diff loop. Encodes the acceptance test ('generated output is a deterministic function of registry/ source') so agents stop hand-eyeballing registry.json.

Both follow the existing add-component skill convention (.claude/skills/<name>/SKILL.md) and reference only real package scripts. .gitignore allow-list entries added so they're version-tracked like add-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).
  • Both skills auto-discovered by Claude Code (appear in the available-skills list).

Summary by CodeRabbit

  • Chores
    • Added internal development workflow documentation for component review and registry verification processes.
    • Updated configuration to support new development tools and skill modules.

@vercel

vercel Bot commented Jun 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
uniqueui-platform Ready Ready Preview, Comment Jun 1, 2026 11:27am

@coderabbitai

coderabbitai Bot commented Jun 1, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ddc1273a-8da0-458a-9647-a6709aeb4e3e

📥 Commits

Reviewing files that changed from the base of the PR and between 9ee5817 and 82fe322.

📒 Files selected for processing (3)
  • .claude/skills/component-merge-review/SKILL.md
  • .claude/skills/registry-rebuild-verify/SKILL.md
  • .gitignore

📝 Walkthrough

Walkthrough

This 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 .gitignore is updated to version-control both skill files.

Changes

Review Workflow Skills

Layer / File(s) Summary
Component merge review skill
.claude/skills/component-merge-review/SKILL.md
Pre-PR gate workflow requiring per-component quality checks (client directives, className+cn patterns, motion/reduced-motion behavior, SSR/hydration safety, accessibility, and metadata/changelog alignment), plus recurring CodeRabbit findings and manifest verification.
Registry rebuild verification skill and infrastructure
.claude/skills/registry-rebuild-verify/SKILL.md, .gitignore
Skill documenting registry rebuild artifact validation and determinism verification (pnpm build:registry, pnpm registry:validate). Gitignore updated to allow committing both new skill subdirectories.

Estimated Code Review Effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 New workflows bloom in .claude/ today,
Gates for components and registry sway,
Quality checklists keep errors at bay,
Artifacts rebuild without delay! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title directly and clearly summarizes the main change: adding two new pre-PR gate skills (component-merge-review and registry-rebuild-verify) to the codebase.
Description check ✅ Passed The PR description includes the required Type checkbox (Build/scripts/CI), a clear Summary explaining the implementation of section H with both skills described, and a Verification section documenting the testing performed.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/component-merge-review-skill

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@pras75299
pras75299 merged commit 63e3bb3 into main Jun 1, 2026
12 checks passed

This branch was successfully deployed

1 active deployment
Preview — 82fe3222 Deployed Jun 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant