Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

code-docs-quality

БесплатноБез исполняемых скриптовНе проверен

Analyze docs quality across PRDs, ADRs, PRPs, CLAUDE.md, .claude/rules/. Use when auditing documentation, checking for stale ADRs/PRDs, or validating rule…

laurigatesот laurigates★ 61 звезда на GitHub

Об этом скилле

Analyze and validate documentation quality for a codebase, ensuring PRDs, ADRs, PRPs, CLAUDE.md, and .claude/rules/ are up to standards and current.

When to Use This Skill

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

Context

  • Target path: $1 (defaults to current directory if not specified)
  • Blueprint dir exists: !find . -path '*/.claude/blueprints' -maxdepth 2 -type d
  • CLAUDE.md exists: !find . -maxdepth 1 -name 'CLAUDE.md' -type f
  • Rules directory: !find . -path '*/.claude/rules/*' -maxdepth 3 -name '*.md'
  • ADRs (docs/adr): !find . -path '*/docs/adr/*' -maxdepth 3 -name '*.md'
  • ADRs (docs/adrs): !find . -path '*/docs/adrs/*' -maxdepth 3 -name '*.md'
  • PRDs (docs/prds): !find . -path '*/docs/prds/*' -maxdepth 3 -name '*.md'
  • PRDs (blueprints): !find . -path '*/.claude/blueprints/prds/*' -maxdepth 4 -name '*.md'
  • PRPs (docs/prps): !find . -path '*/docs/prps/*' -maxdepth 3 -name '*.md'
  • PRPs (blueprints): !find . -path '*/.claude/blueprints/prps/*' -maxdepth 4 -name '*.md'

Parameters

  • $1: Path to analyze (defaults to current directory)

Your Task

Perform a comprehensive documentation quality analysis using the following methodology:

Phase 1: Plan the analysis

Track the analysis against this checklist (via TodoWrite when the session has the task tools — see .claude/rules/agentic-permissions.md § Task-tool availability — otherwise carry it as a checklist in your response):

- 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

Phase 2: CLAUDE.md Analysis

2.1 Check Existence and Structure

  • Verify CLAUDE.md exists at project root
  • Check for required YAML frontmatter:
    ---
    created: YYYY-MM-DD
    modified: YYYY-MM-DD
    reviewed: YYYY-MM-DD
    ---
    

2.2 Content Quality Checks

  • Completeness: Does it provide clear project context?

    • Project structure overview
    • Development conventions
    • Key rules and guidelines
    • Plugin/tool references if applicable
  • Clarity: Is it well-organized and readable?

    • Clear sections with headers
    • Proper markdown formatting
    • Tables for structured data
    • Examples where helpful
  • Accuracy: Check for outdated information

    • Compare modified date with recent git commits
    • Look for references to deprecated patterns
    • Validate file paths and references exist

2.3 Best Practices

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 concise

Phase 3: .claude/rules/ Analysis

3.1 Directory Structure

  • Verify .claude/rules/ directory exists
  • List all rule files present
  • Check for recommended core rules:
    • Architecture/design patterns
    • Coding standards
    • Development workflows
    • Testing requirements

3.2 Individual Rule Validation

For each rule file in .claude/rules/:

Required Frontmatter:

---
created: YYYY-MM-DD
modified: YYYY-MM-DD
reviewed: YYYY-MM-DD
---

Content Standards:

  • Clear title and purpose
  • Well-defined scope
  • Specific, actionable guidance
  • Examples where appropriate
  • Related rules cross-referenced

3.3 Rules Organization

  • Are rules properly categorized?
  • Are there too many/too few rules?
  • Is there duplication or conflict between rules?
  • Are rule names descriptive and consistent?

Phase 4: ADR Validation

4.1 Check ADR Directory

  • Verify docs/adrs/ or docs/adr/ exists
  • Check for ADR index/README
  • List all ADR files (should be numbered: 0001-title.md)

4.2 ADR Structure Validation

For each ADR, verify naming and the required MADR sections against references/doc-standards.md.

4.3 ADR Quality Checks

  • Status accuracy: Are deprecated ADRs marked?
  • Completeness: Do ADRs have all required sections?
  • Relevance: Are ADRs still applicable to current codebase?
  • Index maintenance: Is the ADR index up to date?

4.4 Coverage Analysis

  • Do ADRs cover major archit
Полный SKILL.md на GitHub

Установить code-docs-quality в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Glob
Grep
Bash(markdownlint *)
Bash(vale *)
Task

Вложенные файлы

references/doc-standards.mdreferences/report-templates.md

FAQ

Что делает скилл code-docs-quality?

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.

Как установить скилл code-docs-quality?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл code-docs-quality запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить code-docs-quality с