implement-tasks
БесплатноБез исполняемых скриптовНе проверенUse to implement a feature from its tasks.json with test-driven development — writes a failing test first, makes it pass, refactors, gates, and commits per…
от genkovich★ 17 звёзд на GitHubОб этом скилле
Skill: implement-tasks (SDLC stage 17 — Code)
The implementation engine — the keystone that closes the cycle. It turns tasks.json into committed, tested code through a strict TDD cycle per task — SELECT → RED → GREEN → REFACTOR → GATE → COMMIT — and orchestrates that cycle in one of three modes (sequential / agent-team / dynamic-workflow) picked by an unambiguous decision tree. Everything is stack-agnostic: the test, lint, and vet commands are detected, never hard-coded.
This file is the spine. Each step delegates to a file in references/.
Owner
Tech Lead drives; the engine runs the cycle. Four subagents ship with the plugin: test-author (sdlc:test-author, RED), implementer (sdlc:implementer, GREEN), refactor (sdlc:refactor, REFACTOR — isolated, tidies while green), reviewer (sdlc:reviewer, read-only review). GATE + COMMIT stay on the engine, which owns the settings and the require_integration policy.
Inputs
<slug>— feature slug.- Gate (hard refuse):
docs/features/<slug>/tasks/tasks.json(legacy fallback:docs/features/<slug>/tasks.json, used only when the first is absent). Both missing → «run/sdlc:break-tasks <slug>first». Greenfield skeleton:<slug>=_scaffold(written bymap-architecture). - Read for context (the agents read these directly, not via paraphrase):
PRD.md(AC),data-model.md+ the staged migrations underdocs/features/<slug>/migrations/(alayer: migrationtask promotes these into the live migrations tree — see./references/inputs.md),contracts/openapi.yaml,test-plan.md,sad.md, Acceptedadr/. - Settings:
.claude/sdlc.local.md(auto-created with documented defaults if absent — normally bywrite-prdat the backbone start;implement-taskscreates it too if you jump straight here) →./references/settings.md.
Protocol
- Preconditions. Resolve the plan path —
docs/features/<slug>/tasks/tasks.json, else the legacydocs/features/<slug>/tasks.json(warn that it's legacy) — verify it parses; load the upstream artifacts list. Detail →./references/inputs.md. - Settings. Read
.claude/sdlc.local.md; if absent, auto-create it with the documented defaults (frontmatter + the «What each key does» body, self-documenting) and patch.gitignore(.claude/*.local.md,.worktrees/) — the same templatewrite-prdwrites. →./references/settings.md. - Detect commands. Run the stack-agnostic cascade (settings override → Makefile → package scripts → language manifests → Docker probe for the integration tier) to resolve unit / integration / lint / vet commands. Print what was detected. →
./references/command-detection.md. - Build the DAG. Parse
tasks.json, validatedepsis acyclic, topologically sort into phases (Kahn). Computetask_count,longest_chain,parallel_width. Mark serialization lanes (layer: migration; tasks with overlappingfiles_hint).layer: uiis not auto-serialized — UI tasks parallelize unless theirfiles_hintoverlaps. - Pick the mode. Run the decision tree (below; full form →
./references/decision-tree.md). Apply the guards. - Generate the run-plan. Sequential → an ordered task list. Team → a shared TaskList with the full task text in each body. Workflow → a generated
Workflowscript (DAG → Kahn phases → fan-out pipeline). →./references/team-exec.md/./references/workflow-exec.md. - Banner. Print the active mode and the settings that drove it:
mode=<…> tdd=<…> isolation=<…> parallel=<n> integration=<…>. The user sees exactly how the engine will behave before it acts. - Execute in the chosen mode. Every task runs the TDD cycle →
./references/tdd-loop.md. Alayer: migrationtask first promotes its staged migration(s) (docs/features/<slug>/migrations/<NN>_*) into the live migrations tree — assigning the real sequence number / timestamp per the repo's convention, in ordinal order — then applies + reverts them; detail →./references/inputs.md. - Per-task gate + commit. RED runs in
sdlc:test-author, GREEN insdlc:implementer, REFACTOR in the isolatedsdlc:refactoragent. After GREEN+REFACTOR the engine runs the gate — unit + (integration if available) + lint + vet must be clean — then commits task-scoped with trailersSDLC-Task: <id>andSDLC-AC: <id>(one per satisfied AC). GATE + COMMIT are the engine's, not any agent's. Updatetasks/tracker.md→done. - Summary + hand off. Report covered AC, commits made (with
SDLC-Tasktrailers), any task dropped/blocked, an
Установить implement-tasks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл implement-tasks?
Use to implement a feature from its tasks.json with test-driven development — writes a failing test first, makes it pass, refactors, gates, and commits per task. Triggers on "/sdlc:implement-tasks {slug}", "implement {slug}", "build {slug}", "TDD {slug}", "code up the tasks for {slug}", "імплементуй {slug}", "реалізуй фічу {slug}", "напиши код за задачами {slug}". Reads docs/features/{slug}/tasks/tasks.json + the upstream artifacts, detects the repo's test/lint/vet commands stack-agnostically, builds a dependency DAG, and runs one of three modes — sequential single-agent TDD, an agent team (TeamCreate), or a dynamic Workflow — chosen from settings + DAG shape with graceful fallback. Output: committed, tested code + updated tasks/tracker.md. Hard-refuses if docs/features/{slug}/tasks/tasks.json is missing (the legacy docs/features/{slug}/tasks.json is accepted as a fallback) → run `/sdlc:break-tasks {slug}` first.
Как установить скилл implement-tasks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл implement-tasks запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic