doc-keeper
Documentation Guardian. Detects stale docs and enforces update rules.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
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.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!