ensemble-validate-requirementslisted
Install: claude install-skill FortiumPartners/ensemble
# Ensemble Command: /ensemble:validate-requirements
This Codex skill mirrors the Ensemble slash command `/ensemble:validate-requirements`.
Follow the workflow below, adapt to the current repository, and keep outputs structured.
<!-- DO NOT EDIT - Generated from validate-requirements.yaml -->
<!-- To modify this file, edit the YAML source and run: npm run generate -->
Parse a PRD for all REQ-NNN and AC-NNN-M IDs, parse a TRD for all [satisfies] and
[verifies] annotations, and report coverage gaps, orphaned annotations, and missing
-TEST task pairs. CI-friendly: exits non-zero on errors, zero on warnings-only.
## Workflow
### Phase 1: Document Parsing
**1. Input Validation**
Verify that both required arguments are provided and that both files exist on disk.
If $ARGUMENTS does not contain two tokens: print 'ERROR: Usage: /ensemble:validate-requirements <prd-path> <trd-path>' and EXIT with code 1.
Resolve PRD_PATH from the first argument. If file does not exist: print 'ERROR: PRD file not found: <PRD_PATH>' and EXIT with code 1.
Resolve TRD_PATH from the second argument. If file does not exist: print 'ERROR: TRD file not found: <TRD_PATH>' and EXIT with code 1.
**2. PRD Parsing**
Parse PRD document for all traceability IDs.
Extract all REQ-NNN IDs from H3 headings matching '### REQ-NNN:' pattern.
Extract all AC-NNN-M IDs from bullet items matching '- AC-NNN-M:' pattern.
Build PRD_REQUIREMENTS map: REQ-NNN -> {description, acs: [AC-NNN-M, ...]}
Build PRD_AC_SET: fl