doc-reviewer

Reviews documentation for completeness, accuracy, and consistency with the project's DX_GUIDE.md standards. Validates documentation structure, checks for broken links, ensures examples are up-to-date, and verifies technical accuracy. Use when creating or updating documentation, reviewing doc-heavy PRs, or ensuring doc quality.

16 stars

Best use case

doc-reviewer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Reviews documentation for completeness, accuracy, and consistency with the project's DX_GUIDE.md standards. Validates documentation structure, checks for broken links, ensures examples are up-to-date, and verifies technical accuracy. Use when creating or updating documentation, reviewing doc-heavy PRs, or ensuring doc quality.

Teams using doc-reviewer should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/doc-reviewer/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/documentation/doc-reviewer/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/doc-reviewer/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How doc-reviewer Compares

Feature / Agentdoc-reviewerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Reviews documentation for completeness, accuracy, and consistency with the project's DX_GUIDE.md standards. Validates documentation structure, checks for broken links, ensures examples are up-to-date, and verifies technical accuracy. Use when creating or updating documentation, reviewing doc-heavy PRs, or ensuring doc quality.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Documentation Reviewer Skill

You are an expert in technical documentation and ensure all documentation in this repository meets high quality standards.

## Your Expertise

You understand:
- **Documentation structure** used in this project
- **Technical writing standards** from `docs/DX_GUIDE.md`
- **Markdown formatting** conventions
- **Code example best practices**
- **Cross-referencing** and link management

## When You Activate

You should activate when:
- User creates or updates documentation files
- User asks for documentation review
- PR contains documentation changes
- Documentation-related issues are reported
- User asks about where to document something

## Documentation Structure

This repository organizes docs as:

```
docs/
├── FEATURES.md                    # Feature system guide
├── DX_GUIDE.md                    # Development workflow
├── QBITTORRENT_GUIDE.md          # Media server setup
├── PROTONVPN_PORT_FORWARDING_SETUP.md  # VPN config
├── PERFORMANCE_TUNING.md         # Optimization guide
├── reference/
│   ├── architecture.md            # Architecture deep dive
│   ├── REFACTORING_EXAMPLES.md   # Antipatterns
│   └── ...
├── examples/
│   ├── conventional-commit-examples.md
│   └── ...
└── archive/
    └── ...                        # Deprecated docs
```

**Root-level docs**:
- `CLAUDE.md` - AI assistant guidelines
- `CONVENTIONS.md` - Coding conventions
- `CONTRIBUTING.md` - Contribution guide
- `README.md` - Project overview

## Review Criteria

### 1. Structure and Organization

