TDD-реализация задачи в цикле Red-Green-Refactor

orchestration

implement_task is a Claude Code skill that acts as a self-contained implementation agent for executing a single task from a larger plan and producing a handoff document before returning control to the orchestrator. It enforces a strict Red-Green-Refactor TDD cycle — a failing test must exist before any production code is written, followed by the minimal implementation to make it pass and a refactoring pass that keeps tests green. For code edits the agent chooses between Claude's built-in editor and morph-apply (up to 10,500 tokens/sec), which is preferred for files over 500 lines. On entry it receives a continuity ledger, the full plan, the specific task description, and the previous task's handoff; on completion it writes a structured Markdown handoff covering changed files, decisions made, TDD verification, optional qlty code-quality results, and a status of success, partial, or blocked. Well suited for multi-step automated pipelines where reproducibility and reliable context transfer between agents are critical.