Best for
- Use when auditing documentation, checking for stale ADRs/PRDs, or validating rule frontmatter structure.
laurigates/claude-plugins/code-quality-plugin/skills/code-docs-quality/SKILL.md
Analyze docs quality across PRDs, ADRs, PRPs, CLAUDE.md, .claude/rules/. Use when auditing documentation, checking for stale ADRs/PRDs, or validating rule frontmatter structure.
Decision brief
Analyze docs quality across PRDs, ADRs, PRPs, CLAUDE. md, .
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/laurigates/claude-plugins --skill "code-quality-plugin/skills/code-docs-quality"Inspect the Agent Skill "code-docs-quality" from https://github.com/laurigates/claude-plugins/blob/5de06622d8def8c36f7f39d980300aaa15af4357/code-quality-plugin/skills/code-docs-quality/SKILL.md at commit 5de06622d8def8c36f7f39d980300aaa15af4357. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Create a structured todo list for tracking the analysis:
Check against CLAUDE.md standards: - Should guide AI assistants on how to work with the codebase - Include project structure explanation - Reference key rules and conventions - Point to additional documentation (ADRs, rules) - Use tables for quick reference - Keep focused and co…
For each rule file in .claude/rules/:
Naming Convention: - Format: NNNN-kebab-case-title.md (e.g., 0001-plugin-architecture.md) - Sequential numbering - Descriptive titles
Frontmatter (if using Blueprint methodology):
Permission review
The documentation asks the agent to run terminal commands or scripts.
git log --since="6 months ago" --oneline -- docs/ .claude/ CLAUDE.md 2>/dev/null || echo "Not a git repo or no history"The documentation asks the agent to run terminal commands or scripts.
git log -1 --format="%ai %s" -- CLAUDE.md 2>/dev/null || echo "No git history"The documentation asks the agent to read local files, directories, or repositories.
If unable to read file → note permission/access issuesEvidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 95/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 53 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Analyze and validate documentation quality for a codebase, ensuring PRDs, ADRs, PRPs, CLAUDE.md, and .claude/rules/ are up to standards and current.
| Use this skill when... | Use something else instead when... |
|---|---|
| Auditing PRD/ADR/PRP/CLAUDE.md/rules for staleness, frontmatter, structure | Reviewing source code quality and architecture → code-review |
| Scoring whether CLAUDE.md still matches recent code changes | Detecting unused/dead code in source → code-dead-code |
Validating .claude/rules/ markdown structure and metadata | Refactoring source modules → code-refactor |
| Cataloging missing or orphaned ADRs / PRDs | Auditing dependencies and licensing → code-dep-audit |
$1 (defaults to current directory if not specified)find . -path '*/.claude/blueprints' -maxdepth 2 -type dfind . -maxdepth 1 -name 'CLAUDE.md' -type ffind . -path '*/.claude/rules/*' -maxdepth 3 -name '*.md'find . -path '*/docs/adr/*' -maxdepth 3 -name '*.md'find . -path '*/docs/adrs/*' -maxdepth 3 -name '*.md'find . -path '*/docs/prds/*' -maxdepth 3 -name '*.md'find . -path '*/.claude/blueprints/prds/*' -maxdepth 4 -name '*.md'find . -path '*/docs/prps/*' -maxdepth 3 -name '*.md'find . -path '*/.claude/blueprints/prps/*' -maxdepth 4 -name '*.md'$1: Path to analyze (defaults to current directory)Perform a comprehensive documentation quality analysis using the following methodology:
Create a structured todo list for tracking the analysis:
- Analyze CLAUDE.md structure and quality
- Check .claude/rules/ directory and standards
- Validate ADRs (Architecture Decision Records)
- Validate PRDs (Product Requirements Documents)
- Validate PRPs (Product Requirement Prompts)
- Check documentation freshness and git history
- Generate quality report with recommendations
CLAUDE.md exists at project root---
created: YYYY-MM-DD
modified: YYYY-MM-DD
reviewed: YYYY-MM-DD
---
Completeness: Does it provide clear project context?
Clarity: Is it well-organized and readable?
Accuracy: Check for outdated information
Check against CLAUDE.md standards:
.claude/rules/ directory existsFor each rule file in .claude/rules/:
Required Frontmatter:
---
created: YYYY-MM-DD
modified: YYYY-MM-DD
reviewed: YYYY-MM-DD
name: docs-quality-check
---
Content Standards:
docs/adrs/ or docs/adr/ existsFor each ADR, verify:
Naming Convention:
NNNN-kebab-case-title.md (e.g., 0001-plugin-architecture.md)Required Sections (MADR format):
# ADR-NNNN: Title
**Date**: YYYY-MM
**Status**: Accepted | Superseded | Deprecated
**Deciders**: [who made the decision]
## Context
[The issue motivating this decision]
## Decision
[The change being proposed or made]
## Consequences
[What becomes easier or harder]
docs/prds/ or .claude/blueprints/prds/ existsFor each PRD, verify:
Frontmatter (if using Blueprint methodology):
---
created: YYYY-MM-DD
modified: YYYY-MM-DD
reviewed: YYYY-MM-DD
status: Draft | Active | Implemented | Archived
name: docs-quality-check
---
Required Sections:
docs/prps/ exists (Blueprint methodology)For each PRP, verify:
Required Sections:
For all documentation:
modified frontmatter dates with git historyUse git to check activity:
# Check recent commits affecting docs
git log --since="6 months ago" --oneline -- docs/ .claude/ CLAUDE.md 2>/dev/null || echo "Not a git repo or no history"
# Check when documentation was last touched
git log -1 --format="%ai %s" -- CLAUDE.md 2>/dev/null || echo "No git history"
Generate a summary table:
## Documentation Inventory
| Document Type | Status | Count | Issues |
|---------------|--------|-------|--------|
| CLAUDE.md | ✅/❌ | 1 | [list issues] |
| .claude/rules/ | ✅/❌ | N files | [list issues] |
| ADRs | ✅/❌ | N files | [list issues] |
| PRDs | ✅/❌ | N files | [list issues] |
| PRPs | ✅/❌ | N files | [list issues] |
Calculate an overall quality score:
| Category | Score (0-10) | Notes |
|---|---|---|
| Structure | X | File organization, naming |
| Completeness | X | Required sections present |
| Freshness | X | Recent updates, git sync |
| Standards Compliance | X | Frontmatter, format |
| Content Quality | X | Clarity, specificity |
| Overall | X | Average score |
Rating Guide:
Categorize findings:
Critical Issues (must fix):
Warnings (should fix):
Suggestions (nice to have):
For each issue, provide specific guidance:
## Recommendations
### Immediate Actions
1. [ ] Fix [specific issue] in [file]
- **Why**: [reason]
- **How**: [specific steps]
- **Command**: [if applicable]
2. [ ] Update [document]
- **Why**: [reason]
- **How**: [specific steps]
### Maintenance Tasks
1. [ ] Review and update stale documents:
- [file1] - last modified [date]
- [file2] - last modified [date]
2. [ ] Improve documentation coverage:
- [ ] Document [undocumented decision]
- [ ] Create ADR for [architectural choice]
### Best Practices
- Run `/code:docs-quality` monthly
- Update `modified` dates when editing docs
- Review `reviewed` dates quarterly
- Use `/blueprint:adr` for new architecture decisions
- Use `/blueprint:prd` for new features
Show a clear, concise summary:
📊 Documentation Quality Report
═══════════════════════════════
Overall Score: X/10 ([Excellent/Good/Fair/Poor/Critical])
✅ Strengths:
- [strength 1]
- [strength 2]
⚠️ Issues Found:
- [issue 1]
- [issue 2]
📋 Recommendations:
- [top recommendation 1]
- [top recommendation 2]
See full report below for details.
Present the complete analysis with:
Help the user understand next steps:
/blueprint:init/blueprint:adr/blueprint:prd/configure:docsUse clear markdown formatting:
Remember: The goal is to help users maintain high-quality, current documentation that serves both human developers and AI assistants effectively.
Frequently asked questions
Analyze docs quality across PRDs, ADRs, PRPs, CLAUDE. md, .
The source record exposes this install command: npx skills add https://github.com/laurigates/claude-plugins --skill "code-quality-plugin/skills/code-docs-quality". Inspect the command and pinned source before running it.
Static rules flagged exec-script, read-files in the source; the page lists the matching lines and excerpts.
Alternatives
enuno/unifi-mcp-server
Specialized guide for adding new MCP tools to the UniFi MCP Server following project standards, UniFi API patterns, and test-driven development practices. Use when implementing new UniFi Network Controller features as MCP tools.
NintendaDev/unikit-ai
Generate and maintain the project's TECHNICAL documentation from its codebase — scans the project structure, tech stack, and module boundaries, then writes a lean README landing page plus detailed topic pages (architecture, modules, setup, build, APIs), only the docs that are relevant. Use whenever the user wants to create, update, or validate documentation of the CODE or the project itself, e.g. "generate documentation", "create docs", "write the README", "update the project docs", "document th
vasilyu1983/AI-Agents-public
Scans public GitHub repos for agent skills, dev practices, and code patterns. Use when enriching skills, setting team policy, or researching a build domain.
SerendipityOneInc/ZooData-Skills
API endpoint reference for the ZooData data platform: the 12 commerce endpoints plus 10 keyword-intelligence endpoints (categories, markets, products, competitors, realtime ASIN, AI review analysis, raw reviews, price band, brand, history, and the keyword detail/trend/extends/search/ market-profile/product-traffic/competitor-keywords/traffic-profile/ traffic-timeline family) — their inputs/outputs, parameter quirks, Quick Start (auth, base URL), how credits are tracked (meta.creditsConsumed), an