/adev:implementfrom adev
Executes implementation plans by dispatching specialist subagents per task, enforcing TDD discipline, and running depth-graded reviews. Use after planning to begin development.
Ships in adev. 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.
Read when SKILL.md points to them.
Execute an implementation plan by dispatching a fresh subagent per task (a task that resolves lite runs inline in your own context instead), routing to domain specialists when applicable, applying the test discipline of the project's implementation_mode (TDD by default), and running a depth-graded review after each task (one synthesized reviewer by default, full two-stage review — spec compliance then code quality — when a floor leg applies or under --tier full).
Never end your turn to wait for a dispatched subagent. A synchronous dispatch (run_in_background: false) returns its final result directly in the tool call — there is nothing to wait for. If a dispatch ever returns a task ID instead of a result, that is a bug in the dispatch (the rule above was violated, or the harness backgrounded it anyway): fix the dispatch and re-run it synchronously. Do not end the turn hoping a completion notification will resume you — in a nested subagent context it will not. If this skill is itself running as a dispatched subagent (e.g., a build pipeline step), your own caller is waiting on a result contract — for build pipeline steps this is the STEP_RESULT format defined in skills/build/SKILL.md. Ending your turn without that result to report is a protocol violation, not a valid pause point.
Always pass run_in_background: false. The harness backgrounds Agent dispatches by default: the call returns immediately with a task ID and the caller is only re-invoked by a completion notification. That notification path is reliable only at the top level of a session — inside a nested subagent context (implement usually runs as a build-step subagent) it does not re-invoke the caller, so a backgrounded dispatch stalls the task loop (field-observed as implement subagents that auto-background and never report a status). This applies to every subagent dispatch in this skill: implementer, write-test, spec reviewer, code quality reviewer, visual verifier, and final reviewer.
Load Skill Extensions: After loading the spec context bundle, load any skill extension instructions:
adev skill-ext load --skill implement
If the output is not __NONE__, incorporate it as additional standing instructions that apply to this skill's entire execution. Frame it as: "The following skill extension instructions apply to this invocation (source: installed domain extensions and/or project-level overrides)." If the output is __NONE__, continue normally.
<plan-path>: path to the plan file (required). Usually .context-index/specs/features/<module>/<spec-slug>.plan.md.--task <N>: execute only task N (useful for re-running a single task after a fix)--dry-run: show routing decisions and specialist matches without executing--no-infra: skip infrastructure preflight checks (user-only — the agent must never set this flag)--verbose: disable silent execution for per-task subagents. Includes VERBOSE: true in subagent prompts so they narrate each step. Useful for debugging task failures.--parallel: run file-disjoint task groups concurrently in adev-managed worktrees instead of strictly serially (see Step 2.5). Falls back to serial when the plan has no usable ## Parallelization section.--fresh: with --parallel, on a re-run collision auto-remove the retained worktree (adev worktree remove --force) and proceed, instead of aborting the group with RERUN_COLLISION. No effect without --parallel.--no-batch: force solo dispatch for every task, restoring today's strict one-subagent-per-task behavior. Rejected with CONFLICTING_BATCH_FLAGS when combined with --parallel (--parallel's unit of dispatch is already the group — the two flags would disagree about what "batching off" means).--max-batch <n>: per-run override of implement.max_batch_size (default 4). 1 is equivalent to --no-batch.--review-cycles <n>: per-run override of implement.max_review_cycles (default 3), forwarded to every adev implement resolve-depth call (the verb is the only validator).--lite: operator authorization for lite review depth, equivalent to --tier lite. A task granted lite runs inline with no per-task reviewer, behind a post-task tripwire. Operator-only: an agent never adds it (see the no-self-selection rule in Prerequisites). Combined with --tier full or --tier quick it is refused with CONFLICTING_TIER_FLAGS.--tier <full|quick|lite>: per-run review-depth tier. full is absolute: every task gets both review stages, no floor leg is consulted and no lite is granted. quick is the baseline: one synthesized reviewer per task, a floor leg can still raise a task to full, and no lite is granted, even when risk-policies.yaml authorizes it. lite is the same as --lite.Before starting, verify all six conditions. If any fails, stop and tell the user what to fix.
Tier flags and risk policies are valid. Run check-flags before anything else, including the plan step gate in condition 5:
adev implement check-flags --spec <spec-path> [--lite] [--tier <t>] [--parallel]
Pass --lite, --tier and --parallel exactly as the operator passed them to this invocation, and nothing else. If it exits 1 (CONFLICTING_TIER_FLAGS, INVALID_TIER, LITE_NOT_ALLOWED_FOR_HIGH, or another code its stderr names), stop and surface stderr unchanged. No lifecycle event has been written, so emit no failure-path exit event either.
On success it prints { lite_authorized, lite_source, tier, run_base, warnings }. Keep run_base, lite_source and tier for the whole run: run_base is passed as --run-base to every later adev implement resolve-depth and batches call, and tier is the operator's explicit tier (or null), never the policy baseline. When lite_authorized is true, print lite authorized via <lite_source> once. Relay every warning to the operator, including LITE_SUPPRESSED_PARALLEL (lite is not granted under --parallel) and POLICY_UNCOMMITTED_CHANGES (the run reads the risk policies committed at run_base, not the working-tree edit).
No self-selection. --lite and --tier lite come only from what the operator typed or from implement_mode: lite in risk-policies.yaml, which check-flags reads. Never add --lite or --tier lite on your own judgment, to this skill or to any verb it calls. A /adev:route lite-eligible count is an eligibility signal, not an authorization.
No conflicting batch flags. If both --no-batch and --parallel were passed to this skill invocation, stop immediately with CONFLICTING_BATCH_FLAGS — do not proceed to Step 1, Step 2, or Step 2.5. This check runs here, unconditionally, precisely because it must fire regardless of which of those steps the run would otherwise take: --parallel present routes to Step 2.5's group dispatch instead of Step 2's per-task loop, and Step 2's own "Batch resolution" paragraph (where adev implement batches is invoked) never executes on that path — so the flag conflict would otherwise go undetected on exactly the run where the operator most needs to hear about it. Report the same message adev implement batches itself would give: "CONFLICTING_BATCH_FLAGS: --no-batch and --parallel are mutually exclusive — --parallel's unit of dispatch is already the group. Drop one flag."
Plan exists. The plan file must exist and be readable.
Context Index exists. .context-index/ must be present with constitution.md and manifest.yaml.
Plan step gate. Immediately after check-flags (condition 1), before reading the plan file or loading context, gate on the prior step via the lifecycle log, then emit the step-started event:
adev gate require --skill implement --spec <spec-path>
adev report --type step --spec <spec-path> --step implement --status started
In strict mode (default — resolved from manifest.yaml's lifecycle.gate_mode), adev gate require exits 2 if plan did not complete with a passing verdict — the skill stops and the operator is told which prior step is missing. In advisory mode, it emits a warning and exits 0. Do NOT catch the failure — surface the helper's stderr unchanged. Path-containment is enforced by the helper (INVALID_PROJECT_ROOT / INVALID_SPEC_PATH); skill prose MUST NOT pre-validate paths.
When all tasks finish in Step 4, emit the matching exit event with an explicit --verdict PASS. Downstream gates (/adev:validate::adev gate require) require the prior step to have completed with a passing verdict; omitting it forces the operator to re-emit the event manually. This point is only reached after all tasks completed and the Step 2-post integration gate passed, so success here implies PASS. Failures after that gate emit --status failed instead — see "Failure-path exit event" below.
adev report --type step --spec <spec-path> --step implement --status completed --verdict PASS --from-summary
Failure-path exit event. Whenever the skill stops after the --status started event above without reaching the exit event, emit the terminal event before surfacing the error to the operator:
adev report --type step --spec <spec-path> --step implement --status failed --verdict FAIL
--verdict FAIL is required, not decorative — a step_failed without one is overwritten by the verdict synthesized from the actor reports on the log, so a run that died partway projects as passing and opens the validate gate on unfinished work. For the enumerated abort paths that MUST emit it, follow <ADEV_ROOT>/skills/implement/references/failure-path-exit-event.md.
Already covered — do not double-emit. Per-task escalations terminate through the Step 2d blocker path (plan_task blocked): the blocker-flag protocol, MISSING_DEPTH_ASSIGNMENT, and LOOP_BUDGET_EXHAUSTED / LOOP_NO_PROGRESS / LOOP_REGRESSED. Emit the step-level failed event only when the whole skill stops.
Known gap: adev report --type step accepts no --error flag, so the abort's error code cannot ride on the event. Name it in operator-facing output instead.
Working branch. The current git branch must not be main or master. If it is, stop and ask the user to create a feature branch following the naming convention in manifest.yaml (default: <type>/<module>/<short-description>, e.g. feat/auth/login-flow).
Loads plan, spec, charter, heuristics, and the shared-helper inventory before the first task.
Conditional loading: Read
<ADEV_ROOT>/skills/implement/references/steps/step-1-load-context.mdfor the full instructions. Do not act on this section from the summary above.
How tasks are discovered from the plan and how their state is tracked.
Conditional loading: Read
<ADEV_ROOT>/skills/implement/references/task-discovery-and-state.mdfor the full instructions. Do not act on this section from the summary above.
Legal task state transitions and the events each one emits.
Conditional loading: Read
<ADEV_ROOT>/skills/implement/references/task-transitions.mdfor the full instructions. Do not act on this section from the summary above.
The one-line advisory printed when running repo-scoped inside a workspace.
Conditional loading: Read
<ADEV_ROOT>/skills/implement/references/repo-mode-advisory.mdfor the full instructions. Load it only whendetectWorkspace(cwd)is non-null; it is not needed in a single repo.
Runs only when the spec or plan declares infra_requirements.
Conditional loading: Read
<ADEV_ROOT>/skills/implement/references/steps/step-1.5-infra-preflight.mdfor the full instructions. Do not act on this section from the summary above.
Harness-specific progress reporting during a long implement run.
Conditional loading: Read
<ADEV_ROOT>/skills/implement/references/steps/step-1.6-progress-tracking.mdfor the full instructions. Do not act on this section from the summary above.
The core loop: for each routed task, resolve its test depth (except under agent-default), dispatch the implementer under the test discipline of the resolved implementation_mode, then run the review the task's resolved depth requires (full: Stage 1 then Stage 2; quick: one synthesized reviewer). A task that resolves lite runs inline in your own context instead, with no Agent dispatch and no per-task reviewer, and the post-task tripwire can escalate it to quick or full.
Conditional loading: Read
<ADEV_ROOT>/skills/implement/references/steps/step-2-per-task-loop.mdfor the full instructions. Do not act on this section from the summary above. Whenliteis not authorized it governs every task; when it is, read it only when a task first resolvesquickorfullor escalates.
Conditional loading: Read
<ADEV_ROOT>/skills/implement/references/lite-mode.mdfirst whencheck-flagsprintedlite_authorized: true, and start every task withadev implement task-beginas it states. It is not needed otherwise.
Conditional loading: Read
<ADEV_ROOT>/skills/implement/references/parallel-mode.mdfor the full Parallel Group Execution instructions. Load it only when--parallelis passed; it is not needed on a serial run.
Conditional loading: Read
<ADEV_ROOT>/skills/implement/references/integration-gate.mdfor the full Integration Gate instructions. Load it after every task of a full plan run has completed (skip under--task <N>unless that task stayedlitethrough its tripwire). It selects the end-of-implement gates itself, and runs the whole-run quality gates when any task resolvedlite.
The whole-plan review that runs once every task has completed.
Conditional loading: Read
<ADEV_ROOT>/skills/implement/references/steps/step-3-final-review.mdfor the full instructions. Do not act on this section from the summary above.
Closing actions once the final review passes.
Conditional loading: Read
<ADEV_ROOT>/skills/implement/references/steps/step-4-completion.mdfor the full instructions. Do not act on this section from the summary above.
Writes the spec status transition and refreshes the source manifest.
Conditional loading: Read
<ADEV_ROOT>/skills/implement/references/steps/step-5-spec-status-and-manifest.mdfor the full instructions. Do not act on this section from the summary above.
When committing implementation work, include structured trailers in commit messages for traceability:
feat(<module>): implement <description>
Spec: .context-index/specs/features/<module>/<spec-slug>.spec.md
Plan-task: <task-number>
Session: <session-id or timestamp>
These trailers enable /adev:retro and /adev:hygiene to trace commits back to specs and tasks.
The completeness bar a feature must clear before implement may report done.
Conditional loading: Read
<ADEV_ROOT>/skills/implement/references/steps/step-6-definition-of-done.mdfor the full instructions. Do not act on this section from the summary above.
Never:
full: both stages; quick: the synthesized reviewer; lite: none, but the tripwire always runs)implementation_mode for any task (under tdd: RED-GREEN-REFACTOR, no exceptions)if visible, try/catch, >= 0)Library functions this skill wraps, for reference when reading its CLI verbs.
Conditional loading: Read
<ADEV_ROOT>/skills/implement/references/api-reference.mdfor the full instructions. Do not act on this section from the summary above.
Implementation complete. The next step is /adev:validate — post-implementation checks against the spec and constitution.
If invoked via /adev:work, offer to continue: "Implementation done. Continue to /adev:validate?" The user can stop here.
feature-completeness-dod.md (opens in a new tab)graduated-review-depth.md (opens in a new tab)references/agent-default-mandate.md (opens in a new tab)references/api-reference.md (opens in a new tab)references/batched-mode.md (opens in a new tab)references/code-quality-checklist.md (opens in a new tab)references/failure-path-exit-event.md (opens in a new tab)references/integration-gate.md (opens in a new tab)references/lite-mode.md (opens in a new tab)references/parallel-mode.md (opens in a new tab)references/repo-mode-advisory.md (opens in a new tab)references/steps/step-1-load-context.md (opens in a new tab)references/steps/step-1.5-infra-preflight.md (opens in a new tab)references/steps/step-1.6-progress-tracking.md (opens in a new tab)references/steps/step-2-per-task-loop.md (opens in a new tab)references/steps/step-3-final-review.md (opens in a new tab)references/steps/step-4-completion.md (opens in a new tab)references/steps/step-5-spec-status-and-manifest.md (opens in a new tab)references/steps/step-6-definition-of-done.md (opens in a new tab)references/task-discovery-and-state.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub agentic-development/adev-plugin --plugin adev31 skills in this plugin
/assessadev:assessAssess codebase readiness for agentic development. Scans the codebase using static file inspection and outputs maturity scores across 8 structural dimensions (raw mode) or 11 dimensions (adev mode). Use when you want to evaluate how well-suited a codebase is for AI-assisted development, identify improvement areas, or track progress over time./brainstormadev:brainstormExplore a feature idea interactively and produce a Feature Charter. Validates against constitution and existing charters. Use before building any new feature or module, when the user mentions a new capability, or says 'let us build X'./Other plugins' skills for the same job