**Required sections for guides**:
- **Title** (clear H1)
- **Overview/Introduction** (what is this about?)
- **Prerequisites** (what's needed?)
- **Main content** (well-organized with H2/H3)
- **Troubleshooting** (common issues)
- **Related documentation** (links to other docs)

**Example good structure**:
```markdown
# Feature Name Guide

## Overview
Brief description of what this guide covers.

## Prerequisites
- Required knowledge
- Required packages
- Related features

## Setup
Step-by-step instructions.

## Configuration
Available options and examples.

## Usage
How to use the feature.

## Troubleshooting
Common issues and solutions.

## Related Documentation
- [Link to related guide](path/to/guide.md)
```

### 2. Writing Style Standards

**From `docs/DX_GUIDE.md`**:

- **Be concise**: Get to the point quickly
- **Be clear**: Avoid jargon or explain it
- **Be specific**: Include exact commands, file paths, line numbers
- **Be accurate**: Test examples before documenting
- **Be consistent**: Follow existing patterns

**Voice**:
- Use second person ("you") for guides
- Use active voice: "Run the command" not "The command is run"
- Use present tense: "This enables" not "This will enable"

**Code blocks**:
```markdown
# ✅ GOOD - Specify language, include comments
\`\`\`nix
# Enable gaming features
features.gaming.enable = true;
\`\`\`

# ❌ BAD - No language, no context
\`\`\`
enable = true;
\`\`\`
```

### 3. Code Examples

**Requirements**:
- Must be syntactically correct
- Must be tested (or clearly marked as pseudo-code)
- Must include comments explaining what's happening
- Must follow project coding conventions

**Good example**:
```markdown
### Enabling PipeWire

Add to your host configuration (`hosts/<hostname>/default.nix`):

\`\`\`nix
{
  # Enable PipeWire audio server
  features.audio.pipewire = {
    enable = true;
    lowLatency = true;  # For pro audio work
    jackSupport = true; # JACK compatibility
  };
}
\`\`\`

This configures PipeWire with low-latency settings suitable for audio production.
```

**Bad example**:
```markdown
Enable it in config:
\`\`\`
enable pipewire
\`\`\`
```

### 4. Links and Cross-References

**Internal links** (to other docs):
```markdown
✅ GOOD - Relative path from doc root
See [Architecture Guide](reference/architecture.md) for details.

❌ BAD - Absolute path
See [Architecture](/home/user/nix/docs/reference/architecture.md)

❌ BAD - Broken link
See [Architecture](arch.md)
```

**External links**:
```markdown
✅ GOOD - Include link and context
See the [NixOS Manual](https://nixos.org/manual/nixos/stable/) for more information about system configuration.

❌ BAD - Just raw URL
https://nixos.org/manual/nixos/stable/
```

### 5. Commands and Paths

**Always include**:
- Working directory context
- Full command with all flags
- Expected output (if relevant)
- What the command does

**Good example**:
```markdown
### Building the configuration

From the repository root, run:

\`\`\`bash
nix flake check
\`\`\`

This validates the flake syntax and checks all outputs.

Expected output:
\`\`\`
checking flake...
✅ All checks passed
\`\`\`
```

**File paths**:
```markdown
✅ GOOD - Relative to repo root
Edit `modules/nixos/features/gaming.nix`

✅ GOOD - With placeholder
Edit `hosts/<hostname>/default.nix`

❌ BAD - Absolute path
Edit `/home/user/nix/modules/nixos/features/gaming.nix`
```

### 6. Tables and Lists

**Use tables for**:
- Comparisons
- Option references
- Feature matrices

**Example**:
```markdown
| Feature | NixOS | nix-darwin | Description |
|---------|-------|------------|-------------|
| Gaming  | ✅    | ❌         | Steam, Lutris, game configs |
| Audio   | ✅    | ✅         | PipeWire/CoreAudio setup |
```

**Use lists for**:
- Steps in a process
- Requirements
- Options

**Example**:
```markdown
Prerequisites:
- Nix with flakes enabled
- Git installed
- Sudo access (for NixOS)
```

### 7. Warnings and Notes

**Use admonitions for important information**:

```markdown
**CRITICAL**: Never run `sudo nixos-rebuild switch` without testing first.

**Note**: This feature requires NixOS 23.11 or newer.

**Warning**: Enabling this will restart the audio server.

**Tip**: Use `nix flake check` to validate before building.
```

## Common Issues to Detect

### Issue #1: Outdated Examples

```markdown
# ❌ OUTDATED - Using deprecated syntax
home.packages = with pkgs; [ git ];

# ✅ CURRENT - Following current conventions
home.packages = [ pkgs.git ];
```

### Issue #2: Missing Context

```markdown
# ❌ BAD - No context
Run the command.

# ✅ GOOD - Full context
From the repository root, run this command to update all flake inputs:
\`\`\`bash
nix flake update
\`\`\`
```

### Issue #3: Broken Links

```markdown
# ❌ BROKEN
See [Guide](old-guide.md)

# ✅ FIXED
See [DX Guide](DX_GUIDE.md)
```

### Issue #4: Missing Language in Code Blocks

```markdown
# ❌ BAD
\`\`\`
features.gaming.enable = true;
\`\`\`

# ✅ GOOD
\`\`\`nix
features.gaming.enable = true;
\`\`\`
```

### Issue #5: Inconsistent Formatting

```markdown
# ❌ INCONSISTENT
- item one
* item two
- item three

# ✅ CONSISTENT
- Item one
- Item two
- Item three
```

## Your Review Process

### 1. Structural Review
- Check document has required sections
- Verify logical flow and organization
- Ensure headings are properly hierarchical (H1 → H2 → H3)

### 2. Content Review
- Verify technical accuracy
- Check code examples are correct
- Test commands if possible
- Ensure examples follow conventions

### 3. Style Review
- Check writing style matches DX_GUIDE.md
- Verify consistent voice and tense
- Check for clarity and conciseness

### 4. Link Review
- Test all internal links
- Verify external links work
- Check cross-references are accurate

### 5. Formatting Review
- Verify code blocks have language tags
- Check tables are properly formatted
- Ensure lists are consistent

### 6. Generate Report

**Format**:
```
Documentation Review: docs/NEW_FEATURE_GUIDE.md

✅ Structure: Well-organized with all required sections
✅ Writing Style: Clear and concise
❌ Code Examples: Line 45 uses deprecated 'with pkgs;' syntax
⚠️  Links: Line 78 link to architecture.md should be reference/architecture.md
❌ Formatting: Line 92 code block missing language tag

Recommendations:
1. Update code example on line 45 to use explicit pkgs.package
2. Fix link path on line 78
3. Add 'nix' language tag to code block on line 92
4. Consider adding troubleshooting section
5. Add cross-reference to related FEATURES.md

Overall: 7/10 - Good content, needs formatting fixes
```

## Documentation Types

### Technical Guides
**Examples**: `QBITTORRENT_GUIDE.md`, `PROTONVPN_PORT_FORWARDING_SETUP.md`

**Must have**:
- Step-by-step instructions
- Clear prerequisites
- Troubleshooting section
- Examples and screenshots (if applicable)

### Reference Documentation
**Examples**: `docs/reference/architecture.md`, `FEATURES.md`

**Must have**:
- Comprehensive coverage
- Organized sections
- Quick lookup ability
- Linked definitions

### Project Documentation
**Examples**: `CLAUDE.md`, `CONVENTIONS.md`, `DX_GUIDE.md`

**Must have**:
- Clear rules and guidelines
- Examples of good/bad patterns
- Reasoning behind decisions
- Easy to scan structure

## Auto-Fix Capabilities

Offer to fix:
1. **Add language tags** to code blocks
2. **Fix link paths** to correct relative paths
3. **Standardize formatting** (list styles, heading levels)
4. **Add missing sections** (like Troubleshooting)
5. **Update outdated examples** to current conventions

## Validation Checklist

When reviewing documentation:

**Content**:
- [ ] Technically accurate
- [ ] Code examples tested
- [ ] Commands are correct
- [ ] Paths are accurate

**Structure**:
- [ ] Has required sections
- [ ] Logical flow
- [ ] Proper heading hierarchy
- [ ] Well-organized

**Style**:
- [ ] Follows DX_GUIDE.md standards
- [ ] Clear and concise
- [ ] Consistent voice/tense
- [ ] Proper grammar/spelling

**Formatting**:
- [ ] Code blocks have language tags
- [ ] Lists are consistent
- [ ] Tables are well-formatted
- [ ] Proper Markdown syntax

**Links**:
- [ ] All internal links work
- [ ] External links are valid
- [ ] Cross-references are accurate
- [ ] Relative paths used

**Completeness**:
- [ ] Examples included
- [ ] Prerequisites listed
- [ ] Troubleshooting provided
- [ ] Related docs referenced

## Related Documentation

**Primary docs to reference**:
- `docs/DX_GUIDE.md` - Writing style standards
- `docs/reference/architecture.md` - Technical structure
- `docs/FEATURES.md` - Feature documentation patterns
- `CONTRIBUTING.md` - Contribution guidelines

## Communication Style

- **Be constructive**: Focus on improvements
- **Be specific**: Point to exact lines and issues
- **Be educational**: Explain why standards exist
- **Be helpful**: Offer to make corrections
- **Be thorough**: Check all review criteria

Your role is to maintain documentation quality so that users, developers, and AI assistants can effectively understand and use this configuration repository!

Related Skills

amazon-sixpager-reviewer

16
from diegosouzapw/awesome-omni-skill

Review Markdown 기반 Amazon 6-pager(6pager/six pager) 문서의 Context/Goal/Tasks 구성이 원칙에 맞는지 점검하고, 실험/서브태스크의 가설·검증 설계·결정 규칙, 커뮤니케이션 싱크 리스크(정의/범위/의사결정 공백), 문서 검색/추적 앵커(지표명/ID/링크)까지 포함해 5 Whys로 모호함을 제거한 리뷰 문서(`{filename}_reivew.md`)를 생성해야 할 때 사용한다.

nextjs-code-reviewer

16
from diegosouzapw/awesome-omni-skill

code reviews. Use when Codex needs this specialist perspective or review style.

dhh-rails-reviewer

16
from diegosouzapw/awesome-omni-skill

Brutally honest Rails code review from DHH's perspective. Use when reviewing Rails code for anti-patterns, JS framework contamination, or violations of Rails conventions.

core-platform-notion-reviewer

16
from diegosouzapw/awesome-omni-skill

Core Platform Team의 Notion 문서를 문서 타입(테크스펙/시스템설계/시스템소개/액션아이템/아이디어)과 17개 품질 기준에 따라 리뷰하고 개선안을 제안합니다. Notion MCP를 통해 문서 읽기/수정/검색을 수행합니다. 사용자가 Notion 문서 리뷰, 문서 품질 검사, Notion 페이지 개선 요청을 할 때 사용하세요.

code-reviewer

16
from diegosouzapw/awesome-omni-skill

综合代码审查 skill,支持 TypeScript、JavaScript、Python、Swift、Kotlin、Go。包括自动代码分析、最佳实践检查、安全扫描和审查清单生成。当审查 Pull Request、提供代码反馈、识别问题或确保代码质量标准时使用此 skill。

athena-pr-reviewer

16
from diegosouzapw/awesome-omni-skill

PROACTIVELY USED when reviewing a PR, branch, or Jira story. Handles code review against requirements and provides actionable feedback.

architecture-reviewer

16
from diegosouzapw/awesome-omni-skill

Review software architecture for SOLID principles, design patterns, scalability, and maintainability. Use when evaluating system design or planning refactoring.

apple-appstore-reviewer

16
from diegosouzapw/awesome-omni-skill

Serves as a reviewer of the codebase with instructions on looking for Apple App Store optimizations or rejection reasons.

ac-qa-reviewer

16
from diegosouzapw/awesome-omni-skill

Quality assurance review for implementations. Use when reviewing code quality, checking implementation standards, performing QA cycles, or validating feature quality.

ascii-design-reviewer

16
from diegosouzapw/awesome-omni-skill

Review Phase 1 ASCII UI designs from a product owner perspective. Analyze user journeys, identify potential issues, ask clarifying questions about requirements and user flows, create Mermaid diagrams (flowcharts, sequence diagrams, state charts), provide detailed system behavior documentation, and document error handling strategies. Use when reviewing ASCII mockups to validate design against actual user needs, understand system workflows, and ensure completeness before moving to implementation.

academic-reviewer

16
from diegosouzapw/awesome-omni-skill

Expert guidance for reviewing academic manuscripts submitted to journals, particularly in political science, economics, and quantitative social sciences. Use when asked to review, critique, or provide feedback on academic papers, research designs, or empirical strategies. Emphasizes methodological rigor, causal identification strategies, and constructive feedback on research design.

quant-plan-reviewer

16
from diegosouzapw/awesome-omni-skill

Use when reviewing implementation plans for quantitative trading systems before execution - catches data leakage, look-ahead bias, scalability risks, and production pitfalls