evanfang0054/agent-harness/documentation-sync
Claude Code and agent skill by evanfang0054/agent-harness
- community
Checking that the SKILL.md file is still in the repository.
Use after code changes, before PR or merge. Sync README/ARCHITECTURE/CHANGELOG/CONTRIBUTING with the diff. Trigger: 'sync docs'.
Install
npx vskill@latest install evanfang0054/agent-harness/documentation-syncSKILL.md
The same SKILL.md was published earlier as evanfang0054/agent-harness/documentation-sync.
Documentation Sync
Overview
Documentation drift is silent technical debt. Code changes without doc updates create confusion.
Core principle: Every code change that affects behavior should reflect in documentation.
Announce at start: "I'm using the documentation-sync skill to ensure docs match the code."
When to Use
Proactively invoke this skill:
- After completing a feature branch (before
finishing-a-development-branch) - When asked to "sync docs", "update documentation", "post-ship docs"
- After merging a PR (to catch missed updates)
- When documentation seems stale
Suggested integration point: Between verification and PR creation in the development workflow.
The Process
Step 1: Gather the Diff
Save the list of changed files and understand what changed.
Step 2: Inventory Documentation Files
Scan the project for documentation files:
Read each documentation file to understand current content.
Step 3: Cross-Reference Analysis
For each documentation file, analyze:
| Check | Question | |
|---|---|---|
| Accuracy | Does any statement contradict the new code? | |
| Completeness | Are new features/APIs/configs documented? | |
| Examples | Do code examples still work? | |
| References | Are file paths, function names, class names still correct? | |
| Version | Does VERSION file need update? |
Build a change list:
Step 4: Classify Changes
Automatic updates (do directly):
- Factual corrections clearly from the diff
- Adding items to existing tables/lists
- Updating file paths, function names, class names
- Fixing clearly outdated examples
Ask before updating:
- Narrative or philosophy changes
- Security-related documentation
- Large rewrites or removals
- Cross-doc contradictions that require judgment
- VERSION bump decisions
- New CHANGELOG entries (wording)
Step 5: Execute Updates
For each file that needs updates:
- Read current content
- Make factual updates directly
- For judgment calls, present options:
Step 6: Verify and Report
After updates:
Present summary:
Quick Reference
| Doc Type | Auto-Update | Ask First | |
|---|---|---|---|
| README feature lists | Yes | - | |
| README examples | Yes | - | |
| README philosophy/intro | - | Yes | |
| ARCHITECTURE structure | Yes | - | |
| ARCHITECTURE decisions | - | Yes | |
| CHANGELOG entries | - | Yes (wording) | |
| VERSION bumps | - | Yes | |
| File paths/names | Yes | - | |
| Security sections | - | Yes |
Red Flags
Never:
- Remove documentation without explicit approval
- Change the project's voice or tone without asking
- Update security docs without review
- Assume you understand intent better than the author
Always:
- Read the full diff before making assumptions
- Preserve existing formatting style
- Keep CHANGELOG in the project's existing format
- Ask when uncertain
Integration
Called before:
- finishing-a-development-branch - Sync docs before PR/merge
- verification-before-completion - Docs are part of completeness
Works with:
- requesting-code-review - Reviewer should check doc accuracy
Common Mistakes
Missing implicit documentation:
- Problem: Config files, env vars, CLI flags changed but not documented
- Fix: Check for any user-facing changes, not just code
Over-updating:
- Problem: Rewriting docs that don't need changes
- Fix: Only update what the diff actually affects
Format inconsistency:
- Problem: New entries don't match existing style
- Fix: Follow the exact format already used in each file
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.dsh/agent-preset/skills/documentation-sync/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/evanfang0054/agent-harness/documentation-sync)