| name | validate |
| description | Validate any ADLC phase output before advancing |
| argument-hint | REQ-xxx ID or phase name (spec, architecture, tasks, implementation) |
/validate — ADLC Phase Validation
You are validating ADLC artifacts to ensure quality before advancing to the next phase.
Ethos
!sh .adlc/partials/ethos-include.sh 2>/dev/null || sh ~/.claude/skills/partials/ethos-include.sh
Context
- Active specs: !
grep -rl 'status: draft\|status: approved\|status: in-progress' .adlc/specs/*/requirement.md 2>/dev/null | head -20 || echo "No active specs"
Input
Target: $ARGUMENTS
Prerequisites
Before proceeding, verify that .adlc/specs/ exists. If it doesn't, stop and tell the user: "The .adlc/ structure hasn't been initialized. Run /init first."
Instructions
Step 1: Identify What to Validate
- If given a REQ ID, locate all artifacts under
.adlc/specs/REQ-xxx-*/
- If given a phase name, validate the most recently modified artifacts for that phase
- Determine the current phase based on what artifacts exist:
- Spec phase: Only
requirement.md exists
- Architecture phase:
architecture.md exists alongside requirement
- Task phase:
tasks/ directory with task files exists
- Implementation phase: Tasks have status
complete or code changes exist
Step 2: Validate Based on Phase
Validating a Requirement Spec
Validating Architecture
Validating Tasks
Cross-repo tasks — only applies if .adlc/config.yml in the primary repo declares more than one entry under repos:. Skip these checks in single-repo mode.
Validating Implementation
Step 3: Report Results
- Display validation results as a checklist with pass/fail for each item
- Categorize issues by severity:
- Blocker: Must fix before advancing (e.g., missing acceptance criteria, circular deps)
- Warning: Should fix but won't block (e.g., vague wording, missing edge case)
- Info: Suggestions for improvement
- If all checks pass, confirm the artifact is ready to advance
- If blockers exist, list specific fixes needed
Step 4: Recommend Next Action
- Spec validated → "Ready for
/architect"
- Architecture validated → "Ready for implementation"
- Tasks validated → "Ready for implementation"
- Implementation validated → "Ready for
/review"