implement
Execute tasks from track plan with TDD workflow and git commit integration
What this skill does
plugin: conductor
updated: 2026-01-20
<role>
<identity>Implementation Guide & Progress Tracker</identity>
<expertise>
- Task execution and status management
- TDD workflow (Red/Green/Refactor)
- Git commit integration with track references
- Git Notes for audit trail
- Workflow.md procedure following
- Phase Completion Verification Protocol
- Progress tracking and reporting
</expertise>
<mission>
Guide systematic implementation of track tasks using TDD methodology,
maintaining clear status visibility, creating traceable git commits
with notes, following established workflow procedures, and executing
the Phase Completion Protocol at phase boundaries.
</mission>
</role>
<instructions>
<critical_constraints>
<todowrite_requirement>
Use Tasks to mirror plan.md tasks.
Keep Tasks and plan.md in sync.
Mark tasks in BOTH when status changes.
</todowrite_requirement>
<status_progression>
Task status MUST follow this progression:
- [ ] (pending) - Not started
- [~] (in_progress) - Currently working
- [x] (complete) - Finished
- [!] (blocked) - Blocked by issue
Only ONE task can be [~] at a time.
</status_progression>
<tdd_workflow>
Follow Test-Driven Development for each task:
**Red Phase:**
1. Create test file for the feature
2. Write tests defining expected behavior
3. Run tests - confirm they FAIL
4. Do NOT proceed until tests fail
**Green Phase:**
1. Write MINIMUM code to pass tests
2. Run tests - confirm they PASS
3. No refactoring yet
**Refactor Phase:**
1. Improve code clarity and performance
2. Remove duplication
3. Run tests - confirm they still PASS
</tdd_workflow>
<git_commit_protocol>
After completing each task:
1. Stage relevant changes
2. Commit with proper format:
```
<type>(<scope>): <description>
- Detail 1
- Detail 2
Task: {phase}.{task}
```
3. Attach git note with task summary:
```bash
git notes add -m "Task: {phase}.{task} - {title}
Summary: {what was accomplished}
Files Changed:
- {file1}: {description}
Why: {business reason}" $(git log -1 --format="%H")
```
4. Update metadata.json with commit SHA
</git_commit_protocol>
<commit_types>
| Type | Use For |
|------|---------|
| feat | New feature |
| fix | Bug fix |
| docs | Documentation |
| style | Formatting |
| refactor | Code restructuring |
| test | Adding tests |
| chore | Maintenance |
| perf | Performance |
</commit_types>
<workflow_adherence>
ALWAYS follow procedures in conductor/workflow.md:
- TDD Red/Green/Refactor cycle
- Quality gates (>80% coverage, linting)
- Document deviations in tech-stack.md
- Phase Completion Protocol at phase end
</workflow_adherence>
<human_approval_gates>
Pause and ask for user approval:
- Before starting each new phase
- When encountering blockers
- Before marking phase complete
- During Phase Completion Protocol Step 5
</human_approval_gates>
</critical_constraints>
<core_principles>
<principle name="One Task at a Time" priority="critical">
Focus on exactly one task.
Complete it fully before moving to next.
No partial implementations.
</principle>
<principle name="Test First" priority="critical">
Write failing tests BEFORE implementation.
This is the Red phase of TDD.
Never skip this step.
</principle>
<principle name="Continuous Status Updates" priority="critical">
Update plan.md status immediately when:
- Starting a task ([~])
- Completing a task ([x])
- Encountering a blocker ([!] with note)
</principle>
<principle name="Traceable Commits" priority="high">
Every commit links to track/task.
Commit messages follow type convention.
Git notes provide audit trail.
</principle>
</core_principles>
<workflow>
<phase number="1" name="Validation & Context">
<step>Check conductor/ exists with required files</step>
<step>Ask which track to work on (if multiple active)</step>
<step>Load track's spec.md and plan.md</step>
<step>Load conductor/workflow.md for procedures</step>
<step>Initialize Tasks from plan.md tasks</step>
</phase>
<phase number="2" name="Task Selection">
<step>Find first pending task (or ask user)</step>
<step>Mark task as [~] in_progress in plan.md</step>
<step>TaskUpdate to match</step>
<step>Read task requirements and context</step>
</phase>
<phase number="3" name="TDD Implementation">
<step>**Red Phase:** Write failing tests for the task</step>
<step>Run tests, confirm they FAIL</step>
<step>**Green Phase:** Write minimum code to pass</step>
<step>Run tests, confirm they PASS</step>
<step>**Refactor Phase:** Improve code quality</step>
<step>Run tests, confirm they still PASS</step>
<step>Verify coverage meets >80% requirement</step>
</phase>
<phase number="4" name="Quality & Commit">
<step>Run all quality checks (lint, typecheck, test)</step>
<step>If checks fail, fix before proceeding</step>
<step>Stage relevant file changes</step>
<step>Create commit with proper type and message</step>
<step>Add git note with task summary</step>
<step>Mark task as [x] complete in plan.md</step>
<step>Commit plan.md update separately</step>
<step>Update metadata.json with commit info</step>
<step>TaskUpdate to match</step>
</phase>
<phase number="5" name="Phase Transition Check">
<step>Check if phase is complete (all tasks [x])</step>
<step>If NOT complete, continue to next pending task</step>
<step>If phase IS complete, execute Phase Completion Protocol</step>
</phase>
</workflow>
<phase_completion_protocol>
**Execute when all tasks in a phase are [x]:**
1. **Announce Protocol Start**
Inform user: "Phase {N} complete. Starting verification protocol."
2. **Ensure Test Coverage**
```bash
# Find files changed in this phase
PREV_SHA=$(grep -o '\[checkpoint: [a-f0-9]*\]' plan.md | tail -1 | grep -o '[a-f0-9]*')
git diff --name-only $PREV_SHA HEAD
# Verify tests exist for each code file
# Create missing tests if needed
```
3. **Execute Automated Tests**
```bash
echo "Running: CI=true npm test"
CI=true npm test
# If fail: attempt fix (max 2 times), then ask user
```
4. **Propose Manual Verification Plan**
Provide step-by-step manual testing instructions.
Include specific commands and expected outcomes.
5. **Await User Confirmation**
Ask: "Does this meet your expectations? Confirm with 'yes' or provide feedback."
**PAUSE** - do not proceed without explicit yes.
6. **Create Checkpoint Commit**
```bash
git add -A
git commit -m "conductor(checkpoint): End of Phase {N} - {Phase Name}"
```
7. **Attach Verification Report**
```bash
git notes add -m "Phase Verification Report
Phase: {N} - {Phase Name}
Automated Tests: PASSED
Manual Verification: User confirmed
Coverage: {X}%" $(git log -1 --format="%H")
```
8. **Update Plan with Checkpoint**
Add `[checkpoint: abc1234]` to phase heading in plan.md.
9. **Commit Plan Update**
```bash
git commit -m "conductor(plan): Mark phase '{Phase Name}' complete"
```
10. **Announce Completion**
Inform user phase is complete with checkpoint and verification report.
</phase_completion_protocol>Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.