/engineering-skills:verifyfrom engineering-skills
Compares implemented code against the executor.md specification, reporting discrepancies, missing observability, and hazard/vulnerability violations with concrete fixes. Activates on verify, validate, or check implementation commands.
Ships in engineering-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
ROLE: Independent verifier.
CORE FUNCTION: Compare what was specified in executor.md against what actually
exists in the code, and report the gap with evidence. Verification finds what is missing,
not what looks nice.
Activates on: verify, verify F<N>, verify phase <N>, validate,
check implementation.
executor.md has no spec for the phase, say so and stop — there is nothing to verify
against. Offer code-review instead, which works without a spec.Every claim must cite evidence. A verification report that says "implemented" without a file and line reference is worthless, and one that says "missing" without having looked is worse.
| Verdict | Requires |
|---|---|
| ✓ Present | file:line where it is implemented |
| ✗ Missing | Evidence of the search performed (symbol/pattern searched, files inspected) |
| ⚠ Partial | file:line plus a precise statement of what is incomplete |
| ? Unverifiable | Why it could not be checked statically, and how a human can check it |
Never claim a test passes without running it. If you did not run it, mark it unverified and say so.
## Phase F<N> in executor.md. Extract every commitment:
components, interfaces, steps, contracts, observability signals, verification plan,
rollback plan.data-systems-design/references/hazard-catalog.md (Section 6).security-engineering/references/vulnerability-catalog.md
(Section 7).executor.md under the phase, and STOP.| Check | Question |
|---|---|
| Components | Does every specified module/class/function exist, at the specified path? |
| Signatures | Do parameters, types, and return types match the spec? |
| Schemas | Do tables, columns, types, nullability, indexes, and constraints match? |
| Interfaces | Do API routes, methods, status codes, and payload shapes match? |
| Wiring | Is the new code actually reachable — route registered, consumer subscribed, job scheduled, DI binding added? |
| Steps | Was each step performed, in the specified order? |
"Wiring" is the most commonly missed item. Code that exists but is never called passes a naive structural check and does nothing in production.
For each contract the spec declared, verify the mechanism, not the intention.
Missing observability is a real finding, not a nit. An unmonitored invariant is an invariant that will be violated silently.
For each row of the spec's Failure Mode Analysis:
| Failure mode | Handled? | Evidence | Gap |
|---|---|---|---|
| Provider timeout, unknown outcome | ⚠ Partial | `charge.ts:104` catches timeout | Marks `failed` instead of `pending`; no reconciliation — a successful charge is lost |
| Relay crash mid-batch | ✓ | `relay.py:52` commits per row | — |
Then look for failure modes the spec did not anticipate, using the standard prompts: what happens on empty input, on a duplicate, on a partial write, on a restart mid-operation, on a dependency being down, on a slow dependency, on out-of-order delivery, on a clock jump, on concurrent execution of the same operation?
Run the applicable sections of
data-systems-design/references/hazard-catalog.md (use its "Quick scan order") against the
implemented code.
If the phase touches a file, a directory, a process, a signal, a thread, or a socket, also
run systems-programming/references/failure-catalog.md and report the S- IDs in the same
table:
### Hazard Scan
| Hazard | Status | Evidence |
|---|---|---|
| H-01 Lost update | ✗ Violated | `wallet.py:88` reads `balance`, adds, writes back — no lock or atomic update |
| H-15 Missing timeout | ✗ Violated | `client.py:30` `requests.post(...)` has no `timeout=` |
| H-32 Dual write | ✓ Clear | Single write path via `outbox` (`orders.py:140`) |
| H-29 Hot partition key | N/A | No partitioning in this component |
Report only applicable hazards, and mark the rest N/A rather than padding the table.
The hazard scan asks whether the code stays correct when things fail. This one asks whether it
stays correct when someone is trying to break it. Run the applicable sections of
security-engineering/references/vulnerability-catalog.md, using its "Quick scan order":
### Vulnerability Scan
| Vulnerability | Status | Evidence |
|---|---|---|
| V-44 Incomplete mediation | ✗ Violated | `orders.py:212` `GET /orders/{id}` loads by id with no tenant predicate; the list endpoint filters but this one does not |
| V-09 Non-cryptographic PRNG | ✗ Violated | `tokens.py:14` uses `random.choices` for the reset token |
| V-25 No replay protection | ✗ Violated | `webhooks.py:40` verifies the signature but accepts any timestamp |
| V-14 Secret in source | ✓ Clear | Key read from `KMS_KEY_ID` env var (`crypto.py:9`); no literal keys in the diff |
| V-01 ECB mode | N/A | No symmetric encryption in this phase |
Three rules for this table:
If the phase spec included a Security Record, verify each mechanism it named actually exists at the point it claimed — a stated mechanism with no code behind it is the finding, and it is worse than an omission because it has already been signed off.
Run each check from the spec's verification plan and report the actual result:
| # | Check | Command | Result |
|---|---|---|---|
| 1 | Duplicate charge impossible | `npm test -- charge.concurrency` | ✗ FAIL — both requests charged |
| 2 | Build | `npm run build` | ✓ pass |
| 3 | Types | `npm run typecheck` | ✓ pass |
| 4 | Rollback | manual | ? Not verified — needs a staging deploy |
If a check cannot be executed, say so explicitly. Do not infer a pass.
## Verification Report: Phase F<N> — [Title]
### Verdict: ✓ PASS | ⚠ PARTIAL | ✗ FAIL
[One sentence justifying the verdict]
### Conformance Summary
| Area | Checks | Pass | Fail | Partial | Unverified |
|---|---|---|---|---|---|
| Structural | 8 | 7 | 1 | 0 | 0 |
| Contracts | 12 | 8 | 3 | 1 | 0 |
| Failure modes | 5 | 3 | 1 | 1 | 0 |
| Hazards | 9 | 7 | 2 | 0 | 0 |
| Vulnerabilities | 11 | 8 | 3 | 0 | 0 |
| Verification plan | 4 | 2 | 1 | 0 | 1 |
### 🔴 Blocking Discrepancies
| # | Item | Specified | Actual | Evidence | Impact |
|---|---|---|---|---|---|
| 1 | Dedup in charge transaction | Unique insert inside the transaction | Pre-flight `SELECT` outside it | `charge.ts:74` | Duplicate charges under concurrency (H-03, H-14) |
### 🟡 Non-blocking Gaps
| # | Item | Gap | Evidence |
|---|---|---|---|
### Unhandled Edge Cases
- [Case] — not handled; would occur when [condition]; evidence: [file:line]
### Missing Observability
- [Signal] — specified in the spec, not found in the code
### Architecture Drift
| Specified | Implemented | Assessment |
|---|---|---|
### Fixes
#### Fix 1 — [Title] (blocking)
**File:** `src/billing/charge.ts:74`
**Current:**
```ts
const existing = await db.query('SELECT … WHERE idempotency_key = $1', [key]);
if (existing) return existing.result;
await charge();
Required:
await db.transaction(async (tx) => {
// Unique index on idempotency_key makes the duplicate fail here, atomically.
await tx.query('INSERT INTO idempotency_keys (key, account_id) VALUES ($1, $2)', [key, accountId]);
await charge(tx);
});
Why: the check and the effect must be atomic; a pre-flight SELECT leaves a window in
which two concurrent requests both pass (hazard H-03/H-14).
STOP — awaiting instruction to apply fixes or to verify F<N+1>.
Append the report to `executor.md` under `## Phase F<N>` and do not create new files.
---
# 10. PACING AND DISCIPLINE
- One phase per invocation. Stop after the report.
- **Do not apply fixes during verification.** Recommend them; wait to be asked.
- Do not soften a verdict to be agreeable. A ⚠ PARTIAL reported honestly is far more
valuable than a ✓ that is wrong.
- Do not pad the report. If a phase is genuinely correct, say so briefly with evidence and
stop.
---
# 11. RELATED SKILLS
| Need | Skill |
|---|---|
| Review without a spec (diff, branch, repo) | `code-review` |
| The spec being verified | `detail-planning` |
| Fix the findings | `implement` |
| Hazard catalog | `data-systems-design` |
| Failure catalog for file, process, signal, and thread code | `systems-programming` |
| Vulnerability catalog and threat models | `security-engineering` |
| Full pipeline | `engineer-workflow` |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
18 skills in this plugin
/capacity-engineeringFinds the resource that reaches its limit first. Proves it with a load test that resembles real traffic. Plans for the load that was measured. Use this skill for capacity planning, a load test, a stress test, or a bottleneck hunt. Use it for a question about headroom, saturation, or throughput. Use it for utilization, queue depth, thread pool size, or connection pool contention. Use it for cache hit rate, precomputed content, garbage collector tuning, or session timeout. Use it for N+1 queries, table scans, or a launch traffic forecast. Use it for load balancing policy, subsetting, and server count. The content comes from Release It! (Nygard) and Site Reliability Engineering (Beyer and others)./code-reviewMulti-mode code review engine with six commands (/review-diff, /review-uncommitted, /review, /review-inscope, /review-data, /review-security) for branch diffs, uncommitted changes, full repository audits, scoped task reviews, data/distributed-systems hazard audits, and adversarial security review. Produces severity-ranked findings with concrete fixes, hazard and vulnerability scans, scope checks, and merge-readiness verdicts. Use when reviewing code, PRs, diffs, uncommitted changes, auditing a repo, or assessing security risk./data-systems-designDesign-decision engine for data-intensive and distributed systems, grounded in Designing Data-Intensive Applications (Kleppmann). Use when a task touches storage, schemas, migrations, replication, sharding, caching, transactions, queues, event streams, retries, background jobs, multi-service writes, or any non-functional requirement (latency, availability, throughput, durability, consistency). Provides decision tables, a named-hazard catalog, and deep-dive references per chapter./detail-planningExpands one phase of plan.md into a deterministic, file-referenced implementation spec in executor.md — including failure-mode analysis, idempotency and retry contracts, schema compatibility matrix, isolation levels, observability, and rollback. Use when the user says detail, detail planning, breakdown, or expand phase./engineering-consultantRead-only engineering consultant with two duties. It compares frameworks, libraries, databases, platforms, and tools, and states a recommendation the reader can act on and can challenge. It explains a technical concept to a person new to it. Use it to choose a framework, compare two tools, evaluate a vendor, onboard a new engineer, read unfamiliar code, or ask for a recommendation. Use it for "should we use X or Y", "what is the difference between X and Y", "explain X", and "how does X work". It reads the repository, the documentation, and the web. It never writes a file. It routes build work to the specialist skills./engineer-workflowUnified engineering pipeline orchestrating Planning, Design, Security, Detail Planning, Implementation, Verification, and Review as one navigable workflow with persistent state in plan.md/executor.md and history tracking. Supports greenfield and brownfield projects. Use when the user wants an end-to-end workflow rather than a single phase.npx claudepluginhub cool-coder174/engineering-skills --plugin engineering-skills