with one click
conductor-implement
Executes the tasks defined in the specified track's plan
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Executes the tasks defined in the specified track's plan
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Plans a track, generates track-specific spec documents and updates the tracks file
Scaffolds the project and sets up the Conductor environment
Execute a pre-implementation investigation workflow modeled on feature-dev Phase 1-4 (Discovery, Codebase Exploration, Clarifying Questions, Architecture Design). Use this when requirements are ambiguous, architecture decisions are needed, or external validation (Win32 API, Rust crates, EmEditor SDK) is required before coding in Conductor tracks.
Analyzing GitHub Pull Request review comments and managing follow-up tasks. This skill utilizes GraphQL to efficiently fetch review comments and categorizes them into critical fixes, future improvements, or out-of-scope items. Mandatory when a PR has received feedback to systematically address reviewer suggestions and ensure all necessary changes are tracked in Conductor.
Facilitating the creation of Draft Pull Requests on GitHub using the GitHub CLI (gh). This skill guides the collection of branch diffs, issue context via GraphQL, and the generation of structured PR titles and bodies in Japanese. Mandatory when the current task is ready for review as a draft to ensure all necessary context and issue links are included.
Reverts previous work
| name | conductor:implement |
| description | Executes the tasks defined in the specified track's plan |
You 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: You must validate the success of every tool call. If any tool call fails, you MUST halt the current operation immediately, announce the failure to the user, and await further instructions.
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:setup." and HALT.
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:
--- separator to identify each track section. For each section, extract the status ([ ], [~], [x]), the track description, and the link to the track folder. When extracting the status and track description, support both of these track header formats: ## [ ] Track: <track_description> and - [ ] **Track: <track_description>**. Treat either format as a valid track section header.Continue: Immediately proceed to the next step to select a track.
Select Track:
ask_user tool to confirm the selection (do not repeat the question in the chat):
ask_user tool to inform the user and request the correct track name (do not repeat the question in the chat):
[x] Completed.ask_user tool to confirm the selection (do not repeat the question in the chat):
ask_user tool to request the correct track name (do not repeat the question in the chat):
Handle No Selection: If no track is selected, inform the user and await further instructions.
PROTOCOL: Execute the selected track.
Announce Action: Announce which track you are beginning to implement.
Update Status to 'In Progress':
## [ ] Track: <Description> or - [ ] **Track: <Description>**) and replacing the status (e.g., [~]) in the Tracks Registry file you identified earlier.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 Implementation Plan for the selected track.
- 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.
Execute Tasks and Update Track Plan:
a. Announce: State that you will now execute the tasks from the track's Implementation Plan by following the procedures in the Workflow.
b. Iterate Through Tasks: You MUST now loop through each task in the track's Implementation Plan one by one.
c. For Each Task, You MUST:
i. Defer to Workflow: The Workflow file is the single source of truth for the entire task lifecycle. You MUST now read and execute the procedures defined in the "Task Workflow" section of the Workflow file you have in your context. Follow its steps for implementation, testing, and committing precisely.
- CRITICAL: Every human-in-the-loop interaction, confirmation, or request for feedback mentioned in the Workflow (e.g., manual verification plans or guidance on persistent failures) MUST be conducted using the ask_user tool.
Finalize Track:
[x]).chore(conductor): Mark track '<track_description>' as complete.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 ask_user tool 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 ask_user tool 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.
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 ask_user tool 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: Announce the completion of the synchronization process and provide a summary of the actions taken.
docs(conductor): Synchronize docs for track '<track_description>'"Documentation synchronization is complete.
- Changes made to Product Definition: The user-facing description of the product was updated to include the new feature.
- No changes needed for Tech Stack: The technology stack was not affected.
- No changes needed for Product Guidelines: Core product guidelines remain unchanged."
"Documentation synchronization is complete. No updates were necessary for project documents based on the completed track."
PROTOCOL: Offer to archive or delete the completed track.
Execution Trigger: This protocol MUST only be executed after the current track has been successfully implemented and the SYNCHRONIZE PROJECT DOCUMENTATION step is complete.
Ask for User Choice: Immediately call the ask_user tool to prompt the user (do not repeat the question in the chat):
conductor/archive/ and remove it from the tracks file."Handle User Response:
$conductor:review to verify your changes. You will be able to archive or delete the track after the review."conductor/archive/. If it does not exist, create it.
ii. Archive Track Folder: Move the track's folder from its current location (resolved via the Tracks Directory) to conductor/archive/<track_id>.
iii. Remove from Tracks File: Read the content of the Tracks Registry file, remove the entire entry/section for the completed track, and write the modified content back to the file.
iv. Commit Changes: Stage the Tracks Registry file and conductor/archive/. Commit with the message chore(conductor): Archive track '<track_description>'.
v. Announce Success: Announce: "Track '<track_description>' has been successfully archived."ask_user tool to ask for final confirmation (do not repeat the warning in the chat):
- questions:
- header: "Confirm"
- question: "WARNING: This will permanently delete the track folder and all its contents. This action cannot be undone. Are you sure?"
- type: "yesno"
ii. Handle Confirmation:
- If 'yes':
a. Delete Track Folder: Resolve the Tracks Directory and permanently delete the track's folder from <Tracks Directory>/<track_id>.
b. Remove from Tracks File: Read the content of the Tracks Registry file, remove the entire entry/section for the completed track, and write the modified content back to the file.
c. Commit Changes: Stage the Tracks Registry file and the deletion of the track directory. Commit with the message chore(conductor): Delete track '<track_description>'.
d. Announce Success: Announce: "Track '<track_description>' has been permanently deleted."
- If 'no':
a. Announce Cancellation: Announce: "Deletion cancelled. The track has not been changed."