Agent skill
docs-check
Analyze git diff to identify code changes requiring documentation updates. Categorizes changes (database/schema, API endpoints, components, configuration, authentication) and suggests relevant documentation files to review. Use when: (1) After making code changes, (2) Before committing significant changes, (3) When adding new features or modifying APIs, (4) During PR preparation, (5) When working with database schemas, API routes, components, or configuration files, (6) To ensure documentation stays synchronized with code changes, (7) For documentation sync and maintenance, or (8) For pre-commit documentation checks. Triggers: check docs, docs check, documentation check, update docs, sync documentation, what docs need updating, check if docs are up to date, after code changes, before committing.
Install this agent skill to your Project
npx add-skill https://github.com/LukasStrickler/ai-dev-atelier/tree/main/content/skills/docs-check
Metadata
Additional technical details for this skill
- author
- ai-dev-atelier
- version
- 1.0
SKILL.md
Documentation Check
Tools
ada::docs:check- Analyzes git diff and suggests documentation updates
What It Detects
The tool categorizes changes and suggests relevant documentation files:
- Database/Schema changes → suggests
.docs/db/files - API changes → suggests
.docs/api/and.docs/workflow/files - Component/UI changes → suggests component documentation
- Configuration changes → suggests setup/install documentation
- Authentication changes → suggests auth documentation
- Test changes → suggests test documentation
- And more...
Workflow
-
Run check:
bash skills/docs-check/scripts/check-docs.sh(or--verbosefor details)- Analyzes git diff for code changes requiring documentation updates
-
Review output: Categorized changes with suggested documentation files
-
Validate structure: Read
references/documentation-guide.mdto verify existing docs follow standards -
Update documentation: Use
skills/docs-write/SKILL.mdworkflow, referencereferences/documentation-guide.mdfor requirements -
Verify: Re-run check until all suggestions addressed
Integration with Other Skills
- Run after
ada::code-reviewto check if reviewed changes need documentation - Run before
ada::code-qualityfinalization to ensure docs are updated with code - Use during PR preparation to ensure documentation is complete
Examples
Example 1: Basic Usage
bash skills/docs-check/scripts/check-docs.sh
Example 2: Verbose Mode
bash skills/docs-check/scripts/check-docs.sh --verbose
References
REQUIRED READING: Always load references/documentation-guide.md to:
- Validate existing documentation - Check if suggested docs follow correct structure, style, and alignment
- Guide updates - Reference standards when writing or updating documentation
The guide contains all standards, examples, patterns, and requirements. Do not make assumptions about documentation format, style, or structure - always reference the guide.
- Documentation Guide:
references/documentation-guide.md- REQUIRED: Complete documentation standards, style, structure, and examples. Load this file to validate existing docs and guide updates. - docs-write skill:
skills/docs-write/SKILL.md- Complete workflow for writing/updating documentation
Output
The tool outputs:
- Changed code files organized by category
- Suggested documentation files to review
- Guidance on what needs to be updated
Best Practices
- Run this check before committing significant changes
- Always load
references/documentation-guide.mdto validate documentation structure and alignment - Verify existing documentation follows guide standards (style, structure, format) - not just detect what needs updating
- Review the Documentation Guide to understand what changes require documentation
- Update documentation in the same PR as code changes
- Fix structure/alignment issues when updating content
- Use the verbose mode for more detailed information
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
resolve-pr-comments
Resolve bot review comments (CodeRabbit, Copilot, Gemini) on GitHub PRs using subagents. Use when: (1) User asks to 'review PR comments' or 'resolve PR comments', (2) User says 'work through PR N comments' or 'handle bot comments', (3) Need to triage CodeRabbit/Copilot/Gemini review comments, (4) Processing PR feedback at scale, (5) Want to see what's already fixed vs still pending. NOT for: creating PRs, reviewing code yourself, writing new reviews. Triggers: review PR comments, resolve PR comments, work through PR comments, handle bot comments, process CodeRabbit comments, triage PR feedback, fix PR review issues, resolve bot comments, pr comment resolver.
tdd
Strict Red-Green-Refactor workflow for robust, self-documenting code. Discovers project test setup via codebase exploration before assuming frameworks. Use when: (1) Implementing new features with test-first approach, (2) Fixing bugs with reproduction tests, (3) Refactoring existing code with test safety net, (4) Adding tests to legacy code, (5) Ensuring code quality before committing, (6) When tests exist but workflow unclear, or (7) When establishing testing practices in a new project. Triggers: test, tdd, red-green-refactor, failing test, test first, test-driven, write tests, add tests, run tests.
use-graphite
Manage stacked PRs with Graphite CLI (gt) instead of git push/gh pr create. Auto-detects Graphite repos and blocks conflicting commands with helpful alternatives. Use when: (1) About to run git push or gh pr create in a Graphite repo, (2) Creating a new branch for a feature, (3) Submitting code for review, (4) Large changes that should be split into reviewable chunks, (5) Hook blocks your git command and suggests gt equivalent. NOT for: repos not initialized with Graphite, git add/commit/status/log. Triggers: git push blocked, gh pr create blocked, create branch, submit PR, stacked PRs, split large PR, gt create, gt submit, graphite workflow.
git-commit
Write clear git commits with Conventional Commits format. Detects project conventions from history and config. Guides commit granularity. Use when: (1) Completing working code, (2) Code builds and tests pass, (3) Ready to save, (4) Before pushing, (5) After review feedback. Triggers: automatically when finishing commitable work that builds and passes tests.
code-review
Review code changes using CodeRabbit CLI - supports uncommitted files (task mode) or all PR files vs main branch (pr mode). Catches bugs, security issues, and code quality problems before committing or when reviewing pull requests. Use when: (1) Reviewing uncommitted changes before committing (task mode), (2) Reviewing all changed files in a PR against main branch (pr mode), (3) Working on subtasks and want to check progress, (4) Need feedback on work-in-progress code, (5) Preparing PR for merge, (6) When CodeRabbit review is needed, (7) For bug detection and security scanning, or (8) For automated code quality assessment. Triggers: review code, check code quality, review changes, code review, review PR, check for bugs, security scan, review uncommitted, finalize code, pre-commit review.
image-generation
Generate, edit, and upscale AI images. Use when creating visual assets for apps, websites, or documentation. FREE Cloudflare tier for iterate generation (~96/day), Fal.ai for paid tiers. Four quality tiers (iterate/default/premium/max). Supports text specialists, multi-ref editing, SVG, background removal. Triggers: generate image, create image, edit image, upscale, logo, picture of, remove background.
Didn't find tool you were looking for?