sync-claude
Installation
SKILL.md
Claude Documentation Sync
Validate all Claude-related documentation before commits. Default mode is changed (branch-scoped); use full for exhaustive validation.
Execution Flow
Phase 1: Discovery
Full mode: Find all Claude docs in repository:
**/CLAUDE.md(excluding.terragrunt-cache/,.terragrunt-stack/).claude/skills/*/SKILL.md.claude/skills/*/references/*.md
Changed mode: Analyze branch diff:
- Get changed files:
git diff --name-only origin/main...HEAD - Find directly modified Claude docs
- Find docs that reference changed paths (smart detection)