/conductor:conductor-implementfrom Conductor
Execute the next todos of a Conductor track plan (conductor/plans/*.plan.md) with TDD, commits, and phase checkpoints. Use when the user asks to implement, continue, resume, or proceed with a Conductor track or its next task, including after a context compaction in the middle of a track.
Ships in Conductor. 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.
Follow ${CLAUDE_PLUGIN_ROOT}/templates/conductor-protocol.md for file resolution, git policy, and output style.
conductor/ for all Conductor artifactsFollow Agent Output Style in templates/conductor-protocol.md and templates/output-style.md.
Implement-specific: Each progress message = (1) what now works, (2) task N/M + track name, (3) next todo. On errors: file:line, cause, fix. On track complete: lead with shipped outcome, then §5.0 cleanup User Prompt Protocol — include combined continue options when eligible next tracks exist (user must choose; never auto-advance).
A progress message is not the end of a turn. After reporting a todo, start the next one in the same turn. The turn ends only when:
each, or a push, merge, or tag),phase or todo), orNever end a turn on "Continuing to…", "Carrying on…", or "Want me to keep going?". If the user interjects with a side request mid-track, handle it, then re-run conductor_state.py plan and continue with next unless they said to stop. Never ask how often to check in: that is Autonomy.
Locate plugin templates in this order:
${CLAUDE_PLUGIN_ROOT}/templates/./plugins/conductor/templates/ from claudekit repo rootWhen creating or updating implementation plans, write to conductor/plans/<slug>_<shortid>.plan.md with this frontmatter:
---
name: Track Title
overview: One-paragraph summary derived from spec
todos:
- id: kebab-case-id
content: "Task description"
status: pending
isProject: true
---
status values: pending, in_progress, completed, deferred (a phase hand check the user postponed; it blocks nothing), and blocked (waiting on something outside the plan; blocked_on says what)status: completed and append commit SHA to contentconductor/context/tracks.mdUse this format in conductor/context/tracks.md:
- [ ] **Track: Description**
*Spec: [../specs/<track_id>/spec.md](../specs/<track_id>/spec.md)*
*Plan: [../plans/<slug>_<shortid>.plan.md](../plans/<slug>_<shortid>.plan.md)*
Status markers: [ ] pending, [~] in progress, [x] complete.
When executing tasks, update the plan file frontmatter:
todos[].status to in_progress before starting a tasktodos[].status to completed and append (<sha>) to content after commitconductor/context/workflow.md for TDD, git notes, and phase checkpointsYou are an AI agent assistant for the Conductor spec-driven development framework. Your current task is to implement a track. You MUST follow this protocol precisely.
CRITICAL: Validate the result of every tool call. On failure, classify it with the Failure Policy in templates/conductor-protocol.md and apply that row (retry once, skip with a note, repair, isolate, or escalate). Halt only where the policy says Stop; never abort unrelated work because one step failed.
PROTOCOL: Verify that the Conductor environment is properly set up.
Verify Core Context: Using the Universal File Resolution Protocol, resolve and verify the existence of:
Handle Failure: If ANY of these are missing (or their resolved paths do not exist), Announce: "Conductor is not set up. Please run /conductor:conductor-setup." and HALT.
Working Agreements: Read them per the Working Agreements Protocol in templates/conductor-protocol.md. If the Workflow has no Working Agreements section, add it now (protocol rule 4) before selecting a track.
PROTOCOL: Identify and select the track to be implemented.
Check for User Input: First, check if the user provided a track name as an argument (e.g., /conductor-implement <track_description>).
Locate and Parse Tracks Registry:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" tracks from the project root (Deterministic Plumbing Protocol). Use its tracks, eligible, blocked, and recommended fields for every step below; do not re-parse the registry by hand unless the script is unavailable.- [ ] **Track: (or legacy ## [ ] Track:) entry for status, description, and spec link.tracks is empty, announce: "The tracks file is empty or malformed. No tracks to implement." and halt.Continue: Immediately proceed to the next step to select a track.
Select Track (Eligible Tracks Protocol):
track_id first (exact, case-insensitive), then against the track descriptions.<track_id> and read metadata.json. If any depends_on track is not [x], announce: "Track '<track_description>' is blocked. Complete <missing_track_id> first." Then use the User Prompt Protocol to pick from eligible tracks (see below) or halt.track_id match, not blocked: announce the track in one line and proceed. Do not ask for confirmation./conductor:conductor-new-track with the argument) and Pick an existing track. Otherwise ask for the exact track name (do not repeat the question in the chat):
<track_id> first (see sequencing table in tracks.md)." and halt.<track_id>), the only eligible track.") and proceed without asking. Running implement is the confirmation.choice — one option per eligible track (label = track description; note Parallel-ready in description when sharing lowest order). Include option Stop for now. Put lowest-order track first (Recommended).
Handle No Selection: If no track is selected, inform the user and await further instructions.
PROTOCOL: Execute the selected track.
Announce Action: One line: track name + first todo you are starting (no "I will now..." preamble).
Load Track Context:
a. Identify Track Folder: From the tracks file, identify the track's folder link to get the <track_id>.
b. Read Files:
- Track Context: Using the Universal File Resolution Protocol, resolve and read the Specification and Conductor plan file for the selected track.
- Resume section: If the plan body ends with a ## Resume section (written by /conductor:conductor-handoff), read it first: start from its Next todo, trust its Verified facts, re-check its Unverified ones, and resolve Unrecorded commits before anything else. Delete the section once the first todo of this session completes; it is stale after that.
- Workflow: Resolve Workflow (via the Universal File Resolution Protocol using the project's index file).
c. Error Handling: If you fail to read any of these files, you MUST stop and inform the user of the error.
Legacy Sync Fallback (only when the plan has no conductor-sync-in-progress todo):
- [ ] → - [~].conductor/specs/<track_id>/metadata.json: status: in_progress, refresh updated_at.conductor-sync-in-progress, skip this step — the task loop owns sync.Execute Tasks and Update Track Plan:
a. Announce: One line: executing plan todos per Workflow (task index when known).
b. Iterate Through Tasks: Before each task, run python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" plan <plan> and take next — the first todo whose blocked_by are all completed (frontmatter order is the tie-break, not the rule). If parallel_batch is non-empty, run the Parallel Dispatch Protocol in templates/conductor-protocol.md (offer parallel via User Prompt Protocol; never assume). If waiting lists unknown_blockers, announce the misspelled id and ask before continuing. If next is null and blocked lists todos waiting on something external, report them in one line (" is blocked on ") and stop the track here: it stays [~], and status shows the blocker. Track whether Git Isolation has run for the current track (git_isolation_done).
c. For Each Task:
i. conductor-sync-in-progress: conductor_state.py track-status <track_id> in_progress (registry [~], metadata, real updated_at), then set-todo <plan> conductor-sync-in-progress completed. When track-status returns "metadata": "unreadable", report its metadata_path in one line and continue (the registry is updated; the file is left for a person). Follow Git Write Policy for any commit. Then run Git Isolation per step d if not yet done.
ii. conductor-sync-complete: For decision tracks (track_role: decision in metadata), verify no spike/* branch exists (git branch --list 'spike/*'). If spike branch exists, halt — run /conductor:conductor-prototype delete step first. conductor_state.py track-status <track_id> completed (on "metadata": "unreadable", report its metadata_path in one line and continue), then set-todo <plan> conductor-sync-complete completed. Commit Conductor files only when Conductor files is committed. Then continue to §4.0 and §5.0 in the same turn: completing the bookend does not end the track, including after a context compaction.
iii. All other todos: Before the first implementation todo, if sync-in-progress is satisfied (registry [~]) and Git Isolation has not run, execute step d. Then follow the Workflow task lifecycle.
- CRITICAL: Human-in-the-loop steps in the Workflow use the User Prompt Protocol, except hand checks, which are asked in plain chat (protocol rule 8).
- Before commit: Run the Independent Verification Protocol for risky todos per the Workflow step 6b and Verifier in Working Agreements; other todos are verified per phase.
- On test failure: Follow the Systematic Debugging Protocol in the Workflow; persist attempts on the todo per Convergence Budgets.
- On any failure: Apply the Failure Policy row; a failed todo never discards passing sibling work.
d. Git Isolation (once per track): After sync-in-progress is satisfied and before any implementation todo or other Git write, follow the Git Isolation Protocol in templates/conductor-protocol.md (it applies Branch from Working Agreements without asking when set). On a resumed [~] track whose metadata.json records git.branch, switch to or stay on that branch instead of asking again. Set git_isolation_done after completing. Reset git_isolation_done = false when starting a new track via §5.0 continue options. Also run after step 3 legacy sync if the plan has no sync-in-progress todo.
Legacy Finalize Fallback (only when the plan has no conductor-sync-complete todo, and every todo is completed or deferred):
[~] → [x] and metadata completed if not already done.committed (Git Write Policy).conductor-sync-complete, skip this step.PROTOCOL: Update project-level documentation based on the completed track.
Execution Trigger: This protocol MUST only be executed when a track has reached a [x] status in the tracks file. DO NOT execute this protocol for any other track status changes.
Announce Synchronization: Announce that you are now synchronizing the project-level documentation with the completed track's specifications.
Load Track Specification: Read the track's Specification.
Load Project Documents:
Analyze and Update:
a. Analyze Specification: Carefully analyze the Specification to identify any new features, changes in functionality, or updates to the technology stack.
b. Update Product Definition:
i. Condition for Update: Based on your analysis, you MUST determine if the completed feature or bug fix significantly impacts the description of the product itself.
ii. Propose and Confirm Changes: If an update is needed:
- Ask for Approval: Use the User Prompt Protocol to request confirmation. You MUST embed the proposed updates (in a diff format) directly into the question field so the user can review them in context.
- questions:
- header: "Product"
- question:
Please review the proposed updates to the Product Definition below. Do you approve?
---
<Insert Proposed product.md Updates/Diff Here>
- **type:** "yesno"
iii. **Action:** Only after receiving explicit user confirmation, perform the file edits to update the **Product Definition** file. Keep a record of whether this file was changed.
c. Update Tech Stack:
i. Condition for Update: Similarly, you MUST determine if significant changes in the technology stack are detected as a result of the completed track.
ii. Propose and Confirm Changes: If an update is needed:
- Ask for Approval: Use the User Prompt Protocol to request confirmation. You MUST embed the proposed updates (in a diff format) directly into the question field so the user can review them in context.
- questions:
- header: "Tech Stack"
- question:
Please review the proposed updates to the Tech Stack below. Do you approve?
---
<Insert Proposed tech-stack.md Updates/Diff Here>
- **type:** "yesno"
iii. **Action:** Only after receiving explicit user confirmation, perform the file edits to update the **Tech Stack** file. Keep a record of whether this file was changed.
c2. Correct the Workflow: If a command from Development Commands proved wrong or incomplete during this track (a missing flag, a renamed target), or the track added a required step (a generator, a gate), propose the corrected lines as a diff via the User Prompt Protocol (header "Workflow") and apply on approval. Plain factual corrections like these are the one doc change that should never wait for a later track.
d. Update Product Guidelines (Strictly Controlled):
i. CRITICAL WARNING: This file defines the core identity and communication style of the product. It should be modified with extreme caution and ONLY in cases of significant strategic shifts, such as a product rebrand or a fundamental change in user engagement philosophy. Routine feature updates or bug fixes should NOT trigger changes to this file.
ii. Condition for Update: You may ONLY propose an update to this file if the track's Specification explicitly describes a change that directly impacts branding, voice, tone, or other core product guidelines.
iii. Propose and Confirm Changes: If the conditions are met:
- Ask for Approval: Use the User Prompt Protocol to request confirmation. You MUST embed the proposed changes (in a diff format) directly into the question field, including a clear warning.
- questions:
- header: "Product"
- question:
WARNING: This is a sensitive action as it impacts core product guidelines. Please review the proposed changes below. Do you approve these critical changes?
---
<Insert Proposed product-guidelines.md Updates/Diff Here>
- **type:** "yesno"
iv. **Action:** Only after receiving explicit user confirmation, perform the file edits. Keep a record of whether this file was changed.
Final Report: One line per changed file (max 5). If none changed: "No doc updates needed." If any file changed and Conductor files is committed, follow Git Write Policy before commit (conductor(docs): Synchronize project docs).
"Docs synced. Product Definition updated for the new feature. Tech Stack and Product Guidelines unchanged."
"Docs synced. No project doc updates needed for this track."
PROTOCOL: Offer cleanup and optional continue to the next eligible track in one confirmed choice.
Execution Trigger: This protocol MUST only be executed after the current track has been successfully implemented and the SYNCHRONIZE PROJECT DOCUMENTATION step is complete.
Compute next tracks: Apply Eligible Tracks Protocol in templates/conductor-protocol.md before prompting. Record eligible <track_id> + description list; note parallel-ready (∥) when multiple share lowest order.
2b. Finish the branch (only when the track ran on a feature branch or worktree, per metadata.json git, and Commits is agent). Step 4 runs it: inside each handler, after the chosen action (the archive steps, or the review) and before that option's Halt or jump to §5.1, so review fixes land on the branch before it merges and the next track branches from the merged base. Skip it for Delete, and for Skip unless the user asks:
1. Run the Artifact Reference Policy check over git diff <base>..HEAD -- . ':!conductor' ':!.gitignore' and fix any hit first.
2. Use the User Prompt Protocol, header "Branch": Merge into <base> (fast-forward when possible; Recommended when the repo has no PR workflow), Open a pull request (when a remote and gh or the host CLI exist), Leave the branch.
3. After a merge or PR, offer the follow-ups in one prompt (multiSelect: true): Push <base>, Push git notes (git push origin refs/notes/commits, so the per-task audit trail reaches the remote), Delete the track branch, and Tag a release only when the repo already tags releases (suggest the next tag from git tag --sort=-v:refname).
4. None of these are covered by standing approval: each listed command is shown and approved in that prompt (Git Write Policy).
With Commits user, skip the prompts and list the commands for the user to run.
Ask for User Choice: Build options dynamically, then use the User Prompt Protocol (do not repeat in chat):
Options (each label and what it does):
/conductor:conductor-review before finalizing.conductor/archive/<track_id>/; the registry keeps a one-line (archived) entry.Archive and continue to <track_id> — Description: archive the completed track, then implement <track_description> (+ (∥) when parallel-ready).Skip and continue to <track_id> — Description: leave the completed track in the registry, then implement <track_description>.Choose next track… — Pick among all eligible tracks (follow-up User Prompt Protocol).Archive, then sort the backlog (<N> open) — Archive the completed track, then run the Backlog Sorting Protocol in templates/conductor-protocol.md (<N> = the open count from conductor_state.py backlog). Promoting happens inside sorting.Hand off to a new session — offered when the session is long (a context compaction happened, or this track had more than ~20 todos): follow /conductor:conductor-handoff.The prompt holds at most 4 options, chosen by case. An option left out stays reachable: the user can type it as the free-text answer. Continue options are never auto-chosen.
| Case | Options, in order |
|---|---|
| Eligible next tracks exist | Archive and continue to <id> (Recommended; <id> = the lowest-order eligible track), Skip and continue to <id>, Review, then Choose next track… when 2+ tracks are eligible, else Hand off when offered, else Archive. With 2+ eligible tracks and Hand off offered, Hand off takes Review's slot. |
| No eligible track; the backlog has open items | Archive, then sort the backlog (<N> open) (Recommended), Review, Skip, Delete (Hand off, when offered, takes Delete's slot) |
| No eligible track; no open backlog items | Archive (Recommended), Review, Skip, Delete (Hand off, when offered, takes Delete's slot) |
Handle User Response:
Review: Run the /conductor:conductor-review protocol now, in this turn, with this track as the confirmed scope (skip its scope prompts). When it finishes, return to this cleanup prompt without the Review option.
Archive (standalone): Execute archive steps (4a), commit, finish the branch (2b), announce success. Halt.
Delete (standalone): Confirm via the User Prompt Protocol yesno, then delete steps (4b). Halt unless cancelled.
Skip (standalone): Announce completed track remains in tracks file. Halt.
Archive, then sort the backlog: Execute archive steps (4a, which commits only when Conductor files is committed), finish the branch (2b), then run the Backlog Sorting Protocol. Its backlog.md edits are committed only when Conductor files is committed. Promoted items continue in /conductor:conductor-new-track; otherwise halt after the sorting report.
Skip and continue to <track_id>: Announce leaving completed track in registry. Finish the branch (2b). Go to §5.1 Continue with that <track_id>.
Archive and continue to <track_id>: Execute archive steps (4a), commit, announce archived. Finish the branch (2b). Go to §5.1 Continue with that <track_id>.
Choose next track…: use the User Prompt Protocol choice — one option per eligible track + Stop for now. On track pick → if user also wants archive first, use the User Prompt Protocol yesno: "Archive '<completed_track>' before continuing?" — on yes run 4a, then 2b, then §5.1; on no 2b, then §5.1. On stop → 2b, then halt.
4a. Archive steps: Follow /conductor:conductor-archive §3.0–4.0 for this track: run python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" archive <track_id> (it moves the spec folder and the plan into conductor/archive/<track_id>/ and turns the registry entry into an (archived) ledger line that keeps dependents unblocked), handle exit 3 as that skill describes, and commit only when Conductor files is committed.
4b. Delete steps: (after yes on confirm)
a. Delete <Specs Directory>/<track_id>.
b. Remove track section from Tracks Registry.
c. Also delete the track's plan file. Commit only when Conductor files is committed (Git Write Policy, message conductor(track): Delete track '<track_description>').
PROTOCOL: Jump to the next selected track after explicit user choice in §5.0.
Resolve <track_id> against Tracks Registry and metadata. If no longer eligible (race), recompute per Eligible Tracks Protocol and use the User Prompt Protocol to pick again or halt.
Set git_isolation_done = false.
Go to §3.0 TRACK IMPLEMENTATION for the selected track.
Loop: After §3.0 → §4.0 → §5.0, user may again choose a combined continue option until no eligible tracks remain or they pick a standalone halt option.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub newtonmunene99/claudekit --plugin conductor11 skills in this plugin
/conductor-archiveArchive completed Conductor tracks by moving their spec and plan into conductor/archive/ and leaving a one-line ledger entry in the tracks registry. Use when the user asks to archive a Conductor track, archive completed tracks, or clean up the tracks registry./conductor-handoffWrap up a Conductor session and produce a short, paste-ready prompt that starts the next session exactly where this one stopped. Use when the user asks for a handoff, a prompt to continue or pick up in a new session, or wants to pause Conductor work and resume later./conductor-new-trackCreate a new Conductor track: brainstorm the design, then write its spec and plan under conductor/. Use when the user asks to start, plan, or spec a new Conductor track, promote a backlog item to a track, or triage Conductor backlog items./conductor-programme-reviewReview a multi-track Conductor remediation programme (sequencing, ownership, dependencies) before implementation starts. Use when the user asks to review a Conductor programme./conductor-prototypeRun a throwaway spike for a Conductor decision track on an isolated spike/<slug> branch and record the evidence. Use when a Conductor decision track calls for a prototype, or the user asks to spike an option for one./conductor-revertGit-aware revert of a Conductor track, phase, or task. Only when the user runs it explicitly; it rewrites history.