Agent skill
doc-stest-validator
Validate Smoke Test Specifications (STEST) against Layer 10 STEST MVP schema and structure contracts
Install this agent skill to your Project
npx add-skill https://github.com/vladm3105/aidoc-flow-framework/tree/main/.claude/skills/doc-stest-validator
Metadata
Additional technical details for this skill
- tags
-
sdd-workflow layer-10-artifact quality-assurance stest
- custom fields
-
{ "layer": 10, "version": "1.0", "priority": "shared", "last_updated": "2026-02-27", "artifact_type": "STEST", "skill_category": "quality-assurance", "development_status": "active", "upstream_artifacts": [ "STEST" ], "downstream_artifacts": [ "Audit", "Fix" ], "architecture_approaches": [ "ai-agent-based", "traditional-8layer" ] } - versioning policy
- tracks STEST_MVP_SCHEMA schema_version
SKILL.md
doc-stest-validator
Purpose
Validate STEST documents for subtype-specific schema, structure, traceability, and deployment-smoke gate requirements.
Validation Schema Reference
ai_dev_ssd_flow/10_TSPEC/STEST/STEST_MVP_SCHEMA.yamlai_dev_ssd_flow/10_TSPEC/STEST/STEST-MVP-TEMPLATE.mdai_dev_ssd_flow/10_TSPEC/STEST/STEST_MVP_SCHEMA.yaml
Validation Checklist
- Nested folder rule (
STEST-NN_{slug}/STEST-NN_{slug}.md) - Six required sections present and ordered
- STEST element IDs use
TSPEC.NN.42.SS - Required cumulative tags present (
@brd..@spec, optional@ctr) - Required subtype tags present (
@ears,@bdd,@req) - Timeout budget markers are present (
max 300sor<=300s) - 100% gate markers are present (
Target: 100%or100% quality gate) - Rollback procedure requirement is explicit (every test must have rollback procedure)
- Binary pass/fail criteria are explicit for critical paths
Commands
python ai_dev_ssd_flow/10_TSPEC/scripts/validate_stest.py docs/10_TSPEC/STEST/
bash ai_dev_ssd_flow/10_TSPEC/scripts/validate_all_tspec.sh docs/10_TSPEC/
bash ai_dev_ssd_flow/10_TSPEC/scripts/validate_tspec_quality_score.sh docs/10_TSPEC/
python ai_dev_ssd_flow/scripts/validate_cross_document.py --document docs/10_TSPEC/STEST/STEST-NN_slug/STEST-NN_slug.md --auto-fix
python ai_dev_ssd_flow/scripts/validate_tags_against_docs.py --artifact STEST-NN --expected-layers brd,prd,ears,bdd,adr,sys,req,spec --strict
Integration
- Invoked by:
doc-stest,doc-stest-autopilot,doc-stest-audit - Feeds into:
doc-stest-audit,doc-stest-fixer
Version History
| Version | Date | Changes |
|---|---|---|
| 1.0 | 2026-02-27 | Initial STEST validator with schema/structure/tag checks and strict deployment-gate validation rules |
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?