You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every PR that touches skill files needs manual verification that changes are synced across .claude/skills/, templates/skills/, and skills/. This currently requires ~6 separate diff/grep commands during QA.
Origin: During QA for #484, the skills/testgen/SKILL.md file was found to be 575 lines while .claude/skills/testgen/SKILL.md was 713 lines — a pre-existing divergence that was only caught by adversarial manual review.
Desired Behavior
A single command checks all three directories for sync:
Activity
admarble commentedon Apr 12, 2026
Spec Plan — #498: Three-directory skill sync verification script
AC Checklist
scripts/dev/check-skill-sync.tscompares files across all three directories--fixflag copies from.claude/skills/to other two dirs--fix, verify files match afterNon-Goals
Implementation Plan
scripts/dev/check-skill-sync.ts— TypeScript script following existing pattern (process.argv, no CLI framework).claude/skills/*/subdirs, find matching paths intemplates/skills/andskills/--fixmode — Copy from.claude/skills/to other two dirs using fs.copyFileSyncDesign Review
scripts/dev/check-skill-sync.ts— dev tooling layer, same as cleanup-worktree.shscripts/prepare-marketplace.ts— direct process.argv, FS operations, exit codesdiff?" — hash comparison is faster for equality check, and we need structured output for QA integration (Add QA skill check for three-directory skill sync #499)Recommended Workflow
Phases: exec → qa
Quality Loop: disabled
Reasoning: Well-defined CLI script, 5 clear ACs, single file output
feat(#498): add three-directory skill sync verification script
feat(#498): add three-directory skill sync verification script (#519)