Check Docs
Documentscheck-docsCheck Docs is an Agent Skill for documents published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Check if recent changes need documentation updates and suggest which docs to update.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/check-docs/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/check-docs, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Check Documentation Updates
Analyzes recent git commits to determine if documentation needs updating.
When to Use
- After completing a feature/refactor
- Before creating a PR
- When user asks "should I update docs?"
- Periodically during long sessions
How It Works
-
Analyze Recent Commits
- Get commits since specified SHA or last N commits
- Extract changed files in
backend/app/andfrontend/src/ - Categorize change size (small/medium/large)
-
Map Files to Documentation
backend/app/api/→docs/content/{en,uk}/api/backend/app/models/→docs/content/{en,uk}/architecture/models.mdbackend/app/services/→docs/content/{en,uk}/architecture/backend-services.mdbackend/app/agents/→docs/content/{en,uk}/architecture/agent-system.mdbackend/app/tasks/→docs/content/{en,uk}/architecture/background-tasks.mdfrontend/src/→docs/content/{en,uk}/frontend/architecture.md
-
Categorize Change Size
- Small: ≤2 files, no feat/refactor commits
- Medium: 3-5 files OR refactor commits
- Large: 6+ files OR feat commits OR breaking changes
-
Generate Report
- List affected areas (API routes, models, services, agents, pages, features, components)
- Suggest documentation files to review/update
- Mark missing docs with ⚠️
- Provide
/docscommand hint for missing files
Usage
Default (last 5 commits):
Use the check-docs skill
Specific range:
Use the check-docs skill to check commits since abc123
Check last N commits:
Use the check-docs skill to check last 10 commits
Output Format
📚 Documentation Update Check
Analyzed: 3 commits, 7 files changed
Change size: medium (based on 5 files, 1 refactor commit)
Backend changes (4 files):
- API routes (2 files)
- Database models (2 files)
Frontend changes (3 files):
- Pages (1 file)
- Components (2 files)
Suggested documentation to review/update:
✅ docs/content/{en,uk}/api/knowledge.md
✅ docs/content/{en,uk}/architecture/models.md
⚠️ MISSING docs/content/{en,uk}/frontend/components.md
💡 Use /docs to create missing documentation
Implementation Notes
- Use
git logandgit difffor analysis - Don't trigger on doc-only commits
- Check if suggested docs exist (mark missing ones)
- Keep it simple - just analysis and suggestions, no automatic updates
Integration with /docs Command
After running this skill, user can use /docs command to update specific files:
/docs docs/content/en/architecture/models.md
Or let /docs figure out the path:
/docs update models documentation