Agent skill
docs-sync
Document Sync Check
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/documents/docs-sync-jasonmichaelbell78-creator-son
SKILL.md
Document Sync Check
Run the automated document template-instance synchronization validator.
What This Does
Executes npm run docs:sync-check to validate that:
- Template-derived documents are properly synchronized
- No placeholder content remains (7 patterns detected):
[e.g., ...]- example placeholders (CRITICAL)[X]- value placeholders (CRITICAL)[Project Name],[GITHUB_REPO_URL],[Repository],[Framework],[TODO]- generic placeholders (MAJOR)
- All relative links point to existing files
- Sync dates are recent (<90 days)
How It Works
The script reads docs/DOCUMENT_DEPENDENCIES.md to identify template-instance
pairs, then validates each instance for common sync issues.
Output
- Exit 0: All documents synced ✅
- Exit 1: Sync issues found ⚠️
- Exit 2: Error during check ❌
Flags:
--verbose- Show detailed line numbers (usenpm run docs:sync-check -- --verbose)--json- Output as JSON (usenpm run docs:sync-check -- --json)
Note: When using npm scripts, pass flags after -- separator.
When to Use
- Before executing multi-AI audits (ensure audit plans are synced)
- After updating templates (verify instances were updated)
- Quarterly validation (catch drift early)
- When creating new instances from templates
Example Output
🔍 Document Template-Instance Sync Check
Checked 6 template-instance pair(s)
✅ All documents are in sync
No placeholders, broken links, or stale sync dates found
Execute the check:
npm run docs:sync-check
If issues found, see docs/DOCUMENT_DEPENDENCIES.md for sync protocols.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?