packages/knowledge-hub/dataset/.skills/capability/verify-quality/SKILL.md
Checks quality gates against the current codebase. Reads project-specific quality gate command from way-of-working adoption and universal standards from quality-standards guidelines. Gates already passing are skipped. Invocable independently or composed by /implement and /review.
npx skillsauth add foomakers/pair verify-qualityInstall 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.
Validate the current codebase against quality gates. Two sources of truth:
pnpm quality-gate). This is "what command we run."Only check gates that are not already passing.
| Argument | Required | Description |
| -------- | -------- | -------------------------------------------------------------------------------------------------------------- |
| $scope | No | Limit checking: code-quality, tests, lint, all, or any custom scope key from adoption (default: all) |
Execute each gate in order. For every gate, follow the check → skip → act → verify pattern.
pnpm quality-gate).way-of-working.md has no Quality Gates section, fall back to package.json scripts for detectable gate commands (e.g., test, lint, ts:check).pnpm lint or turbo lint). Capture output.pnpm tsc --noEmit or turbo build). Capture output.pnpm test or turbo test). Capture output including coverage.Check: Read way-of-working.md → look for a ### Custom Gate Registry section.
Branch based on what is found:
A) Custom Gate Registry table found → execute custom gates (Step 5.A).
B) Explicit opt-out found (section contains "No custom quality gates") → skip to Step 6 silently.
C) No Custom Gate Registry section at all → first-time setup (Step 5.C).
Order, filtered by $scope:
$scope = all → run all custom gates.$scope = <scope-key> → run only gate(s) matching that scope key.Required column:
Required = Yes → exit code 0 = PASS, non-zero = FAIL (contributes to overall FAIL).Required = No (Advisory) → exit code 0 = PASS, non-zero = WARNING (does not block).Act: Ask the developer:
No custom quality gates configured. Would you like to add custom gate steps (e.g., formatting, security scan, markdown lint)? If not, I'll record the opt-out so this question won't be asked again.
Branch:
Developer says yes → help define gates and write the Custom Gate Registry table to way-of-working.md. Then execute them (Step 5.A).
Developer says no → write the opt-out marker to way-of-working.md:
### Custom Gate Registry
No custom quality gates configured. To add custom gates, replace this line with the gate table (see quality-gates.md).
Verify: way-of-working.md updated. Move to Step 6.
See quality-gates.md for Custom Gate Registry table schema and enforcement level semantics.
If a project-level quality gate command exists (from Step 1):
pnpm quality-gate).Present results as:
QUALITY GATE REPORT:
├── Lint: [PASS | FAIL — N violations]
├── Type Check: [PASS | FAIL — N errors]
├── Tests: [PASS — N tests, X% coverage | FAIL — N failures]
├── Custom: [N gates — N PASS, N FAIL, N WARNING | No custom gates]
└── Aggregate: [PASS | FAIL | N/A]
RESULT: [ALL GATES PASS | BLOCKED — N gates failing]
When composed by /implement or /review:
/verify-quality after implementation or before commit./implement: HALT on FAIL — developer must fix before commit./review: Report FAIL as review finding — does not block review completion.When invoked independently:
$scope is provided).[name]: SKIPPED — command not found."development
Creates or updates a Product Requirements Document through structured template analysis, hypothesis-driven information gathering, and iterative review. Idempotent — detects existing PRD and offers selective section update.
development
Reviews a pull request through a structured 6-phase process: validation, technical review, adoption compliance, completeness check, decision, and optional merge with parent cascade. Composes /verify-quality, /verify-done, /record-decision, /assess-debt (required) and /verify-adoption, /assess-stack (optional with graceful degradation). Output follows the code review template. Idempotent — re-invocation resumes from incomplete phases.
tools
Refines a user story from Todo to Refined state through structured phases: selection, requirements analysis (Given-When-Then), technical analysis, sprint readiness, and documentation. Section-level idempotency — detects partial refinement and resumes. Composes /write-issue for PM tool updates.
testing
Breaks a refined user story into implementation tasks. Task-level idempotency: detects existing tasks and creates only missing ones. Appends condensed Technical Analysis + Task Breakdown (checklist, Dependency Graph, AC Coverage table, detailed tasks) to the story body. Composes /write-issue to update the story issue body. Tasks are documented inline in the story — no separate task issues are created.