Skip to content
Testing
Skill

/validation-pipeline

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.

From plugin
agentic-qe
534119 skills169 agents149 commands1 MCP

Claude Code

$ npx -y skills add proffesor-for-testing/agentic-qe --skill validation-pipeline --agent claude-code

SKILL.md

validation-pipeline.SKILL.md
name: "validation-pipeline"
description: "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."
trust_tier: 3
validation:
  schema_path: schemas/output.json
  validator_path: scripts/validate-config.json
  eval_path: evals/validation-pipeline.yaml

Validation Pipeline

Purpose

Run structured validation pipelines that execute steps sequentially, enforce gates at blocking failures, and produce scored reports. Uses the `validation-pipeline.cjs` helper shipped in the agentic-qe package (`node_modules/agentic-qe/assets/helpers/validation-pipeline.cjs`; `aqe init` does not copy it into the project) with 13 requirements validation steps (BMAD-003).

Activation

  • When validating requirements documents
  • When running structured quality gates
  • When assessing document completeness, testability, or traceability
  • When invoked via `/validation-pipeline`

Quick Start

# 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

Workflow

Step 1: Read the Target Document

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.

Step 2: Select Pipeline

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 a copy of `validation-pipeline.cjs`.

Step 3: Execute Pipeline

The pipeline helper (`node_modules/agentic-qe/assets/helpers/validation-pipeline.cjs`) handles execution:

1. **Sequential execution** — steps run in order, each receiving results from prior steps 2. **Gate enforcement** — blocking steps that fail halt the pipeline (unless `--continue-on-failure`) 3. **Per-step scoring** — each step produces a 0-100 score with findings and evidence 4. **Weighted rollup** — overall score uses category weights (format=10%, content=30%, quality=25%, traceability=20%, compliance=15%)

Requirements Pipeline Steps (13 total)

| # | 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 |

Step 4: Report Results

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
...

Step 5: Record Learning

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}"

Parameters

| 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 |

Integration Points

  • **qe-requirements-validator agent** — delegates structured validation to this pipeline
  • **qe-quality-gate agent** — uses pipeline for gate evaluation
  • **YAML Pipelines** — can invoke validation steps as workflow actions
  • **MCP** — accessible via `pipeline_validate` tool

Output Schema

The pipeline produces a `PipelineResult` object (see `schemas/output.json`):

{
  pipelineId: string;
  pipelineName: stri
Read more
@proffesor-for-testing
Ships withagentic-qe

Quality engineering tools for your coding agent. Generate tests, investigate coverage gaps, analyze flaky behavior and coordinate quality checks across the software lifecycle. Keep the findings close to the code and use them to make a better quality decision.

534119 skills169 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
534
Star history of proffesor-for-testing/agentic-qe on GitHub, a chart by star-history.com

Other skills on agentic-qe.

More skills from other plugins.

api-review

api-review

Produce the "Playwright 1.xx API Review" artifact for a range of commits - the public API additions and the breaking or behavior…

@microsoft@microsoftInstall Skill
add-e2e-selectors

add-e2e-selectors

Add reliable @grafana/e2e-selectors to interactive elements and key containers in the Grafana frontend. Use when adding e2e…

grafana2w78k
@grafana@grafanaInstall Skill
promptfoo-evals

promptfoo-evals

Write, refine, run, and QA promptfoo evaluation suites: promptfooconfig.yaml, prompts, providers, vars, tests, assertions,…

@promptfoo@promptfooInstall Skill
deepeval

deepeval

DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent,…

@confident-ai@confident-aiInstall Skill

Questions about validation-pipeline.

Which coding agents can use validation-pipeline?
validation-pipeline installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.