doc-sys-audit
4
总安装量
2
周安装量
#49342
全站排名
安装命令
npx skills add https://github.com/vladm3105/aidoc-flow-framework --skill doc-sys-audit
Agent 安装分布
opencode
2
gemini-cli
2
codebuddy
2
github-copilot
2
codex
2
kimi-cli
2
Skill 文档
doc-sys-audit
Purpose
Run a single SYS audit workflow that executes:
doc-sys-validator(structural/schema gate)doc-sys-reviewer(semantic/content quality gate)
Then emit one combined report optimized for doc-sys-fixer input.
Layer: 6 (SYS Quality Gate Wrapper)
Upstream: SYS file(s)
Downstream:
- Combined Audit Report:
SYS-NN.A_audit_report_vNNN.md - Optional Fix Cycle trigger for
doc-sys-fixer
Why This Skill Exists
Use this wrapper to avoid user confusion between validator and reviewer while preserving separation of concerns.
| Concern | Owner Skill |
|---|---|
| Schema/template compliance | doc-sys-validator |
| Content quality and requirement completeness | doc-sys-reviewer |
| Single user-facing audit command | doc-sys-audit |
When to Use
Use doc-sys-audit when:
- You want one command for SYS quality checks
- You need a combined report for
doc-sys-fixer - You are running QA before REQ generation
Do NOT use when:
- SYS does not exist (use
doc-sys/doc-sys-autopilotgeneration first) - You only need one specific check domain (use validator or reviewer directly)
Execution Contract
Input
- SYS path (
docs/06_SYS/SYS-NN_*/...) - Optional: threshold (default review threshold: 90)
Sequence (Mandatory)
1) Run doc-sys-validator
2) Run doc-sys-reviewer
3) Normalize and merge findings
4) Write SYS-NN.A_audit_report_vNNN.md
5) If auto-fixable findings exist, hand off to doc-sys-fixer
Combined Status Rules
PASS: Validator PASS AND Reviewer score >= threshold AND no blocking issuesFAIL: Validator FAIL OR Reviewer score < threshold OR blocking/manual-required issues present
Combined Report Format (for doc-sys-fixer)
Output file: SYS-NN.A_audit_report_vNNN.md
Required sections:
## Summary- SYS ID, timestamp (EST), overall status
- Validator status, reviewer score
## Score Calculation (Deduction-Based)- Formula:
100 - total_deductions - Threshold comparison (
>=90pass gate)
- Formula:
## Validator Findings- List by severity/code
## Reviewer Findings- List by severity/code
## Coverage Findings- Requirement completeness summary
- Quality attribute coverage summary
- Traceability/tag coverage summary
## Fix Queue for doc-sys-fixerauto_fixablemanual_requiredblocked
## Recommended Next Steprun doc-sys-fixer- or
manual update required
Fix Queue Normalization
Each finding MUST include:
source:validator|reviewercode: issue codeseverity:error|warning|infofile: relative pathsection: heading/anchor if knownaction_hint: short imperative guidanceconfidence:high|medium|manual-required
Hand-off Contract to doc-sys-fixer
doc-sys-fixer MUST accept combined audit report as equivalent upstream input:
SYS-NN.A_audit_report_vNNN.md(preferred)SYS-NN.R_review_report_vNNN.md(legacy compatibility)
Precedence rule:
- Select newest timestamp.
- If timestamps are equal, prefer
.A_audit_reportover.R_review_report.
Example Invocation
/doc-sys-audit docs/06_SYS/SYS-01_f1_iam/
Expected outcome:
- validator runs
- reviewer runs
- combined audit report generated
- fixer can execute directly from combined report
Version History
| Version | Date | Changes |
|---|---|---|
| 1.0 | 2026-02-27 | Initial SYS audit wrapper; validatorâreviewer orchestration; combined report contract for fixer with .A_ preferred and .R_ legacy compatibility |