plugins/review-suite/skills/ln-12-delivery-reviewer/SKILL.md
Reviews a completed scoped change and its affected runtime and contract paths. Use to find change-caused defects and verify readiness; not for codebase audit, implementation, or repair.
npx skillsauth add levnikolaevich/claude-code-skills ln-12-delivery-reviewerInstall 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.
Goal: Review only the requested delivery change and the causal runtime, contract, and data paths needed to prove its business outcome. Judge whether that scope meets acceptance and is safe to release; do not audit unrelated code, repair findings, update trackers, or widen scope.
Execution contract: Treat the ordered checkbox workflow below as this skill's Definition of Done. Work through every item in order, and mark it complete only when its action and required evidence are complete. N/A, skipped, unavailable, or delegated items remain incomplete.
Before returning, apply this skill's verdict, decision, and approval rules to every incomplete item and prepend Checklist: X/Y complete<br>Incomplete: None | section/item — reason; outcome impact; exact next action; list every incomplete item.
| Need | Preferred tool | Use it when | Fallback |
|---|---|---|---|
| Business scope, requirements, and repository rules | Native file read plus Git | Always establish the business outcome, acceptance boundary, non-goals, branch, comparison base, and working-tree state | User-provided requirements plus explicit limitations |
| Changed behavior | git diff, git status, and focused file reads | Establishing the exact implementation delta and affected entrypoints | Compare the supplied implementation against its stated baseline |
| Definitions, callers, consumers, and contracts | Language server or host-native code intelligence | Correctness of an affected path depends on unchanged symbols, routes, events, or public surfaces | Targeted search and direct inspection that stops when the affected causal path is proven |
| Build and automated verification | Repository-defined shell commands | The repository exposes build, lint, type, test, migration, or smoke commands | Inspect CI and scripts; mark execution as unverified |
| User-visible behavior | Browser, application client, API client, or runtime logs | Acceptance depends on rendered UI, interaction, protocol response, or observable runtime behavior | Static trace plus an explicit manual-verification requirement |
| External contracts and standards | Official vendor documentation, specifications, advisories, and release notes | A current external fact can change severity or correctness | Web research from primary sources; otherwise mark UNVERIFIED |
| Independent review | Native subagents with separate contexts | Every code-bearing review; assign one evidence lens per subagent and run independent passes in parallel | Return BLOCKED when required independent coverage has no credible replacement; never claim the panel ran |
The delivery gate is intentionally stricter than plan review: independent code-review coverage cannot be simulated by self-review because acceptance depends on genuinely separate evidence passes.
Use tools to answer specific evidence questions. A failed tool is a limitation, not a product defect. Never convert an unavailable build, advisor, browser, or documentation source into a failing finding without implementation evidence.
| Evidence | Weight | |---|---| | Reproduced behavior, failing test, compiler output, or deterministic command | Strongest evidence of current behavior | | Changed code plus verified caller, consumer, schema, or configuration path | Strong static evidence | | Acceptance criterion mapped to an implementation and verification result | Required delivery evidence | | Official external contract matching the used version | Strong evidence for standards and compatibility | | Pattern match, reviewer intuition, or generic best practice | Lead only until connected to a concrete failure or risk |
A finding must name the affected business behavior, its causal link to the change, evidence, impact, and smallest credible correction. Do not report style preferences or unrelated repository health concerns.
The review unit is the business change, not the repository. Reading unchanged code is permitted only to prove an affected path and never brings unrelated defects into scope. Verify every accepted claim against the implementation, executable behavior, or an authoritative contract.
Use a Six Thinking Hats-inspired protocol to create genuinely different review questions. This is a code-review adaptation: hats are temporary evidence lenses, not personalities. The lead reviewer holds the Blue role by scoping the review, selecting agents, verifying their claims, resolving conflicts, and issuing the verdict.
Scale the panel to the risk and size of the change. For a small, low-risk change that activates no specialist risk trigger, spawn White and Black; add another canonical hat only when it can change the verdict. For ordinary medium-risk work, run White and Black plus one to three canonical or specialist hats selected by distinct evidence questions. Run all five canonical non-Blue hats for high-risk, architectural, cross-service, unfamiliar, or materially ambiguous work. Add up to four specialist hats only when changed code activates their risk triggers. The result is two to nine subagents plus the Blue lead.
| Required hat | Independent review question | |---|---| | White — facts | What business behavior changed, what was required, which causal paths are affected, and what scoped evidence is missing or inconsistent? | | Red — human response | Within the changed experience, what will surprise, confuse, frustrate, or mislead a user, developer, reviewer, or operator? Treat intuition as a hypothesis until reproduced or traced. | | Black — caution | How can the changed behavior regress, corrupt state, violate a trust boundary, or fail at edges and under partial failure? | | Yellow — value | What intended value, compatibility, and sound tradeoffs of this change must be preserved, and which apparent problems are false positives or overcorrections? | | Green — alternatives | Is there a materially simpler, safer, more maintainable, or more testable implementation of the scoped change that avoids demonstrated risk without widening scope? |
| Optional specialist hat | Add when the diff includes | Focus | |---|---|---| | Security and privacy | Authentication, authorization, untrusted input, secrets, sensitive data, isolation, or destructive actions | Trace trust boundaries and sensitive-data flow; require concrete guards and recovery evidence for destructive behavior. | | Data and concurrency | Schemas, migrations, transactions, caches, queues, events, shared state, async work, locks, or ordering | Check atomicity, races, duplicate delivery, producer/consumer names and payloads, runtime registration, and orphan channels. | | API and compatibility | Public interfaces, protocols, serialization, configuration contracts, SDKs, plugins, or mixed versions | Trace every consumer and confirm that removed signatures, aliases, re-exports, adapters, and compatibility paths match the supported contract. | | Target architecture and migration | An approved plan or target architecture, replacement, refactor, cutover, deprecation, or compatibility cleanup | Map planned decisions to code; prove the target state is complete; find unexplained deviations, dual paths, old implementations, aliases, shims, re-exports, adapters, flags, and unmigrated callers that preserve superseded architecture. | | Test, oracle, and business behavior | Critical behavior with weak proof, complex regressions, changed test infrastructure, mocks, snapshots, time, or randomness | Map critical requirements and business invariants to observable outcomes. Treat tests as low-value only when they add no repository-owned confidence; crossing a real dependency is valid when it proves owned boundary behavior. Select E2E, integration, contract, or unit coverage at the narrowest deterministic risk seam. | | Performance and reliability | Hot paths, I/O, resource ownership, retries, timeouts, load, availability, or distributed coordination | Look for unbounded work, amplification, measurement gaps, resource leaks, retry storms, and unsafe degradation. | | UI and accessibility | Rendering, interaction, keyboard or screen-reader behavior, responsive layouts, localization, or visual state | Verify keyboard flow, focus behavior, accessible names, reduced-motion preferences, meaningful copy, localization, and rendered behavior. | | Operations and release | Deployment order, feature controls, environment changes, observability, rollback, recovery, or support procedures | Prove safe rollout and rollback, configuration validation, useful signals, and recovery steps in the intended environment. |
Choose at most four specialists by highest plausible impact, likelihood, and rollback difficulty. Prefer trust-boundary, data-loss, public-contract, and concurrency risks. Do not add two agents with substantially the same evidence question. Record why each specialist was selected or why a triggered perspective was merged into another hat.
Each subagent returns a compact report:
**Hat:** name
**Coverage:** paths, symbols, scenarios, and commands inspected
## Candidate findings
- Priority candidate; location; scope link to the change; evidence; causal path and violated contract; impact; confidence; smallest credible correction
## Rejected hypotheses
- Suspected issue and evidence that ruled it out
## Open questions and limitations
- Missing evidence and the exact check needed
No findings is a valid result. A hat must not manufacture comments to justify its existence.
UNKNOWN and use BLOCKED when the thesis cannot be established reliably.PASS, FAIL, or UNPROVEN.KEEP, ADD, UPDATE, DELETE, or MERGE; verify that it would fail for its intended defect and inspect assertions, critical success and failure paths, authorization, boundaries, data integrity, over-mocking, snapshots, flakes, shared state, time, randomness, and order dependence. Recommend DELETE only when equal or better trusted coverage preserves its failure modes; recommend MERGE only when consolidation removes duplication without obscuring behavior, oracle strength, or failure localization.UNPROVEN and explain the exact evidence still required.P0 through P3: immediate catastrophic risk, release blocker, important non-blocking defect, or minor actionable issue.FAIL for any evidenced unresolved P0 or P1, unmet acceptance criterion, required failing gate, or demonstrated unsafe high-risk behavior.CONCERNS only when remaining issues are explicitly non-blocking and the accepted risk is stated. Use PASS only when required evidence is complete.BLOCKED when a required hat, risk-triggered specialist, safety environment, authoritative contract, or other acceptance prerequisite is unavailable without an equivalent credible replacement; report the gap as coverage, not a product defect.# Delivery Review
**Verdict:** PASS | CONCERNS | FAIL | BLOCKED
## Scope and evidence
- Business change thesis, non-goals, and acceptance criteria
- Comparison base, head, and exact implementation delta
- Scope map: changed, causally supporting, and explicitly excluded surfaces
- Commands, discovery sources, and runtime checks executed
- External sources and limitations
## Acceptance matrix
| Requirement | Evidence | Verification | Result |
|---|---|---|---|
| ... | ... | ... | PASS / FAIL / UNPROVEN |
## Independent review panel
| Hat | Why selected | Coverage | Result |
|---|---|---|---|
| White / Red / Black / Yellow / Green / specialist | required or triggered risk | inspected surfaces and checks | findings / no findings / failed |
## Findings
### [P0 | P1 | P2 | P3] Finding title
- Location and scope link: file, symbol, route, schema, or runtime surface; changed behavior, affected path, or acceptance criterion
- Evidence: observed behavior, command, code path, or authoritative contract
- Root cause: causal path and violated requirement, invariant, or contract
- Impact: concrete delivery or operational consequence
- Required change: `KEEP` / `ADD` / `UPDATE` / `DELETE` / `MERGE` when a test is affected, plus the smallest sufficient correction
## Verification and test-action summary
Passed, failed, skipped, and unavailable checks with reasons; list every affected test with its `KEEP`, `ADD`, `UPDATE`, `DELETE`, or `MERGE` action.
## Residual risks
Accepted tradeoffs and unavailable evidence within the scoped change; do not include unrelated repository health observations.
testing
Drafts and publishes fact-checked GitHub Discussions announcements. Use for releases, updates, or project news; not for release creation or issue responses.
testing
Prepares and publishes a tagged GitHub release from repository evidence. Use for an explicit release request; not for ordinary commits, packages, or community news.
testing
Validates, commits, pushes, and remotely verifies approved repository changes. Use when publication is requested; not for releases, package publishing, or announcements.
development
Reviews standalone skills and their configured distribution surfaces before publication. Use for skill release readiness; not for product code or implementation-plan review.