work-implement

Implement specified tasks, work items, and test cases in code using TDD.

Updated May 8, 2026
One-click install
npx skills add https://github.com/juanca202/sdd-devkit --skill work-implement-juanca202
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: work-implement
Source: https://github.com/juanca202/sdd-devkit/tree/main/skills/work-implement
Command: npx skills add https://github.com/juanca202/sdd-devkit --skill work-implement-juanca202

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve? Turning written specifications into working code often loses traceability: developers skip tests, mix unrelated work into one branch, or commit without review checkpoints. This Skill executes already-specified work (user story tasks, maintenance items, test cases, features) in code with enforced TDD, per-unit confirmation, and a persistent progress log. ## Core Features & Use Cases - Four implementation types: technical tasks (TK-XXX) under a user story, maintenance work items (WI-XXX) such as bugs and refactors, test case automation (TC-XXX), and feature test automation (FT-XXX), each with its own flow in references/. - Mandatory TDD cycle: Red-Green-Refactor per behavior unit, with tests scoped strictly to affected files and the full test suite deferred to the quality-check phase. - Progress tracking and guardrails: maintains progress.md as the only writable log, mirrors the plan in the agent's to-do list, supports git worktrees and parallel subagent execution, and escalates after a configurable number of failed attempts. - Use Case: A developer asks to implement the Ready tasks of US-042. The Skill creates the feature branch, presents the task queue, implements one task at a time with tests first, pauses for confirmation between tasks, and hands off to integration or PR creation when done. ## Quick Start Ask the agent to implement the Ready tasks of a specific user story, for example: implement all Ready tasks of US-042 one by one with tests.

Frequently Asked Questions about work-implement

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement a user story task with TDD?▼

Reference the US-XXX or TK-XXX identifier and the Skill loads the user-story-tasks flow: it creates the feature branch, presents the Ready task queue, then implements one task per turn using Red-Green-Refactor. Tests are written before production code and scoped to affected files only.

How to automate documented test cases in code?▼

Reference a TC-XXX or FT-XXX and the Skill translates each Ready, non-manual test case into an automated test faithful to its preconditions, steps, and expected results. The test name includes the TC identifier for traceability, and coverage gaps are recorded in progress.md.

Can it run multiple tasks in parallel without confirmation?▼

Yes, when the scope includes multiple units and the implementation policy resolves confirmByUnit to never, or the user explicitly requests it. The Skill then runs independent units in subagents with git worktrees, up to the configured maxParallel limit, merging sequentially.

Does it run the full test suite after implementing?▼

No. It only runs tests, lint, typecheck, and build scoped to the files or package affected by the unit, plus one e2e run at closure. The full repository test battery is the exclusive responsibility of the quality-check skill during integration or PR creation.

What happens when a test keeps failing during implementation?▼

The Skill applies a per-problem attempt limit from the escalation policy. When attempts are exhausted without a new hypothesis, it stops, presents a blocking report, and asks the user how to proceed. It never disables tests or relaxes assertions to force a pass.

When should work not be implemented with this Skill?▼

Do not use it for work still in Draft status, for writing new functionality from a feature artifact (features only yield test automation), or for editing specifications. Specification changes belong to the planning skills work-define, work-plan, or test-define.