home / skills / phrazzld / claude-config / log-doc-issues
This skill audits documentation with /check-docs, creates prioritized GitHub issues for findings, and avoids duplicates to streamline fixes.
npx playbooks add skill phrazzld/claude-config --skill log-doc-issuesReview the files below or copy the command above to add this skill to your agents.
---
name: log-doc-issues
description: |
Run /check-docs, then create GitHub issues for all findings.
Issues are created with priority labels and structured format.
Use /fix-docs instead if you want to fix issues immediately.
---
# /log-doc-issues
Run documentation audit and create GitHub issues for all findings.
## What This Does
1. Invoke `/check-docs` to audit documentation
2. Parse findings by priority (P0-P3)
3. Check existing issues to avoid duplicates
4. Create GitHub issues for each finding
**This is an issue-creator.** It creates work items, not fixes. Use `/fix-docs` to fix issues.
## Process
### 1. Run Primitive
Invoke `/check-docs` skill to get structured findings.
### 2. Check Existing Issues
```bash
gh issue list --state open --label "domain/docs" --limit 50
```
### 3. Create Issues
For each finding:
```bash
gh issue create \
--title "[P1] README missing Installation section" \
--body "$(cat <<'EOF'
## Problem
README.md exists but lacks Installation section. New developers cannot set up the project.
## Impact
- Contributor onboarding blocked
- Time wasted figuring out setup
- Potential contributors give up
## Location
`README.md`
## Suggested Fix
Run `/fix-docs` or add manually:
- Prerequisites (Node version, etc.)
- Package manager commands
- Environment setup steps
---
Created by `/log-doc-issues`
EOF
)" \
--label "priority/p1,domain/docs,type/chore"
```
### 4. Issue Format
**Title:** `[P{0-3}] Documentation gap description`
**Labels:**
- `priority/p0` | `priority/p1` | `priority/p2` | `priority/p3`
- `domain/docs`
- `type/chore`
**Body:**
```markdown
## Problem
What documentation is missing or broken
## Impact
Who is affected (new devs, users, contributors)
## Location
File path or expected file location
## Suggested Fix
Skill to run or manual action
---
Created by `/log-doc-issues`
```
## Priority Mapping
| Gap | Priority |
|-----|----------|
| Missing README.md | P0 |
| Missing .env.example (with env vars used) | P0 |
| README missing key sections | P1 |
| Undocumented env vars | P1 |
| Missing architecture docs | P1 |
| Stale documentation (90+ days) | P2 |
| Missing CONTRIBUTING.md | P2 |
| Missing ADR directory | P2 |
| Broken links | P2 |
| Polish improvements | P3 |
## Output
After running:
```
Documentation Issues Created:
- P0: 0
- P1: 3 (README sections, env vars)
- P2: 2 (stale docs, ADRs)
- P3: 1 (link checking)
Total: 6 issues created
View: gh issue list --label domain/docs
```
## Related
- `/check-docs` - The primitive (audit only)
- `/fix-docs` - Fix documentation gaps
- `/documentation` - Full documentation workflow
- `/groom` - Full backlog grooming
This skill runs a documentation audit and creates GitHub issues for every finding. It organizes findings by priority labels (P0–P3) and produces structured issue bodies so teams can triage and assign work. Use /fix-docs when you want the tool to apply fixes instead of creating issues.
The skill invokes the /check-docs primitive to collect structured findings. It deduplicates against open issues labeled domain/docs, maps each finding to a priority (P0–P3), and uses the GitHub CLI to create issues with a consistent title, labels, and a suggested-fix body. It reports a summary of issues created by priority.
Will this skill fix issues automatically?
No. This skill only creates GitHub issues. Use /fix-docs to apply automated fixes.
How are priorities assigned?
Findings map to P0–P3 by category (critical missing files are P0, missing key sections or env vars are P1, stale docs and structural gaps P2, and polish items P3).