Skip to content
Development
Skill

/quality-validation

Score ResearchPacks (>=80) and Implementation Plans (>=85) against quality gates. TRIGGER when: gating research or a plan before implementation. SKIP: writing or running tests (use testing-strategy); security threat review (use security-review-checklists); verifying finished

From plugin
scaffolding
1639 skills13 agents21 commands25 hooks

Claude Code

$ npx -y skills add komluk/scaffolding --skill quality-validation --agent claude-code

SKILL.md

quality-validation.SKILL.md
name: quality-validation
description: "Score ResearchPacks (>=80) and Implementation Plans (>=85) against quality gates. TRIGGER when: gating research or a plan before implementation. SKIP: writing or running tests (use testing-strategy); security threat review (use security-review-checklists); verifying finished work by executing it (use verification-before-completion)."

Quality Validation Skill

Systematic validation ensuring ResearchPacks and Implementation Plans meet quality standards before implementation.

Auto-Invoke Triggers

  • ResearchPack completion requires validation
  • Implementation Plan requires validation before coding
  • User requests quality check
  • Proceeding to next workflow phase (quality gate)

Quality Gates

Gate 1: Research → Planning

  • **Trigger**: ResearchPack completion
  • **Pass**: Score ≥ 80
  • **Fail**: Block, return defects

Gate 2: Planning → Implementation

  • **Trigger**: Implementation Plan completion
  • **Pass**: Score ≥ 85 AND APIs match
  • **Fail**: Block, return defects
  • Note: the ≥ 85 plan gate / design review may run on the opus tier (architect/analyst on `model: opus`, `effort: high`) for higher rigor. See `docs/model-tiers.md`.

Gate 3: Implementation → Completion

  • **Trigger**: Code complete
  • **Pass**: your project's validate/lint/test command passes (e.g. `npm run validate`, `pytest`, `make check`, `cargo test`)
  • **Fail**: Trigger self-correction (max 3 attempts)

ResearchPack Validation (100 pts, pass: 80)

Completeness (40 pts)

  • Library/API with version: 10 pts
  • 3+ key APIs documented: 10 pts
  • Setup/configuration steps: 10 pts
  • 1+ complete code examples: 10 pts

Accuracy (30 pts)

  • API signatures match official docs: 15 pts
  • Version numbers correct: 5 pts
  • All URLs valid, official sources: 10 pts

Citation (20 pts)

  • Every API has source URL: 10 pts
  • Version/section references: 5 pts
  • Confidence level stated: 5 pts

Actionability (10 pts)

  • Implementation checklist: 5 pts
  • Open questions identified: 5 pts

Implementation Plan Validation (100 pts, pass: 85)

Completeness (35 pts)

  • All file changes listed: 10 pts
  • Step-by-step sequence: 10 pts
  • Verification per step: 10 pts
  • Test plan included: 5 pts

Safety (30 pts)

  • Rollback plan complete: 15 pts
  • Risk assessment (3+ risks): 10 pts
  • Minimal changes: 5 pts

Clarity (20 pts)

  • Actionable steps: 10 pts
  • Success criteria defined: 5 pts
  • Time estimates: 5 pts

Alignment (15 pts)

  • Plan matches ResearchPack: 10 pts
  • Addresses all requirements: 5 pts

Validation Commands

Run your project's own validate/lint/type-check/test command at the completion gate. The exact command depends on your stack — substitute the equivalents below.

| Step | Generic intent | Example (Node/TS) | Example (Python) | |------|----------------|-------------------|------------------| | Type check | Static type safety | `npm run type-check` | `mypy .` | | Lint | Style / static analysis | `npm run lint` | `ruff check .` | | Build | Compile / package | `npm run build` | `python -m build` | | Tests | Behavioral verification | `npm test` | `pytest` | | Full gate | One command runs all | `npm run validate` | `make check` |

# Example (Node/TypeScript): full validation
npm run validate

# Example (Python): full validation
pytest && ruff check . && mypy .

Common Failures

| Failure | Description | |---------|-------------| | Hallucinated APIs | APIs not in official docs | | Version mismatch | Wrong version in research | | Missing citations | No source URLs | | No rollback plan | Missing reversion procedure | | Ambiguous steps | Non-actionable instructions | | API misalignment | Plan uses undocumented APIs |

Validation Output Format

## Validation Report

**Artifact**: [ResearchPack|ImplementationPlan]
**Score**: XX/100
**Result**: [PASS|FAIL]

### Scoring Breakdown
- Completeness: XX/40
- Accuracy: XX/30
- Citation: XX/20
- Actionability: XX/10

### Defects Found
1. [Defect description]
2. [Defect description]

### Recommendations
- [Fix suggestion]
Read more
@komluk
Ships withscaffolding

Spec-driven multi-agent orchestration for Claude Code — pure markdown, zero backend, runs on the stock runtime. 13 agents, 39 skills, 21 commands, 20 hooks, per-phase model tiers, opt-in lifecycle hooks, optional cross-device semantic memory.

1639 skills13 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
16
Star history of komluk/scaffolding on GitHub, a chart by star-history.com

Other skills on scaffolding.

agent-comms

agent-comms

SendMessage recipient validation and worktreePath safety (CWE-59). TRIGGER when: validating a SendMessage `to:` recipient against…

@komluk@komlukInstall Skill
agent-memory

agent-memory

Repo-local file memory under .scaffolding/ (shared/agent/conversation tiers). TRIGGER when: reading or writing .scaffolding/…

@komluk@komlukInstall Skill
api-design

api-design

RESTful API design standards: resource naming, HTTP methods, status codes, pagination, versioning. TRIGGER when: designing new…

@komluk@komlukInstall Skill
context-engineering

context-engineering

Optimize Claude Code context-window usage for accuracy and cost. TRIGGER when: hitting context limits, structuring prompts for an…

@komluk@komlukInstall Skill
database-optimization

database-optimization

Schema design, index strategy, migration safety, and query analysis. TRIGGER when: designing tables or indexes, writing a…

@komluk@komlukInstall Skill
distill

distill

Knowledge distillation: candidate extraction, confidence scoring, tier routing. Invoked by /learn and the memory-ingest Stop…

@komluk@komlukInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about quality-validation.

Which coding agents can use quality-validation?
quality-validation 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.