docguard-review
Audit and enforce canonical project documentation for AI-assisted development. Detect drift, validate specs, and brief agents. Part of the Guard family with TestGuard and WebSec Validator.
Install / Use
npx skills add raccioly/docguard --skill docguard-reviewInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Content & MediaSupported Platforms
Our assessment of docguard-review
docguard-review scores 77/100 on our quality scale, 1050th of 1,179 Content & Media skills we index.
Its SKILL.md is 7.2 KB long, well organised into 26 sections with 3 code examples: a thorough specification that gives an agent plenty to work with.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so docguard-review is actively maintained.
- Our last check on 2026-08-30 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 80/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
docguard-review compared with similar skills
All 4 of these similar skills score higher than docguard-review; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| docguard-review (this skill)by raccioly | 77 | 0 | today | SKILL.md |
| siyuanby siyuan-note | 100 | 46.7k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 20d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 20d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 133.6k | 10d ago | SKILL.md |
Frequently asked questions
- How do I install docguard-review?
- Run
npx skills add raccioly/docguard --skill docguard-review. The install tabs above show the steps for each supported agent. - Which AI agents does docguard-review work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is docguard-review safe to use?
- It declares no license and scores 80/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is docguard-review still maintained?
- The repository was last updated today, so docguard-review is actively maintained.
Skill content
View source on GitHubname: docguard-review description: Cross-document consistency analysis and quality assessment. Performs read-only analysis across all canonical docs, identifies drift, coverage gaps, and quality issues. Produces a structured report with severity-ranked findings. Modeled after speckit-analyze. compatibility: Requires DocGuard CLI installed (npm i -g docguard-cli or npx docguard-cli) metadata: author: docguard version: 0.34.1 source: extensions/spec-kit-docguard/skills/docguard-review
<!-- docguard:version: 0.34.1 -->DocGuard Review Skill
User Input
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Goal
Perform a comprehensive, read-only analysis of the project's documentation health. Unlike /docguard.guard (which runs CLI validators), this skill performs semantic analysis — checking whether documentation actually matches the codebase, whether cross-references are consistent, and whether the documentation tells a coherent story.
Operating Constraints
STRICTLY READ-ONLY: Do not modify any files. Output a structured analysis report only. Offer remediation suggestions that the user must explicitly approve before any changes are made.
Execution Flow
Step 1: Gather Documentation Inventory
- List all canonical docs: Read every file in
docs-canonical/ - List support files: Check for
CHANGELOG.md,DRIFT-LOG.md,AGENTS.md,README.md,ROADMAP.md - Check for spec-kit artifacts: If
.specify/exists, includespecs/*/spec.md,specs/*/plan.md,specs/*/tasks.md - Build a document map:
| Document | Exists | Last Modified | Size | Metadata Version | |----------|--------|---------------|------|-----------------| | ARCHITECTURE.md | ✅ | 2026-03-14 | 5.2KB | 0.5.0 | | SECURITY.md | ✅ | 2026-03-14 | 3.1KB | 0.5.0 | | ... | ... | ... | ... | ... |
Step 2: Run Quantitative Analysis
Execute DocGuard's diagnostic and scoring tools:
npx docguard-cli diagnose 2>&1
npx docguard-cli score 2>&1
npx docguard-cli guard 2>&1
Record:
- Guard pass/fail counts per validator
- CDD maturity score (0-100)
- ALCOA+ compliance attributes
- Category breakdown
Step 3: Semantic Cross-Document Analysis
This is the unique value of the review skill — analysis that CLI validators cannot do.
A. Terminology Consistency
- Extract key technical terms from each document
- Flag terms used differently across documents (e.g., "validator" vs "checker" vs "rule")
- Flag abbreviations used without definition
- Build a de facto glossary
B. Architecture ↔ Code Alignment
- Read ARCHITECTURE.md component list
- Verify each listed component actually exists as a directory/module
- Flag components that exist in code but are missing from ARCHITECTURE.md
- Flag components listed in ARCHITECTURE.md that don't exist in code
C. Data Model ↔ Code Alignment
- Read DATA-MODEL.md schemas/structures
- Search codebase for actual data structures
- Flag schemas documented but not implemented
- Flag schemas implemented but not documented
D. Test Coverage ↔ Test-Spec Alignment
- Read TEST-SPEC.md critical flows
- Check actual test files exist for each critical flow
- Flag test scenarios documented but not implemented
- Flag test files with no corresponding TEST-SPEC.md entry
E. Security Claims ↔ Implementation
- Read SECURITY.md auth/secrets claims
- Verify auth implementation exists in code
- Check that listed secrets are actually used
- Flag security-relevant code not mentioned in SECURITY.md
F. Cross-Reference Integrity
- Find all internal doc links (
[text](file)andSee ARCHITECTURE.md) - Verify every referenced file/section actually exists
- Flag broken cross-references
- Flag orphaned sections not referenced anywhere
Step 4: Quality Assessment
For each document, evaluate:
| Criterion | Weight | Score | Notes | |-----------|--------|-------|-------| | Completeness | 30% | 0-10 | Are all mandatory sections present? | | Accuracy | 30% | 0-10 | Does content match actual codebase? | | Clarity | 20% | 0-10 | Readability, specificity, no jargon | | Currency | 10% | 0-10 | Is content up-to-date with latest code? | | Cross-refs | 10% | 0-10 | Are references valid and bidirectional? |
Step 5: Severity Classification
Classify every finding using this matrix:
- CRITICAL: Security claim doesn't match implementation, missing mandatory doc, broken architecture reference
- HIGH: Undocumented component, stale content (>5 commits behind), terminology conflict
- MEDIUM: Missing cross-reference, minor coverage gap, readability issue
- LOW: Formatting inconsistency, optional section missing, minor terminology drift
Step 6: Produce Analysis Report
Output a structured markdown report (do NOT write to disk):
## DocGuard Documentation Review
### Executive Summary
- **Overall Health**: [A+/A/B/C/D/F] ([score]/100)
- **Documents Analyzed**: [N]
- **Findings**: [CRITICAL: N, HIGH: N, MEDIUM: N, LOW: N]
- **Top Risk**: [Most impactful finding]
### Findings Table
| ID | Category | Severity | Location | Summary | Recommendation |
|----|----------|----------|----------|---------|----------------|
| R01 | Terminology | HIGH | ARCH:L15, SEC:L22 | "validator" vs "checker" | Standardize on "validator" |
| R02 | Coverage | MEDIUM | DATA-MODEL.md | Schema X undocumented | Add Schema X to Data Model |
### Per-Document Health
| Document | Completeness | Accuracy | Clarity | Currency | Cross-refs | Overall |
|----------|:----------:|:-------:|:------:|:-------:|:----------:|:-------:|
| ARCHITECTURE.md | 9/10 | 8/10 | 9/10 | 7/10 | 10/10 | 8.8/10 |
| SECURITY.md | 8/10 | 9/10 | 8/10 | 9/10 | 7/10 | 8.4/10 |
### Semantic Consistency
- **Terminology conflicts**: [N found]
- **Architecture gaps**: [N components undocumented]
- **Broken cross-refs**: [N found]
- **Test coverage gaps**: [N critical flows untested]
### Recommendations (Priority Order)
1. [Most impactful fix] — estimated effort: [LOW/MEDIUM/HIGH]
2. [Second most impactful] — estimated effort: [LOW/MEDIUM/HIGH]
3. ...
Step 7: Offer Next Actions
Based on findings:
- If CRITICAL issues: "Run
/docguard.fix --doc [name]to resolve blocking issues" - If spec-related gaps: "Run
/speckit.specifyto update specifications" or "/speckit.clarify to resolve ambiguities" - If architecture drift: "Run
/speckit.planto realign implementation plan with codebase" - If only LOW/MEDIUM: "Documentation is healthy. Consider
/docguard.fixfor polish" - If constitution missing: "Run
/speckit.constitutionto establish project principles" - If all clean: "Documentation is excellent. No action needed."
Ask: "Would you like me to fix the top N issues? (I'll show you what I plan to change before applying)"
Behavior Rules
- NEVER modify files — this is strictly read-only analysis
- ALWAYS run real CLI commands — don't simulate or guess results
- Be specific — cite exact file paths, line numbers, and content
- Compare actual code vs docs — don't just validate formatting
- Limit findings to 50 — aggregate overflow in a summary count
- Prioritize high-signal findings — one CRITICAL finding is worth ten LOW findings
Context
$ARGUMENTS
Related Skills
siyuan
46.7kAn open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
133.6kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
