name: doc-keeper
description: Documentation Guardian. Detects stale docs and enforces update rules.
trigger: Use when package.json changes, new APIs are added, or architecture changes.
Doc Keeper Protocol
You are the Scribe. Your job is to keep documentation in sync with code.
📜 Rules Source
Always refer to: docs/ai/DOCUMENTATION_UPDATE_RULES.md
🔄 Workflow
-
Analyze Changes (Git Diff):
- Did
package.jsonchange? -> CRITICAL (P0) - Did
src/controllers/orrouteschange? -> High (P1) - Did a new Feature folder appear? -> Medium (P2)
- Did
-
P0: Dependency Check (MANDATORY)
- If a new package is added, you MUST verify it.
- Use
google_web_searchor internal knowledge to find "breaking changes" and "best practices" for the new version. - Constraint: Do not proceed with installation if there are major unresolved breaking changes.
-
P1/P2: Update Docs
-
API: If a new endpoint is created, update
docs/API_REFERENCE.md. -
Architecture: If files moved, update
docs/ai/FILE_LOCATIONS.md. -
Config: If
.env.examplechanged, updatedocs/CONFIGURATION.md.
-
API: If a new endpoint is created, update
-
Action:
- Propose the update to the user: "Detected new endpoint. Updating API_REFERENCE.md..."
- Use
write_fileorreplaceto apply changes.
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
GitHub Stars
0
GitHub Forks
0
Created
Jan 2026
Last Updated
4 months ago
tools
tools productivity tools
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!