Task Creation
Core principle
Task Creation turns a goal into sequenced, reviewable vertical slices of work.
A good task-creation makes implementation easier because every slice has a visible result, clear constraints, and a verification path. It makes review easier because reviewers can compare changes against stated goals, requirements, risks, and acceptance checks.
Task Creation is sequencing, not execution. A task-creation is not proof; only inspected changes, tests, demos, or other evidence prove completion.
Load when
Load for a concrete software or product project when the user asks to:
- break down a feature, fix, refactor, migration, tool, system, or project
- produce milestones, implementation steps, tickets, issues, vertical slices, or phases
- decide sequencing, dependencies, iterations, scope cuts, or parallelization
- turn an approved or sufficiently shaped goal into implementable work
- prepare work for coding agents, reviewers, or subagents
- sequence greenfield architecture after the core users, runtime, and tradeoffs are stable enough to slice
- split a large task into reviewable chunks without exposing another public command
Also load when implementation is requested but the goal is broad enough that coding immediately would hide major sequencing decisions. If behavior, scope, UX, or architecture tradeoffs are still undecided, route to product-planning first; use Task Creation once the desired outcome is stable enough to sequence.
At entry, use the full Keystone path for project delivery work tied to a repository, product initiative, approved specification, or engineering lifecycle outcome. Handle standalone lists, personal planning, and ordinary to-do decomposition directly. Explicit invocation selects the full Task Creation behavior.
Not for
Do not use Task Creation for:
- implementation, file edits, refactors, migrations, or generated code
- debugging a known failure; use
root-cause-analysis first, then return to Task Creation if a repair sequence is needed
- context-survey-only tasks; use
context-survey first when facts are missing
- copy/design shaping as the primary work; use
product-planning first when output is prose, UX, or design direction
- final verification, release readiness, or completion claims; use
change-review, project-audit, or shipping
Outcome contract
A Task Creation output must include:
- Goal: the intended outcome in one or two sentences.
- Context inspected: files, docs, requirements, or assumptions used.
- Requirements inventory: critical requirements, non-functional requirements, good-to-haves, constraints, and open questions.
- Stack and architecture context: current or proposed technologies, boundaries, integrations, and limitations.
- Iteration layering: iteration 1, iteration 2, iteration 3, etc., with explicit scope cuts.
- Vertical slices: ordered work items that each deliver an end-to-end outcome.
- Verification gates: how each slice can be tested, reviewed, or demonstrated.
- Risks and dependencies: what can block, invalidate, or reorder the work.
- Handoff: recommended next primary module and any subagent/analysis-depth suggestions.
If information is missing, state the assumption or ask the smallest set of questions required to avoid a bad task-creation.
Modes
Feature task-creation
Use for new capabilities in an existing product. Focus on the user/operator goal, existing entry points, data paths, APIs, UI surfaces, tests, deployment constraints, and the smallest end-to-end slice that proves the feature path. Add progressive enrichment after the core loop works. Avoid horizontal buckets like "database", "backend", "frontend", and "tests" unless they are nested inside a vertical slice.
Greenfield architecture task-creation
Use for new projects, tools, services, apps, packages, or substantial standalone systems. Start architecture-first: name the primary users, runtime, language, framework, hosting, storage, auth, observability, CI, packaging constraints, system boundaries, and integration points. Iteration 1 should prove the architecture can run, test, deploy, and support one meaningful vertical path, not merely create folders.
Refactor/migration task-creation
Use when behavior should remain stable while internals change. Focus on the current behavior contract, compatibility expectations, affected surfaces, consumers, migration seams, adapters, flags, dual-run paths, rollback strategy, observability, and characterization tests. Prefer strangler-style or seam-first slices over broad rewrites.
Subagent-parallel task-creation
Use when independent workstreams can proceed safely in isolated workspaces. Map the dependency graph before delegation. Name shared files, interfaces, merge-risk hotspots, delegation purpose, required analysis depth, context packets, expected artifacts, integration order, and review checkpoints. Only parallelize slices that can be verified independently or integrated behind a clear contract.
Process
- Identify the goal.
- Restate the desired end state, not just the requested activity.
- Identify who benefits and what observable change proves value.
- If the goal is unclear and cannot be inferred from context, ask one focused question.
- Inspect before asking broad questions.
- Read relevant files, docs, issues, architecture notes, tests, package manifests, and existing modules when available.
- Use
context-survey for unfamiliar libraries, external constraints, or repository-wide discovery.
- Ask clarifying questions only when inspection cannot resolve a decision that materially changes the task-creation.
- Build the requirements inventory.
- Separate critical requirements from non-functional requirements and good-to-haves.
- Capture explicit user constraints, protected files, deadlines, compatibility needs, and review expectations.
- Mark assumptions and unknowns instead of silently inventing requirements.
- Identify stack and constraints.
- Note languages, frameworks, package managers, deployment targets, test tooling, persistence, auth, APIs, and platform limits.
- For greenfield work, propose architecture choices only after naming tradeoffs and constraints.
- For existing systems, prefer the established stack unless the goal requires a change.
- Choose iteration layers.
- Define iteration 1 as the smallest coherent outcome that proves the path.
- Define later iterations as progressively richer outcomes, not random leftovers.
- Make explicit what is intentionally deferred.
- Slice vertically.
- Each slice should cross needed layers to produce a reviewable result.
- Include data/model/API/UI/test/docs work inside the slice when needed for that result.
- Avoid phases that finish entire subsystems before any end-to-end value appears.
- Add verification gates.
- Give each slice an acceptance check, test command, manual review path, or demo criterion.
- Include regression checks for migrations and refactors.
- State when review should happen and what reviewers should inspect.
- Prepare the handoff.
- Recommend the next Keystone module.
- Identify subagent opportunities, required context, and analysis depth.
- Call out risks, dependencies, and open questions that should block implementation if unresolved.
Requirements inventory
Use this inventory before sequencing work:
- Goal: what outcome the user wants.
- Critical requirements: must be true or the work fails.
- Non-functional requirements: performance, security, reliability, accessibility, privacy, maintainability, observability, compatibility, cost, release, and operational concerns.
- Good-to-haves: valuable but deferrable enhancements.
- Constraints: protected files, APIs, tech stack, deadlines, repo conventions, deployment targets, team/process limits.
- Current state: what exists now, with file/source references when available.
- Unknowns: decisions or facts still unresolved.
- Assumptions: temporary beliefs used to proceed.
When requirements conflict, surface the conflict before writing slices.
Iteration layering
Iteration layers should describe increasing confidence and capability:
- Iteration 1: skeleton or core path. One thin, end-to-end result that validates the architecture, integration point, or user journey.
- Iteration 2: completeness and resilience. Add common cases, validation, error states, compatibility, and tests around the proven path.
- Iteration 3: polish and scale. Add edge cases, performance, accessibility, observability, docs, migration cleanup, and nice-to-haves.
- Later iterations: optional expansion, hardening, automation, or product refinements.
For greenfield projects, iteration 1 must include a runnable or executable foundation plus one meaningful vertical path. For migrations, iteration 1 should establish safety: characterization checks, seams, adapters, or observability before broad movement.
Task quality bar
Each task or slice must have:
- a name that describes the delivered outcome
- user/operator/developer value
- inputs and dependencies
- files or areas likely involved, when known
- exact acceptance criteria
- verification method
- rollback or safety note when risk is non-trivial
- review focus: what a reviewer should inspect
A weak task says "implementation backend" or "add tests". A strong slice says "Persist saved searches end-to-end behind the existing search UI, with API validation, storage migration, and regression coverage for loading saved searches."
Subagents and reasoning
Use subagents when sequencing benefits from independent context gathering, critique, or parallel workstream design and the active host exposes safe delegation:
- read-only context-survey on separate code areas, external APIs, or prior art
- architecture critique for greenfield foundations and migrations
- risk critique for security, data loss, compatibility, or release sequencing
- implementation delegation only after slices are independent and interfaces are stable
For each proposed delegation, specify purpose, required analysis depth, context packet, expected output artifact, files or areas off limits, and integration/review checkpoint. When delegation is available, encode required evidence depth and risk standard in the prompt. Do not use subagents to bypass ambiguity. Resolve shared interfaces and sequencing first.
Hard rules
- Task Creation stops before implementation.
- Task Creation mutates only the task artifact selected by the Task artifact rule.
- Do not rename
task-creation to plan.
- Do not expose
/plan.
- Do not claim the task-creation proves completion.
- Do not skip goal identification.
- Do not ask broad clarifying questions before inspecting available context.
- Do not produce horizontal-only task-creations.
- Do not hide assumptions, unresolved questions, or conflicts.
- Route risky task sets through
implementation with explicit verification gates and change-review points.
Failure modes
- Activity list: names actions but never states the outcome.
- Horizontal buckets: separates backend/frontend/tests so no slice is independently valuable.
- Big-bang architecture: designs everything before proving one runnable path.
- Faux certainty: treats assumptions as facts.
- Question spam: asks what inspection could answer.
- Implementation leak: starts coding, editing files, or choosing exact code structure beyond sequencing needs.
- Change Review-hostile output: lacks acceptance criteria, test commands, or reviewer focus.
- Parallelism theater: delegates coupled workstreams that collide on shared files or undefined interfaces.
- Task Creation-as-proof: reports success because a task-creation exists.
Output format
Use this structure unless the user requested a different artifact. For small contained tasks, compress sections while preserving goal, assumptions, slices, verification, risks, and handoff:
# Task Creation: <goal>
## Goal
<one or two sentences describing the desired outcome>
## Context inspected
- <files, docs, issues, sources, or "none available">
## Requirements inventory
### Critical requirements
- <must-have>
### Non-functional requirements
- <quality/operational constraint>
### Good-to-haves
- <deferrable enhancement>
### Stack and architecture context
- Stack: <technologies, frameworks, platforms, deployment targets>
- Boundaries: <modules, layers, services, UI/data/domain seams>
- Integrations: <APIs, persistence, queues, auth, payment, external systems>
- Limitations and constraints: <protected files, compatibility, process, deadline, cost, operational limits>
### Unknowns and assumptions
- Unknown: <question that matters>
- Assumption: <assumption used for this task-creation>
## Iteration layering
### Iteration 1: <core path / architecture skeleton / safety seam>
- Outcome: <reviewable result>
- Scope: <included>
- Deferred: <not included>
### Iteration 2: <complete common cases>
- Outcome: <reviewable result>
- Scope: <included>
- Deferred: <not included>
### Iteration 3: <hardening / polish / scale>
- Outcome: <reviewable result>
- Scope: <included>
- Deferred: <not included>
## Vertical slices
1. <slice name>
- Value: <who benefits and how>
- Work: <end-to-end changes at a sequencing level>
- Dependencies: <prior slices or decisions>
- Acceptance: <observable completion criteria>
- Verification: <test/review/demo method>
- Change Review focus: <what reviewers should inspect>
## Risks and dependencies
- <risk, impact, mitigation>
## Subagent opportunities
- <delegation purpose, required analysis depth, context packet, expected artifact>
## Handoff
Next module: `<context-survey|implementation|root-cause-analysis|change-review|project-audit|shipping|product-planning>` because <reason>.
### Checkpoint
Use the required fields from `../_shared/gates/checkpoint.md`.
Keep the output detailed enough to guide implementation and review, but short enough that each slice remains actionable.
Task artifact rule
Slice the work naturally before counting top-level vertical slices. Then choose delivery:
- For 1–5 top-level vertical slices, return the full task creation in conversation without creating a file.
- For 6 or more top-level vertical slices, write the task creation under
docs/keystone/tasks/YYYY-MM-DD-<slug>.md.
- An explicit request for chat only or conversation only keeps any length in conversation.
- An explicit request to write or save the task creation produces the artifact at any length.
Explicit delivery requests override the numeric threshold. When writing an artifact, return a concise summary and its path in conversation; do not duplicate the full task creation there.
1---2name: task-creation3description: Project delivery breakdown for a concrete software or product goal. Use when that goal needs implementation slices, milestones, dependencies, verification gates, or agent-ready work, or when another Keystone skill hands off a shaped goal for sequencing.4---56# Task Creation78## Core principle9Task Creation turns a goal into sequenced, reviewable vertical slices of work.1011A good task-creation makes implementation easier because every slice has a visible result, clear constraints, and a verification path. It makes review easier because reviewers can compare changes against stated goals, requirements, risks, and acceptance checks.1213Task Creation is sequencing, not execution. A task-creation is not proof; only inspected changes, tests, demos, or other evidence prove completion.1415## Load when16Load for a concrete software or product project when the user asks to:1718- break down a feature, fix, refactor, migration, tool, system, or project19- produce milestones, implementation steps, tickets, issues, vertical slices, or phases20- decide sequencing, dependencies, iterations, scope cuts, or parallelization21- turn an approved or sufficiently shaped goal into implementable work22- prepare work for coding agents, reviewers, or subagents23- sequence greenfield architecture after the core users, runtime, and tradeoffs are stable enough to slice24- split a large task into reviewable chunks without exposing another public command2526Also load when implementation is requested but the goal is broad enough that coding immediately would hide major sequencing decisions. If behavior, scope, UX, or architecture tradeoffs are still undecided, route to `product-planning` first; use Task Creation once the desired outcome is stable enough to sequence.2728At entry, use the full Keystone path for project delivery work tied to a repository, product initiative, approved specification, or engineering lifecycle outcome. Handle standalone lists, personal planning, and ordinary to-do decomposition directly. Explicit invocation selects the full Task Creation behavior.2930## Not for31Do not use Task Creation for:3233- implementation, file edits, refactors, migrations, or generated code34- debugging a known failure; use `root-cause-analysis` first, then return to Task Creation if a repair sequence is needed35- context-survey-only tasks; use `context-survey` first when facts are missing36- copy/design shaping as the primary work; use `product-planning` first when output is prose, UX, or design direction37- final verification, release readiness, or completion claims; use `change-review`, `project-audit`, or `shipping`3839## Outcome contract40A Task Creation output must include:41421. Goal: the intended outcome in one or two sentences.432. Context inspected: files, docs, requirements, or assumptions used.443. Requirements inventory: critical requirements, non-functional requirements, good-to-haves, constraints, and open questions.454. Stack and architecture context: current or proposed technologies, boundaries, integrations, and limitations.465. Iteration layering: iteration 1, iteration 2, iteration 3, etc., with explicit scope cuts.476. Vertical slices: ordered work items that each deliver an end-to-end outcome.487. Verification gates: how each slice can be tested, reviewed, or demonstrated.498. Risks and dependencies: what can block, invalidate, or reorder the work.509. Handoff: recommended next primary module and any subagent/analysis-depth suggestions.5152If information is missing, state the assumption or ask the smallest set of questions required to avoid a bad task-creation.5354## Modes5556### Feature task-creation57Use for new capabilities in an existing product. Focus on the user/operator goal, existing entry points, data paths, APIs, UI surfaces, tests, deployment constraints, and the smallest end-to-end slice that proves the feature path. Add progressive enrichment after the core loop works. Avoid horizontal buckets like "database", "backend", "frontend", and "tests" unless they are nested inside a vertical slice.5859### Greenfield architecture task-creation60Use for new projects, tools, services, apps, packages, or substantial standalone systems. Start architecture-first: name the primary users, runtime, language, framework, hosting, storage, auth, observability, CI, packaging constraints, system boundaries, and integration points. Iteration 1 should prove the architecture can run, test, deploy, and support one meaningful vertical path, not merely create folders.6162### Refactor/migration task-creation63Use when behavior should remain stable while internals change. Focus on the current behavior contract, compatibility expectations, affected surfaces, consumers, migration seams, adapters, flags, dual-run paths, rollback strategy, observability, and characterization tests. Prefer strangler-style or seam-first slices over broad rewrites.6465### Subagent-parallel task-creation66Use when independent workstreams can proceed safely in isolated workspaces. Map the dependency graph before delegation. Name shared files, interfaces, merge-risk hotspots, delegation purpose, required analysis depth, context packets, expected artifacts, integration order, and review checkpoints. Only parallelize slices that can be verified independently or integrated behind a clear contract.6768## Process69701. Identify the goal.71 - Restate the desired end state, not just the requested activity.72 - Identify who benefits and what observable change proves value.73 - If the goal is unclear and cannot be inferred from context, ask one focused question.742. Inspect before asking broad questions.75 - Read relevant files, docs, issues, architecture notes, tests, package manifests, and existing modules when available.76 - Use `context-survey` for unfamiliar libraries, external constraints, or repository-wide discovery.77 - Ask clarifying questions only when inspection cannot resolve a decision that materially changes the task-creation.783. Build the requirements inventory.79 - Separate critical requirements from non-functional requirements and good-to-haves.80 - Capture explicit user constraints, protected files, deadlines, compatibility needs, and review expectations.81 - Mark assumptions and unknowns instead of silently inventing requirements.824. Identify stack and constraints.83 - Note languages, frameworks, package managers, deployment targets, test tooling, persistence, auth, APIs, and platform limits.84 - For greenfield work, propose architecture choices only after naming tradeoffs and constraints.85 - For existing systems, prefer the established stack unless the goal requires a change.865. Choose iteration layers.87 - Define iteration 1 as the smallest coherent outcome that proves the path.88 - Define later iterations as progressively richer outcomes, not random leftovers.89 - Make explicit what is intentionally deferred.906. Slice vertically.91 - Each slice should cross needed layers to produce a reviewable result.92 - Include data/model/API/UI/test/docs work inside the slice when needed for that result.93 - Avoid phases that finish entire subsystems before any end-to-end value appears.947. Add verification gates.95 - Give each slice an acceptance check, test command, manual review path, or demo criterion.96 - Include regression checks for migrations and refactors.97 - State when review should happen and what reviewers should inspect.988. Prepare the handoff.99 - Recommend the next Keystone module.100 - Identify subagent opportunities, required context, and analysis depth.101 - Call out risks, dependencies, and open questions that should block implementation if unresolved.102103## Requirements inventory104Use this inventory before sequencing work:105106- Goal: what outcome the user wants.107- Critical requirements: must be true or the work fails.108- Non-functional requirements: performance, security, reliability, accessibility, privacy, maintainability, observability, compatibility, cost, release, and operational concerns.109- Good-to-haves: valuable but deferrable enhancements.110- Constraints: protected files, APIs, tech stack, deadlines, repo conventions, deployment targets, team/process limits.111- Current state: what exists now, with file/source references when available.112- Unknowns: decisions or facts still unresolved.113- Assumptions: temporary beliefs used to proceed.114115When requirements conflict, surface the conflict before writing slices.116117## Iteration layering118Iteration layers should describe increasing confidence and capability:119120- Iteration 1: skeleton or core path. One thin, end-to-end result that validates the architecture, integration point, or user journey.121- Iteration 2: completeness and resilience. Add common cases, validation, error states, compatibility, and tests around the proven path.122- Iteration 3: polish and scale. Add edge cases, performance, accessibility, observability, docs, migration cleanup, and nice-to-haves.123- Later iterations: optional expansion, hardening, automation, or product refinements.124125For greenfield projects, iteration 1 must include a runnable or executable foundation plus one meaningful vertical path. For migrations, iteration 1 should establish safety: characterization checks, seams, adapters, or observability before broad movement.126127## Task quality bar128Each task or slice must have:129130- a name that describes the delivered outcome131- user/operator/developer value132- inputs and dependencies133- files or areas likely involved, when known134- exact acceptance criteria135- verification method136- rollback or safety note when risk is non-trivial137- review focus: what a reviewer should inspect138139A weak task says "implementation backend" or "add tests". A strong slice says "Persist saved searches end-to-end behind the existing search UI, with API validation, storage migration, and regression coverage for loading saved searches."140141## Subagents and reasoning142Use subagents when sequencing benefits from independent context gathering, critique, or parallel workstream design and the active host exposes safe delegation:143144- read-only context-survey on separate code areas, external APIs, or prior art145- architecture critique for greenfield foundations and migrations146- risk critique for security, data loss, compatibility, or release sequencing147- implementation delegation only after slices are independent and interfaces are stable148149For each proposed delegation, specify purpose, required analysis depth, context packet, expected output artifact, files or areas off limits, and integration/review checkpoint. When delegation is available, encode required evidence depth and risk standard in the prompt. Do not use subagents to bypass ambiguity. Resolve shared interfaces and sequencing first.150151## Hard rules152153- Task Creation stops before implementation.154- Task Creation mutates only the task artifact selected by the Task artifact rule.155- Do not rename `task-creation` to `plan`.156- Do not expose `/plan`.157- Do not claim the task-creation proves completion.158- Do not skip goal identification.159- Do not ask broad clarifying questions before inspecting available context.160- Do not produce horizontal-only task-creations.161- Do not hide assumptions, unresolved questions, or conflicts.162- Route risky task sets through `implementation` with explicit verification gates and change-review points.163164## Failure modes165166- Activity list: names actions but never states the outcome.167- Horizontal buckets: separates backend/frontend/tests so no slice is independently valuable.168- Big-bang architecture: designs everything before proving one runnable path.169- Faux certainty: treats assumptions as facts.170- Question spam: asks what inspection could answer.171- Implementation leak: starts coding, editing files, or choosing exact code structure beyond sequencing needs.172- Change Review-hostile output: lacks acceptance criteria, test commands, or reviewer focus.173- Parallelism theater: delegates coupled workstreams that collide on shared files or undefined interfaces.174- Task Creation-as-proof: reports success because a task-creation exists.175176## Output format177Use this structure unless the user requested a different artifact. For small contained tasks, compress sections while preserving goal, assumptions, slices, verification, risks, and handoff:178179```markdown180# Task Creation: <goal>181182## Goal183<one or two sentences describing the desired outcome>184185## Context inspected186- <files, docs, issues, sources, or "none available">187188## Requirements inventory189### Critical requirements190- <must-have>191192### Non-functional requirements193- <quality/operational constraint>194195### Good-to-haves196- <deferrable enhancement>197198### Stack and architecture context199- Stack: <technologies, frameworks, platforms, deployment targets>200- Boundaries: <modules, layers, services, UI/data/domain seams>201- Integrations: <APIs, persistence, queues, auth, payment, external systems>202- Limitations and constraints: <protected files, compatibility, process, deadline, cost, operational limits>203204### Unknowns and assumptions205- Unknown: <question that matters>206- Assumption: <assumption used for this task-creation>207208## Iteration layering209### Iteration 1: <core path / architecture skeleton / safety seam>210- Outcome: <reviewable result>211- Scope: <included>212- Deferred: <not included>213214### Iteration 2: <complete common cases>215- Outcome: <reviewable result>216- Scope: <included>217- Deferred: <not included>218219### Iteration 3: <hardening / polish / scale>220- Outcome: <reviewable result>221- Scope: <included>222- Deferred: <not included>223224## Vertical slices2251. <slice name>226 - Value: <who benefits and how>227 - Work: <end-to-end changes at a sequencing level>228 - Dependencies: <prior slices or decisions>229 - Acceptance: <observable completion criteria>230 - Verification: <test/review/demo method>231 - Change Review focus: <what reviewers should inspect>232233## Risks and dependencies234- <risk, impact, mitigation>235236## Subagent opportunities237- <delegation purpose, required analysis depth, context packet, expected artifact>238239## Handoff240Next module: `<context-survey|implementation|root-cause-analysis|change-review|project-audit|shipping|product-planning>` because <reason>.241242### Checkpoint243Use the required fields from `../_shared/gates/checkpoint.md`.244245```246247Keep the output detailed enough to guide implementation and review, but short enough that each slice remains actionable.248249## Task artifact rule250251Slice the work naturally before counting top-level vertical slices. Then choose delivery:252253- For 1–5 top-level vertical slices, return the full task creation in conversation without creating a file.254- For 6 or more top-level vertical slices, write the task creation under `docs/keystone/tasks/YYYY-MM-DD-<slug>.md`.255- An explicit request for chat only or conversation only keeps any length in conversation.256- An explicit request to write or save the task creation produces the artifact at any length.257258Explicit delivery requests override the numeric threshold. When writing an artifact, return a concise summary and its path in conversation; do not duplicate the full task creation there.