/sdd:validate-implfrom sdd
Generative fork - the feature-level GO/NO_GO gate. Reads completion state from the feature's task beans, runs integration, coverage, design-alignment, and boundary checks with fresh evidence, and returns the verdict with remediation. Runs at feature finish (dispatched by impl) or standalone on demand.
Ships in sdd. 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.
/sdd:validate-impl; this skill body
loads as a fork and IS the task prompt./sdd:impl feature-finish step
dispatches a fresh subagent whose prompt says
Apply: <abs-path>/skills/validate-impl/SKILL.md plus the feature's
spec and workspace paths. Reading and following this file top-to-
bottom is exactly that dispatch's task; the SKILL.md is the single
source of truth for both entries.Neither path carries conversation history, and nothing below may depend on one. Both entries do the same thing: resolve the feature from beans, run the gate, return the verdict contract.
You are a FORK: a fresh subagent with no conversation history. This skill body is your entire task prompt - everything you need is resolved from beans and files below. You NEVER ask the user questions and you NEVER dispatch subagents of your own - you run every check yourself. When you cannot proceed, return the BLOCKED status contract from the Return contract section. The context that invoked you owns all dialogue with the user.
Individual tasks were reviewed during implementation. Your job is to catch what only becomes visible when the completed tasks are viewed together.
Boundary terminology continuity:
Boundary CandidatesBoundary Commitments_Boundary:_Boundary ViolationsIt does not replace task-local review. It does not re-check individual task acceptance criteria, per-file reality (mock/stub detection), or single-task spec alignment. Its one question: when the completed tasks are viewed together, do they respect the designed boundary seams and dependency direction - and is the feature actually finished and verifiable?
Query beans: beans list --json -t epic -s in-progress.
Spec path: line in the bean body
(.sdd/specs/<feature>/); if the body names none, return BLOCKED
asking the main context where the feature lives./sdd:spec-init (a spec is already shaped) or /sdd:discovery
(nothing shaped yet).Query the epic's children, e.g.
beans query --json '{ bean(id: "<epic-id>") { children { id title status body } } }'.
/sdd:spec-tasks: the plan has not been generated.## Blocker note is not complete -
it reads in-progress and counts as open.todo, draft, in-progress) -> the feature
is not finished; the full battery is predetermined to fail. Return
DONE with DECISION: NO_GO, the open tasks as the blocking finding,
and REMEDIATION pointing to /sdd:impl - and say explicitly that
integration checks were skipped because the feature is incomplete.Read, under the spec directory from Step 1:
.sdd/specs/<feature>/requirements.md - REQUIRED. Missing -> return
BLOCKED pointing to /sdd:spec-requirements..sdd/specs/<feature>/design.md - the conformance reference:
boundary commitments, structure map. Missing -> return BLOCKED
pointing to /sdd:spec-design..sdd/specs/<feature>/workspace/ - review packages and other large
evidence blobs; the minor-findings parking lot lives in the task
beans' ## Parking lot sections (Step 2). Reference only: claims
there are never evidence.FEATURE_GO. Its file sits in a sibling skill
directory of this one; resolve it from the absolute path of this file
in your prompt: <given-path>/../verify-completion/SKILL.md (neither
${CLAUDE_SKILL_DIR} nor ${CLAUDE_PLUGIN_ROOT} expands in a
plain-file-read dispatch). Hard rule 4 and Step 5 restate its core
discipline regardless.Feature boundary scope: translate the tasks' _Boundary:_
annotations into path patterns via design.md's structure map; when no
boundary is declared or the translation is not confident, use the full
working tree.
Discover canonical validation commands: inspect repository-local
sources of truth in this order - project scripts/manifests
(package.json, pyproject.toml, go.mod, Cargo.toml, app
manifests), task runners (Makefile, justfile), CI/workflow files,
existing e2e/integration configs, then README*. Derive the full-test
command and the lightest trustworthy smoke command. Prefer commands
already used by repo automation over ad hoc pipelines.
A. Full test suite
B. Residual placeholder markers
grep -rn "TBD\|TODO\|FIXME\|HACK\|XXX" <feature-boundary-paths>C. Residual hardcoded secrets
grep -rni "password\s*=\|api_key\s*=\|secret\s*=\|token\s*=" <feature-boundary-paths>
(case-insensitive)D. Runtime liveness (smoke boot)
--help, service health endpoint - whatever fits the app shape).E. Cross-task integration
F. Requirements coverage gaps
REQ-* aliases.G. Design end-to-end alignment
G.5 Boundary audit
H. Blocked tasks and implementation notes
## Blocker notes (Step 2) and their
impact on feature completeness.## Notes one-liners in the task beans that need cross-cutting
attention.Ownership (before writing any remediation):
LOCAL - the defect belongs to this feature.UPSTREAM - the root cause belongs to a dependency, foundation,
shared platform, or earlier spec. Do not collapse it into local
remediation: name the owning upstream spec and which dependent specs
need revalidation after the upstream fix.UNCLEAR - ownership cannot be established from the evidence.Fresh-evidence discipline: before returning any decision, apply the
verify-completion protocol, claim type FEATURE_GO - a passing test
suite alone is insufficient; the evidence must span full-suite, runtime
liveness, coverage, integration, design alignment, and completion
state.
To the fork (your final message). Return exactly this block - the
caller parses the heading, the - STATUS: line, and the - DECISION:
line mechanically:
## Validation Summary
- STATUS: <DONE | BLOCKED>
- DECISION: <GO | NO_GO | MANUAL_VERIFY_REQUIRED>
- MECHANICAL_RESULTS:
- Tests: PASS | FAIL (command and exit code)
- TBD/TODO grep: CLEAN | <count> matches
- Secrets grep: CLEAN | <count> matches
- Smoke boot: PASS | FAIL | MANUAL_REQUIRED
- INTEGRATION:
- Cross-task contracts: <status>
- Shared state consistency: <status>
- Boundary audit: <status>
- COVERAGE:
- Requirements mapped: <X/Y sections covered>
- Coverage gaps: <uncovered requirement sections, or none>
- DESIGN:
- Architecture drift: <findings or none>
- Dependency direction: <violations or none>
- File Structure Plan vs actual: <match/mismatch>
- INCOMPLETE_TASKS: <open task beans, or none>
- OWNERSHIP: LOCAL | UPSTREAM | UNCLEAR
- UPSTREAM_SPEC: <feature name | N/A>
- REMEDIATION: <mandatory when NO_GO - specific, actionable steps; vague feedback is not acceptable>
- BLOCKERS: <BLOCKED only - the condition and the command to run>
Return GO only when every check passed. Return NO_GO for concrete
failures and MANUAL_VERIFY_REQUIRED when a mandatory validation could
not be executed - and never treat a feature as complete on a manual-
verify result. Do not return GO if the feature only works by smearing
responsibilities across boundaries, even when tests pass.
Remediation is not yours. When dispatched by the impl orchestrator
(feature finish), the orchestrator owns all loop budgets. GO plus an
approved whole-branch review ends the phase.
To the main context (standalone entry only). On DONE:
present the decision with its evidence highlights (the block above is
the report; do not dump spec files into chat), then AskUserQuestion:
GO - suggest completing the feature: finish via /sdd:impl
(feature-finish flow) or complete the epic bean per the global beans
guide; NO_GO - remediate via /sdd:impl or manual work, then
re-invoke /sdd:validate-impl; MANUAL_VERIFY_REQUIRED - state the
exact missing validation or environment prerequisite; the feature is
not complete until it is resolved. On BLOCKED: present the condition and
the named command, then AskUserQuestion on how to proceed.
What SKILL.md sets; muted values are Claude Code's defaults
opusOther plugins' skills for the same job
npx claudepluginhub jazz-man/claude-marketplace --plugin sdd15 skills in this plugin
/debugRoot-cause-first debugging protocol - reproduce, isolate, confirm the root cause, then plan the minimal fix. Use when an implementer is blocked, verification fails, or repeated remediation does not converge./discoveryEntry point for new work. Researches the user's idea against the codebase, the workstream brief, and beans state, then routes it via AskUserQuestion - extend an existing spec, no spec needed (answered directly in chat), a single new feature, or a sequential multi-spec initiative queued in beans. Writes .sdd/brief.md./implExecute the active feature's approved task plan one task at a time - dispatch subagent implementers and reviewers, run the bounded fix loop, verify completion with fresh evidence, and stop after every task for the user's review./initWrite the user-owned .claude/rules/sdd.md workflow-rules file from the plugin's default workflow map (single source of truth - no second copy anywhere). Refuses politely when the file exists and offers a read-only diff instead of overwriting. User-invoked./reviewAdversarial task-local review protocol - verify an implementation is real, complete, bounded, spec-aligned, and backed by mechanical evidence. Use after an implementer finishes a task, after remediation, or before accepting a task as complete./spec-designGenerative fork - research the active feature (discovery by classification) and write design.md with boundary-first architecture, considered alternatives with trade-offs, and a mermaid diagram. Use after /sdd:spec-requirements; the main context presents the result and runs the confirm gate.