design-audit
Comprehensive health audit for design documentation. Use when performing thorough quality checks, preparing for releases, or ensuring documentation compliance.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Design Documentation Comprehensive Audit
Performs deep quality audits of design documentation, checking structure, content, relationships, and compliance with standards.
Overview
This skill provides comprehensive quality auditing for design documentation by running all validation checks, analyzing content quality, verifying cross-reference integrity, checking sync status, and generating detailed audit reports with prioritized recommendations.
Quick Start
Audit all modules:
/design-audit
Audit specific module:
/design-audit effect-type-registry
Quick audit (non-strict):
/design-audit --strict=false
Parameters
Optional
-
module: Limit to specific module (default: all) -
strict: Enable strict mode (default: true) -
include-archived: Include archived docs (default: false) -
output: Output file path for report
Workflow
High-level audit process:
- Parse parameters to determine audit scope and strictness
- Load design.config.json to get quality standards and validation rules
- Discover documents across target modules using Glob
- Run validation checks (frontmatter, structure, content, references, sync)
- Analyze content quality (completeness, depth, examples, rationale)
- Check cross-references for broken links and circular dependencies
- Verify sync status with codebase alignment
- Calculate health scores (document, module, overall)
- Identify issues by severity (critical, high, medium, low)
- Generate audit report with findings and recommendations
- Provide recommendations prioritized by impact and effort
For detailed implementation steps, see supporting documentation below.
Supporting Documentation
When you need detailed information, load the appropriate supporting file:
For Detailed Workflow
See instructions.md for:
- Complete step-by-step audit workflow
- Document discovery and collection
- Validation check execution
- Content quality analysis algorithms
- Cross-reference integrity verification
- Sync status checking
- Health score calculation formulas
- Issue identification and severity assignment
- Report generation (Markdown, JSON, HTML)
- Recommendation prioritization
- Advanced features (trends, automated fixes, custom checks)
Load when: Performing audits or need implementation details
For Validation Checks
See checks.md for:
- Frontmatter validation rules (required fields, dates, cross-references)
- Structure validation (sections, headings, hierarchy)
- Content quality checks (completeness, depth, examples)
- Cross-reference integrity (broken links, circular dependencies)
- Sync status thresholds and scoring
- Technical debt detection (TODOs, incomplete sections)
- Overall health scoring formulas and weights
- Health rating ranges (A-F grades)
- Strict mode additional checks
Load when: Need check specifications, scoring details, or validation rules
For Usage Examples
See examples.md for:
- Full audit of all modules
- Module-specific audit in strict mode
- Quick audit without archived docs
- Audit with JSON output
- Example findings (critical, high, medium, low)
- Report format examples (Markdown, JSON, HTML)
Load when: User needs examples or clarification
Error Handling
No Documents Found
INFO: No design documents found to audit
Scope: {module}
This is normal for new modules. Run /design-init to create your first
design doc.
All Checks Passed
SUCCESS: All audit checks passed!
Overall Health: {score}/100 ({rating})
No issues found.
Integration
Works well with:
-
/design-validate- Run validation before full audit -
/design-review- Review issues found in audit -
/design-sync- Fix sync issues identified -
/design-update- Address content quality issues -
/design-report- Compare audit with health report
Success Criteria
A successful audit:
- ✅ All documents discovered and analyzed
- ✅ All validation checks executed
- ✅ Content quality assessed
- ✅ Cross-references verified
- ✅ Sync status checked
- ✅ Health scores calculated accurately
- ✅ Issues categorized by severity
- ✅ Clear, actionable recommendations provided
- ✅ Comprehensive report generated
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!