Track Task Implementation with TDD

VerifiedSafe

Executes implementation tasks from a track plan using TDD, supporting both direct execution and delegation. Handles status tracking, verification, and commits only after user approval. Useful when continuing work on an existing track or delegating a task.

Sby Skills Guide Bot
DevelopmentIntermediate
6/2/2026
Claude Code
#track-implementation#task-execution#tdd#git-workflow#delegation

Recommended for

Automated summary

Executes implementation tasks from a track's plan following TDD, branch management, and optional delegation.

Strengths

  • Automates the full workflow: task selection, pre-flight checks, execution, and status tracking
  • Supports delegation to specialized agents for complex tasks
  • Manages dependencies between phases and tasks with clear status markers
  • Enforces git best practices (no force-push, branch verification)

Limitations

  • Requires an existing track plan and specification
  • Only works if the track is well-structured with metadata.json and plan.md files
  • Delegation depends on agent availability and configuration
When to use it

Use this skill to execute the next task in a track, start a phase, or delegate a task to a specialized agent.

When not to use it

Do not use it to build a feature from scratch without an existing track (use team-feature instead).

Security analysis

Safe
Quality score92/100

The skill performs safe git operations (branch check, creation, commit suggestion) and runs predefined, reputable verification commands (cargo clippy, cargo test, npm run build/lint) within the project directory. It explicitly forbids destructive actions (no force-push, no reset, no auto-commit). No arbitrary command execution, no exfiltration, no obfuscated payloads. Reading verification commands from workflow.md presents a minor supply chain risk, but the skill itself does not instruct unsafe behavior.

No concerns found

How this analysis is made

Examples

Start working on a track
start working on track mcp-tool-caching_20260306
Implement next task
implement next task in track mcp-tool-caching_20260306
Delegate a specific task
delegate task 2.3 of track mcp-tool-caching_20260306

name: conductor-implement description: Execute tasks from a track's plan with flexible TDD and optional team delegation. Use when user says 'start working on track', 'implement next task', 'begin phase', 'pick up where I left off', or 'delegate task'. Do NOT use for building features from scratch without a track (use team-feature). argument-hint: "<track-id> [--phase N] [--task N.M] [--delegate]" allowed-tools:

  • Bash
  • Read
  • Write
  • Edit
  • Glob
  • Grep
  • SendMessage
  • AskUserQuestion

Conductor Implement

Execute implementation tasks from a track's phased plan. Supports direct execution (self) or delegation to specialized agents. Handles TDD policy, verification, commits, and status tracking.

Critical Constraints

  • Never auto-commit — always suggest a commit message and wait for explicit user approval before committing
  • Phase gates — STOP and wait for explicit user approval between phases; this approval gate is mandatory
  • Branch required — refuse to execute if on the main branch; create or switch to the track's feature branch first
  • One question per turn — never batch multiple questions together
  • Mark tasks [~] when starting, [x] when done — if implementation fails, revert the marker from [~] back to [ ]
  • Never force-push or reset — only additive git operations; never use git reset --hard or git push --force

Status Markers

| Marker | Meaning | When to use | |--------|---------|-------------| | [ ] | Pending | Not started yet | | [~] | In progress | Currently being worked on | | [x] | Complete | Finished (include commit SHA in task line) | | [-] | Skipped | Intentionally not done (add reason) | | [!] | Blocked | Waiting on a dependency (add reason) |


Step 1 — Parse Input

Extract from the argument string:

  • track-id (required): e.g., mcp-tool-caching_20260306
  • --phase N (optional): Execute all tasks in phase N
  • --task N.M (optional): Execute a specific task (e.g., 2.3)
  • --delegate (optional): Delegate to the assigned agent instead of executing directly

If no --phase or --task is specified, auto-select the next pending task in the earliest incomplete phase.


Step 2 — Load Track Context

Read these files:

  1. conductor/tracks/{track-id}/metadata.json — track status, services, agents
  2. conductor/tracks/{track-id}/plan.md — phased plan with task list
  3. conductor/tracks/{track-id}/spec.md — specification and acceptance criteria
  4. conductor/workflow.md — TDD policy, verification commands, commit format
  5. conductor/tech-stack.md — service paths and agent mappings

If the track does not exist, report an error and stop.


Step 3 — Determine Task Scope

3.1 — If --task N.M is specified

Select exactly that task from the plan.

3.2 — If --phase N is specified

Select all pending tasks in that phase, in order.

