.claude/skills/validation-pipeline/SKILL.md
Runs multi-stage validation gates with per-step scoring, pass/fail verdicts, and aggregate quality reports. Use when validating requirements, code, or artifacts through structured gate enforcement before merge or release.
npx skillsauth add proffesor-for-testing/agentic-qe validation-pipelineInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run structured validation pipelines that execute steps sequentially, enforce gates at blocking failures, and produce scored reports. Uses .claude/helpers/validation-pipeline.cjs with 13 requirements validation steps (BMAD-003).
/validation-pipeline# Validate a requirements document (all 13 steps)
/validation-pipeline requirements docs/requirements.md
# Validate with specific steps only
/validation-pipeline requirements docs/requirements.md --steps format-check,completeness-check,invest-criteria
# Continue past blocking failures
/validation-pipeline requirements docs/requirements.md --continue-on-failure
# Output as JSON
/validation-pipeline requirements docs/requirements.md --json
Read the file specified by the user. If no file is provided, ask for one.
Read the target document using the Read tool.
Store the content for pipeline execution.
Choose the appropriate pipeline based on the user's request:
| Pipeline | Steps | Use Case |
|----------|-------|----------|
| requirements | 13 | Requirements documents, PRDs, user stories |
Additional pipelines can be added to .claude/helpers/validation-pipeline.cjs.
The pipeline helper (.claude/helpers/validation-pipeline.cjs) handles execution:
--continue-on-failure)| # | Step ID | Category | Severity | What It Checks |
|---|---------|----------|----------|----------------|
| 1 | format-check | format | blocking | Headings, required sections, document length |
| 2 | completeness-check | content | blocking | Required fields populated, acceptance criteria present |
| 3 | invest-criteria | quality | warning | Independent, Negotiable, Valuable, Estimable, Small, Testable |
| 4 | smart-acceptance | quality | warning | Specific, Measurable, Achievable, Relevant, Time-bound |
| 5 | testability-score | quality | warning | Can each requirement be tested? |
| 6 | vague-term-detection | content | info | Flags "should", "might", "various", "etc." |
| 7 | information-density | content | info | Every sentence carries weight, no filler |
| 8 | traceability-check | traceability | warning | Requirements-to-tests mapping exists |
| 9 | implementation-leakage | quality | warning | Requirements don't prescribe implementation |
| 10 | domain-compliance | compliance | info | Alignment with domain model |
| 11 | dependency-analysis | traceability | info | Cross-requirement dependencies identified |
| 12 | bdd-scenario-generation | quality | warning | Can generate Given/When/Then for each requirement |
| 13 | holistic-quality | compliance | blocking | Overall coherence, no contradictions |
Format the pipeline result as a structured report:
# Validation Report: Requirements Pipeline
**Overall**: PASS/FAIL/WARN | **Score**: 85/100 | **Duration**: 42ms
## Step Results
| # | Step | Status | Score | Findings | Duration |
|---|------|--------|-------|----------|----------|
| 1 | Format Check | PASS | 100 | 0 | 2ms |
| 2 | Completeness | WARN | 60 | 2 | 5ms |
...
## Blockers
- (blocking findings listed here)
## All Findings
- [HIGH] Missing acceptance criteria: Requirement US-104 has no AC
- [MEDIUM] Vague term: "should" used 5 times without specifics
...
After pipeline execution, record the outcome for learning:
// Store validation pattern
memory store --namespace validation-pipeline --key "req-validation-{timestamp}" --value "{score, findings_count, halted}"
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| pipeline | string | requirements | Pipeline type to run |
| file | string | required | Path to document to validate |
| --steps | string | all | Comma-separated step IDs to run (e.g., format-check,completeness-check) |
| --continue-on-failure | boolean | false | Skip blocking gates |
| --json | boolean | false | Output as JSON instead of markdown |
| --metadata | object | {} | Additional context for steps |
pipeline_validate toolThe pipeline produces a PipelineResult object (see schemas/output.json):
{
pipelineId: string;
pipelineName: string;
overall: 'pass' | 'fail' | 'warn';
score: number; // 0-100 weighted average
steps: StepResult[]; // per-step details
blockers: Finding[]; // blocking findings
halted: boolean;
haltedAt?: string; // step ID where halted
totalDuration: number;
timestamp: string;
}
development
Apply XP practices including pair programming, ensemble programming, continuous integration, and sustainable pace. Use when implementing agile development practices, improving team collaboration, or adopting technical excellence practices.
development
Warehouse Management System testing patterns for inventory operations, pick/pack/ship workflows, wave management, EDI X12/EDIFACT compliance, RF/barcode scanning, and WMS-ERP integration. Use when testing WMS platforms (Blue Yonder, Manhattan, SAP EWM).
testing
Advanced visual regression testing with pixel-perfect comparison, AI-powered diff analysis, responsive design validation, and cross-browser visual consistency. Use when detecting UI regressions, validating designs, or ensuring visual consistency.
development
Comprehensive truth scoring, code quality verification, and automatic rollback system with 0.95 accuracy threshold for ensuring high-quality agent outputs and codebase reliability.