zeeshansultan/docgov/stale
Claude Code and agent skill by zeeshansultan/docgov
- community
Checking that the SKILL.md file is still in the repository.
Detect documentation drift — implementation changed but documentation did not, documentation changed but implementation did not, machine contracts ahead of their derived docs, and semantic staleness. Use for "are my docs still true", before a release, or after a large change.
Install
npx vskill@latest install zeeshansultan/docgov/staleSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as zeeshansultan/docgov/stale.
Detect documentation drift
Deterministic drift report
!docgov stale --json --compact $ARGUMENTS 2>&1 | head -c 14000
What this report is, and is not
The findings above are facts: a document claims to describe code that changed while the document did not, or a specification changed with no corresponding implementation change. Those are decided from the diff and the graph.
What the report does not claim is that the prose actually contradicts the new code. That is your job, and it needs the diff.
Confirm each finding
Run docgov inspect stale --json for review packets: each finding comes with the relevant diff hunks and the document excerpt, so you read kilobytes instead of the repository.
For each packet decide one of three things and say which:
- Real drift. The document states something the code no longer does. Quote the
document's claim and the code that contradicts it, then make the edit. Be specific — "the document says the offline grace period is 7 days; validator.ts:42 now uses 30" is actionable, "the licensing docs look stale" is not.
- Not drift. The code changed in a way the document does not speak to. Say so in one
line and move on. Most findings are this, and saying so quickly is the valuable part.
- Reverse drift. The document is right and the code is wrong — the specification was
updated and the implementation never followed. This is the more dangerous direction, because the code ships. Flag it as an implementation gap, not a documentation task.
Invariants
If a finding carries invariants, check them specifically: an invariant the code now violates is a higher-severity problem than a stale sentence, and it is the one thing here that can be objectively wrong.
Staleness
The staleness array scores risk from what changed around a document, not from its age. A document untouched for two years with no implementation churn is not stale. Only report entries whose signals you can explain.
If a finding is wrong
docgov ignore DRIFT-xxxxx --reason "..." [--expires YYYY-MM-DD]. It stays visible in every report. Suppress the finding, never the rule.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/stale/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
- Grok Build (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/zeeshansultan/docgov/stale)