Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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 by map-architecture).
  • Read for context (the agents read these directly, not via paraphrase): PRD.md (AC), data-model.md + the staged migrations under docs/features/<slug>/migrations/ (a layer: migration task promotes these into the live migrations tree — see ./references/inputs.md), contracts/openapi.yaml, test-plan.md, sad.md, Accepted adr/.
  • Settings: .claude/sdlc.local.md (auto-created with documented defaults if absent — normally by write-prd at the backbone start; implement-tasks creates it too if you jump straight here) → ./references/settings.md.

Protocol

  1. Preconditions. Resolve the plan path — docs/features/<slug>/tasks/tasks.json, else the legacy docs/features/<slug>/tasks.json (warn that it's legacy) — verify it parses; load the upstream artifacts list. Detail → ./references/inputs.md.
  2. 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 template write-prd writes. → ./references/settings.md.
  3. 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.
  4. Build the DAG. Parse tasks.json, validate deps is acyclic, topologically sort into phases (Kahn). Compute task_count, longest_chain, parallel_width. Mark serialization lanes (layer: migration; tasks with overlapping files_hint). layer: ui is not auto-serialized — UI tasks parallelize unless their files_hint overlaps.
  5. Pick the mode. Run the decision tree (below; full form → ./references/decision-tree.md). Apply the guards.
  6. Generate the run-plan. Sequential → an ordered task list. Team → a shared TaskList with the full task text in each body. Workflow → a generated Workflow script (DAG → Kahn phases → fan-out pipeline). → ./references/team-exec.md / ./references/workflow-exec.md.
  7. 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.
  8. Execute in the chosen mode. Every task runs the TDD cycle → ./references/tdd-loop.md. A layer: migration task 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.
  9. Per-task gate + commit. RED runs in sdlc:test-author, GREEN in sdlc:implementer, REFACTOR in the isolated sdlc:refactor agent. After GREEN+REFACTOR the engine runs the gate — unit + (integration if available) + lint + vet must be clean — then commits task-scoped with trailers SDLC-Task: <id> and SDLC-AC: <id> (one per satisfied AC). GATE + COMMIT are the engine's, not any agent's. Update tasks/tracker.md → done.
  10. Summary + hand off. Report covered AC, commits made (with SDLC-Task trailers), any task dropped/blocked, an
Полный SKILL.md на GitHub

Установить implement-tasks в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/command-detection.mdreferences/decision-tree.mdreferences/escalation.mdreferences/inputs.mdreferences/settings.mdreferences/tdd-loop.mdreferences/team-exec.mdreferences/workflow-exec.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить implement-tasks с