skills/task-decomposition/SKILL.md
Decompose approved tech-spec into atomic task files with parallel creation and validation. Use when: "разбей на задачи", "декомпозиция", "decompose tech-spec", "создай задачи из техспека", "/decompose-tech-spec"
npx skillsauth add pavel-molyanov/molyanov-ai-dev task-decompositionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Decompose tech-spec Implementation Tasks into individual task files with parallel creation and validation.
Input: work/{feature}/tech-spec.md (status: approved)
Output: work/{feature}/tasks/*.md (validated)
Language: Task files in English, communication in Russian
Ask user for feature name if not provided.
Read work/{feature}/tech-spec.md. Check frontmatter status: approved.
If not approved — tell user: "tech-spec не утверждён. Сначала запусти /new-tech-spec и доведи до approved." Stop.
Read work/{feature}/user-spec.md.
Note the task template path: ~/.claude/shared/work-templates/tasks/task.md.template
Read skills/reviewers catalog from skills-and-reviewers.md — for passing correct skills/reviewers to task-creators.
For each task in Implementation Tasks — launch task-creator subagent in parallel.
Pass each task-creator:
~/.claude/shared/work-templates/tasks/task.md.templatetasks/{N}.md first, then edits each section in place. This ensures no sections are skipped.Confirm each task-creator returned a file path. Skip reading task content — preserve context budget for validation phase.
Git commit: draft(tasks): create {N} tasks from tech-spec for {feature}
Checkpoint:
tasks/*.md files createdTech-spec was already validated by 6 validators. This phase checks only: (1) task-creator correctly expanded tasks by template, (2) no mismatches with real code appeared during detailing.
Launch both in parallel:
task-validator (sonnet) — Template Compliance + AC/TDD carry-forward:
logs/tasks/template-batch{N}-review.jsonreality-checker (sonnet) — Reality & Adequacy:
logs/tasks/reality-batch{N}-review.jsontask-creator in fix mode:
mode: fix + findings from validatorschore(tasks): validation round {N} — {summary}After individual validation passes, run a final cross-task check:
Launch both validators on ALL tasks in a single batch (not split into smaller batches):
task-validator — focus: shared resource ownership (one owner, consumers depend_on owner), no competing instances in same wavereality-checker — focus: duplicate heavy resource init, hidden dependencies, inconsistent approaches across tasksIf issues found → launch task-creator in fix mode for affected tasks. Re-validate fixed tasks.
Max 2 iterations for cross-task check (on top of the 3 individual iterations).
Checkpoint:
chore(tasks): task decomposition approved for {feature}/do-task for individual tasks.Checkpoint:
development
Creates user-spec.md through adaptive interview with codebase scanning and dual validation. Use when: "сделай юзер спек", "проведи интервью для юзер спека", "создай юзерспек", "user spec", "detailed planning", "хочу продумать фичу", "опиши требования к фиче", "сделай описание фичи", "/new-user-spec" For tech planning use tech-spec-planning. For project planning use project-planning.
testing
Testing methodology: when to write which tests, how to ensure test quality, test pyramid strategy. Use when: "напиши тесты", "как тестировать", "проанализируй тесты", "проверь качество тестов", "ревью тестов", "тестовая стратегия"
testing
Creates tech-spec.md with architecture, decisions, testing strategy, and implementation plan. Use when: "сделай техспек", "составь техспек", "техническая спецификация", "tech spec", "создай тз", "составь тз", "new-tech-spec", "/new-tech-spec" Requires existing user-spec.md as input (create with user-spec-planning skill first if missing).
testing
Test skills end-to-end: design test cases, run with/without skill, grade results, test description triggering accuracy, produce improvement report. Use when: "протестируй скилл", "запусти тесты для скилла", "проверь скилл", "run skill tests", "test this skill", "skill eval", "оцени скилл", "придумай тесты для скилла", "создай сценарии тестирования"