3.3 — If neither is specified (auto-select)

  1. Find the earliest phase with status: pending or status: in_progress.
  2. Within that phase, find the first actionable task (- [ ] or - [!] that is now unblocked).
  3. Present the selected task to the user and ask to confirm.

Step 4 — Pre-flight Checks

4.1 — Git Status

cd /Users/hikennoace/ai-gateway/rkgw && git status --short
  • If there are uncommitted changes, warn the user.

4.2 — Branch Check

Read the expected branch from metadata.json.

cd /Users/hikennoace/ai-gateway/rkgw && git branch --show-current
  • If the track branch does not exist, create it from main:
    cd /Users/hikennoace/ai-gateway/rkgw && git checkout -b {branch-name} main
    

4.3 — Directory Verification

Verify the service path exists.


Step 5 — Execute Task

5A — Direct Execution (no --delegate)

5A.0 — Mark Task In Progress

Change - [ ] to - [~] for the current task in plan.md.

5A.1 — Understand the Task

Re-read the task description from plan.md. Cross-reference with spec.md acceptance criteria.

5A.2 — TDD Check

Required TDD (write tests FIRST):

  • Streaming parser logic
  • Auth token refresh flow
  • Converter bidirectional translation
  • Middleware auth chain
  • Guardrails engine evaluation

Recommended TDD (suggest but do not enforce):

  • Route handlers
  • HTTP client logic
  • Model cache behavior
  • Resolver alias mapping

Skip TDD:

  • Docker config changes
  • Static UI components
  • CSS-only changes
  • Environment variable additions
  • Documentation

5A.3 — Implement

Perform the implementation. All file operations happen within /Users/hikennoace/ai-gateway/rkgw/.

5A.4 — Verify

Run the verification command for the affected service:

| Service | Command | |---------|---------| | backend | cd /Users/hikennoace/ai-gateway/rkgw/backend && cargo clippy --all-targets && cargo test --lib | | frontend | cd /Users/hikennoace/ai-gateway/rkgw/frontend && npm run build && npm run lint |

5A.5 — Mark Task Complete

Change - [~] to - [x] for the completed task.

5A.6 — Phase Checkpoint (between phases)

After completing all tasks in a phase:

  1. Run phase-level verification for every service touched.
  2. Present a Phase Completion Summary to the user.
  3. WAIT for explicit user approval before proceeding to the next phase. This approval gate is mandatory.

5B — Delegated Execution (--delegate)

Send the task to the assigned agent using SendMessage with track context, TDD requirement, verification command, and commit format.


Step 6 — Commit Suggestion

Suggest a commit message following:

type(scope): description

Where:

  • type: feat, fix, refactor, chore, test, docs, style, perf
  • scope: proxy, streaming, auth, converter, model, middleware, guardrails, mcp, metrics, web-ui, config, docker

Do NOT commit automatically. Always ask the user first.


Step 7 — Update Track Status

7.1 — Update plan.md

Mark task complete with commit SHA.

7.2 — Update metadata.json

  • Increment tasks_done for the current phase.
  • If all phases complete, set track status: completed.
  • Update updated_at and append to commits array.

7.3 — Update tracks.md

Update status column if changed.


Step 8 — Report and Next Steps

Print task completion summary with branch, commit, verification status, and next task suggestion.


Error Handling

  • If the track does not exist, list available tracks.
  • If pre-flight checks fail and user aborts, exit cleanly.
  • If implementation fails, revert task marker from [~] back to [ ].
  • Never force-push or reset. Only additive git operations.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/track-task-implementation-with-tdd-mmh8qq5z/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/track-task-implementation-with-tdd-mmh8qq5z' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/track-task-implementation-with-tdd-mmh8qq5z/download' --output '.skill-downloads/track-task-implementation-with-tdd-mmh8qq5z/SKILL.md.part' && mv '.skill-downloads/track-task-implementation-with-tdd-mmh8qq5z/SKILL.md.part' '.skill-downloads/track-task-implementation-with-tdd-mmh8qq5z/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/track-task-implementation-with-tdd-mmh8qq5z/SKILL.md' && test -s '.skill-downloads/track-task-implementation-with-tdd-mmh8qq5z/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/conductor-implement' && cp -R '.skill-downloads/track-task-implementation-with-tdd-mmh8qq5z' '.claude/skills/conductor-implement'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/track-task-implementation-with-tdd-mmh8qq5z'

openskills read 'track-task-implementation-with-tdd-mmh8qq5z'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/track-task-implementation-with-tdd-mmh8qq5z/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills