Agent skill
doc-utest-fixer
Apply automated and guided fixes for UTEST findings from audit/review reports
Install this agent skill to your Project
npx add-skill https://github.com/vladm3105/aidoc-flow-framework/tree/main/.claude/skills/doc-utest-fixer
Metadata
Additional technical details for this skill
- tags
-
sdd-workflow layer-10-artifact quality-assurance utest-fix
- custom fields
-
{ "layer": 10, "version": "1.0", "priority": "primary", "last_updated": "2026-02-27", "artifact_type": "UTEST", "skill_category": "quality-assurance", "development_status": "active", "upstream_artifacts": [ "UTEST", "Audit Report", "Review Report" ], "downstream_artifacts": [ "Fixed UTEST", "Fix Report" ], "architecture_approaches": [ "ai-agent-based" ] } - versioning policy
- tracks UTEST-MVP-TEMPLATE schema_version
SKILL.md
doc-utest-fixer
Purpose
Apply fixes for UTEST issues identified by validator/reviewer workflows, with deterministic source-report precedence.
Input Contract
Preferred:
UTEST-NN.A_audit_report_vNNN.md
Legacy-compatible:
UTEST-NN.R_review_report_vNNN.md
Selection precedence:
- Newest timestamp/version.
- If tied, prefer
.A_audit_report_vNNN.mdover.R_review_report_vNNN.md.
Fix Categories
- Missing required sections (6-section contract)
- Missing/invalid subtype tags (
@req,@spec) - Missing category coverage (
[Logic],[State],[Validation],[Edge]) - Missing Input/Output tables for test cases
- Missing pseudocode for complex logic
- REQ coverage below
>=90%target - Traceability and cross-reference consistency
- Naming/path corrections for nested-folder compliance
Outputs
- Fixed UTEST document(s)
UTEST-NN.F_fix_report_vNNN.md
Commands
/doc-utest-fixer UTEST-01
/doc-utest-fixer UTEST-01 --review-report UTEST-01.A_audit_report_v001.md
/doc-utest-fixer UTEST-01 --review-report UTEST-01.R_review_report_v001.md
Integration
- Typically invoked after
doc-utest-audit - Re-run
doc-utest-auditafter fixes to verify closure
Version History
| Version | Date | Changes |
|---|---|---|
| 1.0 | 2026-02-27 | Initial UTEST fixer with deterministic .A_ preferred / .R_ legacy precedence and UTEST 90%-gate remediation checks |
Implementation Plan Consistency (IPLAN-004)
- Treat plan-derived outputs as valid source mode and verify intent preservation from implementation plan scope/objectives.
- Validate upstream autopilot precedence assumption:
--iplan > --ref > --prompt. - Flag objective/scope conflicts between plan context and artifact output as blocking issues requiring clarification.
- Do not introduce legacy fallback paths such as
docs-v2.0/00_REF.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
doc-spec-reviewer
Comprehensive content review and quality assurance for SPEC documents - validates YAML structure, REQ coverage, interface definitions, and identifies issues requiring manual attention
doc-prd-fixer
Automated fix skill that reads review reports and applies fixes to PRD documents - handles broken links, element IDs, missing files, and iterative improvement
doc-procspec-autopilot
Automated PROCSPEC (Process Specification) generation from REQ - generates specifications for SOPs, runbooks, playbooks, and operational procedures
doc-riskspec-autopilot
Automated RISKSPEC (Risk Specification) generation from REQ - generates specifications for risk matrices, impact assessments, and mitigation plans
doc-ptest-autopilot
Automated PTEST generation and review orchestration for performance category and threshold validation
doc-adr-autopilot
Automated ADR generation pipeline from BRD Architecture Decision Requirements - analyzes topics, generates Context-Decision-Consequences records
Didn't find tool you were looking for?