Paths: File paths (shared/, references/, ../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.
Task Creator
Type: L3 Worker
Category: 3XX Planning
Standalone-first worker for task creation. It creates tasks from an already approved plan and returns a stable summary contract.
MANDATORY READ: Load shared/references/coordinator_summary_contract.md and shared/references/task_plan_worker_runtime_contract.md
MANDATORY READ: Load shared/references/environment_state_contract.md, shared/references/storage_mode_detection.md, shared/references/template_loading_pattern.md, shared/references/creation_quality_checklist.md, and shared/references/destructive_operation_safety.md
Inputs
Core inputs:
taskType
storyData
idealPlan — task list with scopes, AC mappings, dependencies, layer classifications
teamId
guideLinks
Coordinator context (passed in ADD/CREATE mode):
traceabilityTablePath — materialized traceability table from coordinator Phase 2
discoveryContext — architecture, tech stack, key files, integration points from coordinator Phase 1
tasksToCreate — specific tasks to create (ADD mode). Worker writes the 7-section document, does not decide whether tasks are needed.
Transport inputs:
- standalone: omit
runId and summaryArtifactPath
- managed: pass both
runId and summaryArtifactPath
Runtime
Runtime family: task-plan-worker-runtime
Phase profile:
PHASE_0_CONFIG
PHASE_1_LOAD_INPUTS
PHASE_2_LOAD_CONTEXT
PHASE_3_GENERATE_TASK_DOCS
PHASE_4_VALIDATE_TASKS
PHASE_5_CONFIRM_OR_AUTOAPPROVE
PHASE_6_APPLY_CREATE
PHASE_7_UPDATE_KANBAN
PHASE_8_WRITE_SUMMARY
PHASE_9_SELF_CHECK
Summary artifact rules:
- emit
summary_kind=task-plan
- standalone runs generate their own
run_id and write the default worker-family artifact path
- managed runs require both
runId and summaryArtifactPath and must write the summary to the exact provided path
- always write the validated summary artifact before terminal outcome
Output Contract
Always build a structured task-plan summary envelope per:
shared/references/coordinator_summary_contract.md
shared/references/task_plan_worker_runtime_contract.md
Payload fields:
mode
story_id
task_type
tasks_created
tasks_updated
tasks_canceled
task_urls
kanban_updated
dry_warnings_count
warnings
Always write the validated summary before terminal outcome.
Workflow
- Resolve task provider and template set.
- Run DRY and destructive-operation checks where applicable.
- Use coordinator context (
discoveryContext, traceabilityTablePath) to understand architecture. Research codebase for implementation details (existing patterns, related files, integration points) to write good Technical Approach sections.
- Select scope:
ADD: use tasksToCreate only
CREATE: expand the full idealPlan
- Generate task documents from the selected scope.
- Validate type-specific rules.
- Show preview and get confirmation if needed.
- Create tasks in Linear or file mode.
- Update kanban.
- Return structured summary.
Critical Rules
- Remain standalone-capable.
- Do not require coordinator runtime state.
- Keep implementation, refactoring, and test rules separated by
taskType.
- Write machine-readable summary output every time.
- Ideal plan is binding. Create every task in the approved plan. Do not re-evaluate whether tasks should exist.
- Fast path for
ADD: tasksToCreate is the execution scope. Do not re-expand the full ideal plan when the coordinator already selected the delta.
- STOP before save_issue: verify all 7 sections present in body: Context, Implementation Plan, Technical Approach, Acceptance Criteria, Affected Components, Existing Code Impact, Definition of Done. PreToolUse hook will BLOCK creation without them.
Definition of Done
Version: 3.0.0
Last Updated: 2025-12-23
1---2name: ln-301-task-creator-33description: Creates implementation, refactoring, and test tasks from templates. Use when an approved task plan needs tasks created in Linear and kanban.4license: MIT5---6
7> **Paths:** File paths (`shared/`, `references/`, `../ln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.
8
9# Task Creator
10
11**Type:** L3 Worker
12**Category:** 3XX Planning
13
14Standalone-first worker for task creation. It creates tasks from an already approved plan and returns a stable summary contract.
15
16**MANDATORY READ:** Load `shared/references/coordinator_summary_contract.md` and `shared/references/task_plan_worker_runtime_contract.md`
17**MANDATORY READ:** Load `shared/references/environment_state_contract.md`, `shared/references/storage_mode_detection.md`, `shared/references/template_loading_pattern.md`, `shared/references/creation_quality_checklist.md`, and `shared/references/destructive_operation_safety.md`
18
19## Inputs
20
21Core inputs:
22- `taskType`
23- `storyData`
24- `idealPlan` — task list with scopes, AC mappings, dependencies, layer classifications
25- `teamId`
26- `guideLinks`
27
28Coordinator context (passed in ADD/CREATE mode):
29- `traceabilityTablePath` — materialized traceability table from coordinator Phase 2
30- `discoveryContext` — architecture, tech stack, key files, integration points from coordinator Phase 1
31- `tasksToCreate` — specific tasks to create (ADD mode). Worker writes the 7-section document, does not decide whether tasks are needed.
32
33Transport inputs:
34- standalone: omit `runId` and `summaryArtifactPath`
35- managed: pass both `runId` and `summaryArtifactPath`
36
37## Runtime
38
39Runtime family: `task-plan-worker-runtime`
40
41Phase profile:
421. `PHASE_0_CONFIG`
432. `PHASE_1_LOAD_INPUTS`
443. `PHASE_2_LOAD_CONTEXT`
454. `PHASE_3_GENERATE_TASK_DOCS`
465. `PHASE_4_VALIDATE_TASKS`
476. `PHASE_5_CONFIRM_OR_AUTOAPPROVE`
487. `PHASE_6_APPLY_CREATE`
498. `PHASE_7_UPDATE_KANBAN`
509. `PHASE_8_WRITE_SUMMARY`
5110. `PHASE_9_SELF_CHECK`
52
53Summary artifact rules:
54- emit `summary_kind=task-plan`
55- standalone runs generate their own `run_id` and write the default worker-family artifact path
56- managed runs require both `runId` and `summaryArtifactPath` and must write the summary to the exact provided path
57- always write the validated summary artifact before terminal outcome
58
59## Output Contract
60
61Always build a structured `task-plan` summary envelope per:
62- `shared/references/coordinator_summary_contract.md`
63- `shared/references/task_plan_worker_runtime_contract.md`
64
65Payload fields:
66- `mode`
67- `story_id`
68- `task_type`
69- `tasks_created`
70- `tasks_updated`
71- `tasks_canceled`
72- `task_urls`
73- `kanban_updated`
74- `dry_warnings_count`
75- `warnings`
76
77Always write the validated summary before terminal outcome.
78
79## Workflow
80
811. Resolve task provider and template set.
822. Run DRY and destructive-operation checks where applicable.
833. Use coordinator context (`discoveryContext`, `traceabilityTablePath`) to understand architecture. Research codebase for implementation details (existing patterns, related files, integration points) to write good Technical Approach sections.
844. Select scope:
85 - `ADD`: use `tasksToCreate` only
86 - `CREATE`: expand the full `idealPlan`
875. Generate task documents from the selected scope.
886. Validate type-specific rules.
897. Show preview and get confirmation if needed.
908. Create tasks in Linear or file mode.
919. Update kanban.
9210. Return structured summary.
93
94## Critical Rules
95
96- Remain standalone-capable.
97- Do not require coordinator runtime state.
98- Keep implementation, refactoring, and test rules separated by `taskType`.
99- Write machine-readable summary output every time.
100- **Ideal plan is binding.** Create every task in the approved plan. Do not re-evaluate whether tasks should exist.
101- **Fast path for `ADD`:** `tasksToCreate` is the execution scope. Do not re-expand the full ideal plan when the coordinator already selected the delta.
102- **STOP before save_issue:** verify all 7 sections present in body: Context, Implementation Plan, Technical Approach, Acceptance Criteria, Affected Components, Existing Code Impact, Definition of Done. PreToolUse hook will BLOCK creation without them.
103
104## Definition of Done
105
106- [ ] Templates loaded
107- [ ] Task documents generated
108- [ ] Type-specific validation passed
109- [ ] Tasks created in provider-specific storage
110- [ ] kanban updated
111- [ ] Structured summary returned
112- [ ] Summary artifact written to the managed or standalone runtime path
113
114---
115**Version:** 3.0.0
116**Last Updated:** 2025-12-23