doc-ptest
Installation
SKILL.md
doc-ptest
Purpose
Create Performance Test Specifications (PTEST) for system performance validation across Load, Stress, Endurance, and Spike categories as a Layer 10 TSPEC subtype.
Layer: 10
Subtype Code: 44 (TSPEC.NN.44.SS)
Canonical References
Before authoring PTEST, read:
ai_dev_ssd_flow/10_TSPEC/PTEST/PTEST-MVP-TEMPLATE.mdai_dev_ssd_flow/10_TSPEC/PTEST/PTEST-MVP-TEMPLATE.yamlai_dev_ssd_flow/10_TSPEC/PTEST/PTEST-MVP-TEMPLATE.mdai_dev_ssd_flow/10_TSPEC/PTEST/PTEST_MVP_SCHEMA.yamlai_dev_ssd_flow/10_TSPEC/PTEST/PTEST_MVP_SCHEMA.yaml
When to Use
Use doc-ptest when:
- You are creating or editing PTEST-only artifacts.
@sysand@specconstraints are primary.- Performance thresholds and load-profile behavior are the core objective.
Use doc-tspec instead when:
- Multi-subtype orchestration is required (UTEST/ITEST/STEST/FTEST/PTEST/SECTEST).
- Cross-subtype normalization or batch TSPEC work is primary.
PTEST Contract (MVP)
Required Structure
PTEST follows a 6-section contract:
- Document Control
- Test Scope
- Test Case Index
- Test Case Details
- SYS Coverage Matrix
- Traceability
Required Tags
- Cumulative Layer-10 tags:
@brd,@prd,@ears,@bdd,@adr,@sys,@req,@spec(+@ctrif exists) - Type-specific required tags:
@sys,@spec
Test Categories and Coverage
- Required categories:
[Load],[Stress],[Endurance],[Spike] - TASKS-Ready threshold:
>=90% - SYS coverage target: template-aligned (
>=85%baseline)
Folder Rule
Use nested folder structure:
docs/10_TSPEC/PTEST/PTEST-NN_{slug}/PTEST-NN_{slug}.md
Performance Rule
- Use Load Scenario tables for all test cases.
- Include
execution_profilefor complex scenarios.
Validation Commands
# PTEST subtype validation
python ai_dev_ssd_flow/10_TSPEC/scripts/validate_ptest.py docs/10_TSPEC/PTEST/
# Layer-wide TSPEC validation
bash ai_dev_ssd_flow/10_TSPEC/scripts/validate_all_tspec.sh docs/10_TSPEC/
# Quality score validation
bash ai_dev_ssd_flow/10_TSPEC/scripts/validate_tspec_quality_score.sh docs/10_TSPEC/
# Cross-document validation
python ai_dev_ssd_flow/scripts/validate_cross_document.py --document docs/10_TSPEC/PTEST/PTEST-NN_slug/PTEST-NN_slug.md --auto-fix
# Cumulative tag validation
python ai_dev_ssd_flow/scripts/validate_tags_against_docs.py --artifact PTEST-NN --expected-layers brd,prd,ears,bdd,adr,sys,req,spec --strict
Output Quality Gate
- No schema/structure blockers.
- All required PTEST sections present.
@sysand@specmappings are explicit.- Load scenarios and measurable thresholds are present.
- Traceability includes required cumulative tags.
- Report references use versioned naming where applicable.
Related Skills
doc-ptest-autopilotdoc-ptest-validatordoc-ptest-reviewerdoc-ptest-fixerdoc-ptest-auditdoc-tspec(multi-subtype fallback path)
Version History
| Version | Date | Changes |
|---|---|---|
| 1.0 | 2026-02-27 | Initial PTEST authoring skill aligned to canonical PTEST MVP template/rules/schema with TSPEC coexistence routing and canonical validation command set |
Weekly Installs
3
Repository
vladm3105/aidoc…rameworkGitHub Stars
10
First Seen
Mar 13, 2026
Security Audits
Installed on
opencode3
gemini-cli3
antigravity3
claude-code3
github-copilot3
codex3