gza-docs-review
Review documentation for accuracy, completeness, and missing information that users may need
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Review documentation for accuracy, completeness, and missing information that users may need
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Review changes on current branch and output a structured review. Optionally post to PR with --pr flag, or apply non-blocking follow-ups inline with --apply-followups.
Run an interactive code-only review for a gza task's implementation branch and produce structured review output compatible with gza-task-improve
Check the implementation against the behavior specs in specs/behavior/. Reports where the code diverges from intended behavior — each divergence is either a code bug or a spec gap. The behavior spec is the source of truth; this skill never edits code or the spec.
Check the behavior spec set for coherence, ownership boundaries, and plain-language discipline without editing the spec or the code
Turn the recurring `watch` stuck-task pile into (1) a diagnosis of why each class is stuck, (2) the existing stuck rows actually cleared now, and (3) systemic prevention so it does not recur. Snapshots watch/incomplete/queue, buckets stuck tasks by failure class, dedups against already-tracked `system` work, unsticks each row by its clearing action (drop moot/dead/stale, spawn follow-up, hand review-loop rows to /gza-task-fix), then ranks and files `system`-tagged prevention fixes by blast radius (cascade-preventer first). Never merges, retries, resumes, deletes branches, or edits code.
Triage `gza incomplete` rows — classify each unresolved merge-unit lineage and recommend the right corrective action (drop moot leaves, escalate to fix, surface manual-resolve rebases, etc.). Never merges, retries, resumes, or deletes branches; never edits code.
| name | gza-docs-review |
| description | Review documentation for accuracy, completeness, and missing information that users may need |
| allowed-tools | Read, Glob, Grep, Write, Bash(ls:*), Bash(uv run *--help*), Bash(date +%Y%m%d%H%M%S) |
| version | 1.0.0 |
| public | false |
Evaluate project documentation for accuracy and identify gaps that potential users may encounter.
Find all documentation files:
ls docs/
Check for README and other root docs:
Map the documentation structure to understand what's documented.
Read key documentation files:
For CLI tools, compare docs against actual --help output:
uv run <tool> --help
uv run <tool> <command> --help
Check for:
For libraries/APIs:
Look for missing information users commonly need:
Installation & Setup:
Core Concepts:
Usage:
Troubleshooting:
Reference:
Organize findings into categories:
Things that are wrong or outdated:
Things users may need but aren't documented:
Non-critical improvements:
Write findings to reviews/<timestamp>-docs-review.md.
Generate timestamp:
date +%Y%m%d%H%M%S
Write the report to reviews/<timestamp>-docs-review.md with this structure:
# Documentation Review
## Overall Summary
[1-2 sentence summary]
## Accuracy Issues Found
| Issue | Location | Details |
|-------|----------|---------|
| Missing command X | config.md | CLI has `foo` but docs don't mention it |
## Missing Information
| Topic | Why Users Need It |
|-------|-------------------|
| Error handling | Users won't know how to recover from failures |
## Minor Issues
- [list of small fixes]
## Spec Review
### Outdated Specs
| Spec | Issue | Details |
|------|-------|---------|
### Possibly Aspirational
| Spec | Notes |
|------|-------|
### Specs OK
- [list of specs that match implementation]
## Recommendations
1. [Priority fix 1]
2. [Priority fix 2]
Based on patterns across projects, commonly missing items:
Review feature specs in specs/features/ for accuracy against the current
implementation. (Behavior specs in specs/behavior/ are prescriptive requirements checked
separately by gza-behavior-check; do not review them here.)
Specs can be forward-looking (describing planned features) or outdated (describing old behavior). Use this heuristic:
When in doubt, flag it with a note that it "may be aspirational."
ls specs/features/
For each spec file:
Look for:
src/foo/bar.py but file is gone or moved--old-flag but CLI uses --new-flagAdd a "Spec Review" section to your report:
### Spec Review
#### Outdated Specs
| Spec | Issue | Details |
|------|-------|---------|
| task-resume.md | Wrong file path | References `src/gza/resume.py` but logic is now in `runner.py` |
#### Possibly Aspirational (needs human review)
| Spec | Notes |
|------|-------|
| beads-integration.md | Describes beads integration but no beads code found - may be planned |
#### Specs OK
- task-chaining.md - matches implementation
- docker-testing.md - matches implementation