doc-sectest

Create Security Test Specifications (SECTEST) for security control and threat validation across AuthN, AuthZ, Input, Crypto, Config, and Session categories as a Layer 10 TSPEC subtype.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "doc-sectest" with this command: npx skills add vladm3105/aidoc-flow-framework/vladm3105-aidoc-flow-framework-doc-sectest

doc-sectest

Purpose

Create Security Test Specifications (SECTEST) for security control and threat validation across AuthN, AuthZ, Input, Crypto, Config, and Session categories as a Layer 10 TSPEC subtype.

Layer: 10

Subtype Code: 45 (TSPEC.NN.45.SS )

Canonical References

Before authoring SECTEST, read:

  • ai_dev_ssd_flow/10_TSPEC/SECTEST/SECTEST-MVP-TEMPLATE.md

  • ai_dev_ssd_flow/10_TSPEC/SECTEST/SECTEST-MVP-TEMPLATE.yaml

  • ai_dev_ssd_flow/10_TSPEC/SECTEST/SECTEST_MVP_CREATION_RULES.md

  • ai_dev_ssd_flow/10_TSPEC/SECTEST/SECTEST_MVP_VALIDATION_RULES.md

  • ai_dev_ssd_flow/10_TSPEC/SECTEST/SECTEST_MVP_SCHEMA.yaml

When to Use

Use doc-sectest when:

  • You are creating or editing SECTEST-only artifacts.

  • @sec and @spec constraints are primary.

  • Threat scenarios and security control validation 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.

SECTEST Contract (MVP)

Required Structure

SECTEST follows a 6-section contract:

  • Document Control

  • Test Scope

  • Test Case Index

  • Test Case Details

  • Security Coverage Matrix

  • Traceability

Required Tags

  • Cumulative Layer-10 tags: @brd , @prd , @ears , @bdd , @adr , @sys , @req , @spec (+ @ctr if exists)

  • Type-specific required tags: @sec , @spec

Test Categories and Coverage

  • Required categories: [AuthN] , [AuthZ] , [Input] , [Crypto] , [Config] , [Session]

  • TASKS-Ready threshold: >=90%

  • Security coverage target: template-aligned (>=90% baseline)

Folder Rule

Use nested folder structure:

  • docs/10_TSPEC/SECTEST/SECTEST-NN_{slug}/SECTEST-NN_{slug}.md

Safety Rule

  • Security tests must run in isolated environments only.

  • Never run security tests against production systems.

Validation Commands

SECTEST subtype validation

python ai_dev_ssd_flow/10_TSPEC/scripts/validate_sectest.py docs/10_TSPEC/SECTEST/

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/SECTEST/SECTEST-NN_slug/SECTEST-NN_slug.md --auto-fix

Cumulative tag validation

python ai_dev_ssd_flow/scripts/validate_tags_against_docs.py --artifact SECTEST-NN --expected-layers brd,prd,ears,bdd,adr,sys,req,spec --strict

Output Quality Gate

  • No schema/structure blockers.

  • All required SECTEST sections present.

  • @sec and @spec mappings are explicit.

  • Threat scenarios and security controls are represented.

  • Traceability includes required cumulative tags.

  • Safety warnings are present and explicit.

  • Report references use versioned naming where applicable.

Related Skills

  • doc-sectest-autopilot

  • doc-sectest-validator

  • doc-sectest-reviewer

  • doc-sectest-fixer

  • doc-sectest-audit

  • doc-tspec (multi-subtype fallback path)

Version History

Version Date Changes

1.0 2026-02-27 Initial SECTEST authoring skill aligned to canonical SECTEST MVP template/rules/schema with safety constraints and TSPEC coexistence routing

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

security-audit

No summary provided by upstream source.

Repository SourceNeeds Review
Security

doc-prd-audit

No summary provided by upstream source.

Repository SourceNeeds Review
Security

doc-brd-audit

No summary provided by upstream source.

Repository SourceNeeds Review
Security

doc-ears-audit

No summary provided by upstream source.

Repository SourceNeeds Review