/groundwork:create-tasks [filter]from groundwork
Translates product specs and architecture documents into actionable implementation tasks organized by milestone. Useful when starting a new feature or project phase.
Ships in groundwork. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Translates product specs and architecture into actionable implementation tasks.
Your current effort level is {{effort_level}}. Skip this step silently if effort is high, xhigh, or max (the scale is low < medium < high < xhigh < max, so xhigh and max are already above high) AND you are Opus (1M context). Otherwise ask via AskUserQuestion (header "Model check"; options "Continue anyway" / "Cancel — I'll switch first"):
"Do you want to switch? Task granularity judgment and vertical slicing decisions determine execution success.
Recommended: Opus (1M context) at high effort.
To switch: cancel, run
/model opus[1m]and/effort high, then re-invoke this skill."
If the user selects "Cancel — I'll switch first": output the switching commands and stop. Do not proceed with the skill. Ask once per conversation: a skill invoked by another skill skips this step when the recommendation was already shown. In a non-interactive run (--noninteractive, GROUNDWORK_RUNNER_MODE=true, or GROUNDWORK_BATCH_MODE=true), skip the prompt and continue on the current model.
.groundwork.yml exist at the repo root?
{{project_name}} non-empty?
Skill(skill="groundwork:select-project") to select a project, then restart this skill.{{project_name}}, specs at {{specs_dir}}/.--project.
.groundwork.yml: the repo root or the selected project's path → fine, proceed; no project's path → proceed without warning (shared directory).--noninteractive, keep the selected project and continue; otherwise warn via AskUserQuestion:
"You're working from
<cwd>(inside [cwd-project]), but the selected Groundwork project is [selected-project] ([selected-project-path]/). What would you like to do?"
- "Switch to [cwd-project]"
- "Stay with [selected-project]" If the user switches, invoke
Skill(skill="groundwork:select-project").
{{specs_dir}}/product_specs.md (PRD with EARS requirements){{specs_dir}}/architecture.md (architecture with decision records){{specs_dir}}/design_system.md (design system with DP/BRD/UXD decisions) - optional{{specs_dir}}/tasks/ directory with per-milestone subdirectories:
specs/tasks/
├── _index.md # Overview, milestone summary, dependency graph
├── M1-core-auth/
│ ├── TASK-001.md
│ ├── TASK-002.md
│ └── TASK-003.md
├── M2-upload/
│ ├── TASK-004.md
│ └── TASK-005.md
└── parking-lot.md # Deferred tasks
Important: When asking questions to the user (milestone validation, task review, scope clarification), always use the AskUserQuestion tool with appropriate options.
Read the input specs (each may be a single file or directory) and extract:
From PRD:
{{specs_dir}}/product_specs.md{{specs_dir}}/product_specs/ (aggregate all .md files)From Architecture:
{{specs_dir}}/architecture.md{{specs_dir}}/architecture/ (aggregate all .md files)From Design System (if exists):
{{specs_dir}}/design_system.mdDetection: Check for a single file first (it takes precedence), then a directory. Read a directory as all its .md files recursively — _index.md first, then numerically-prefixed files, then alphabetically.
If PRD or architecture is missing, prompt user:
"I need both the PRD and architecture to generate tasks.
- PRD missing? Run
/groundwork:design-product- Architecture missing? Run
/groundwork:design-architecture"
If design system exists, incorporate design context into UI/frontend tasks.
Before defining milestones, check if tasks already exist:
{{specs_dir}}/tasks/_index.md or {{specs_dir}}/tasks.mdIf existing tasks found:
If no existing tasks: Proceed to define milestones from scratch.
If adding to existing project: Either add tasks to a user-selected existing milestone directory, or create a new milestone directory continuing the sequence (e.g., M6-feature-name/).
If starting fresh: Establish product milestones - points where the application can be assessed by a user.
Milestone principles:
Example milestone progression:
M1: Core Authentication
→ User can sign up, log in, see empty dashboard
M2: Upload & Verification
→ User can upload images, complete identity verification
M3: Model Training
→ User can initiate training, see progress, view completion
M4: Basic Generation
→ User can generate images with their model
M5: Billing Integration
→ User can subscribe, see quota, pay for overages
Present proposed milestones to user for feedback before generating tasks.
Presentation style:
For major technologies in the architecture, gather implementation guidance before generating tasks.
For each significant technology in the architecture:
Invoke the researcher agent:
Agent(
subagent_type="groundwork:researcher:researcher",
prompt="Research Topic: [technology from architecture]
Research Questions:
- What is the standard project structure?
- What are idiomatic patterns for [component type]?
- What are common implementation mistakes?
- What setup/configuration pitfalls exist?
Project Context: [from PRD]
Architecture Decisions: [relevant DRs]"
)
Use research findings to:
Research Integration: When generating tasks in Step 4, incorporate research findings:
For each milestone, generate tasks using the format specified in the "Required Task Format" section below.
Every task MUST follow this exact format to ensure compatibility with /groundwork:work-on-next-task and other workflows:
### TASK-NNN: [Task Title]
**Milestone:** M[X] - [Milestone Name]
**Component:** [Component from architecture]
**Estimate:** S | M | L | XL
**Goal:**
[One sentence describing the outcome]
**Action Items:**
- [ ] [Action 1]
- [ ] [Action 2]
- [ ] [Action 3]
**Dependencies:**
- Blocked by: [TASK-XXX, TASK-YYY or None]
- Blocks: [TASK-ZZZ or None]
**Acceptance Criteria:**
- [Testable criterion 1]
- [Testable criterion 2]
**Test Seams:**
- [Seam where tests for this task live] — catches: [what it catches]; misses: [what it misses]
**Related Requirements:** PRD-XXX-REQ-NNN
**Related Decisions:** DR-NNN, DP-NNN, BRD-NNN, UXD-NNN
**Status:** Not Started | In Progress | Complete | Blocked
| Field | Required | Valid Values |
|---|---|---|
| Task ID | Yes | TASK-NNN (3+ digit number) |
| Milestone | Yes | M[N] - [Name] |
| Component | Yes | From architecture document |
| Estimate | Yes | S, M, L, or XL |
| Goal | Yes | Single sentence |
| Action Items | Yes | Checkbox list |
| Dependencies | Yes | Task IDs or "None" |
| Acceptance Criteria | Yes | Testable statements |
| Test Seams | Recommended | One line per seam: seam + catches/misses, or "None recorded" |
| Related Requirements | Recommended | PRD IDs |
| Related Decisions | Recommended | DR/DP/BRD/UXD IDs |
| Status | Yes | Exactly one of the four values |
**Status:** Not Started - Task hasn't begun**Status:** In Progress - Currently being worked on**Status:** Complete - Task finished and verified**Status:** Blocked - Cannot proceed due to dependenciesImportant: /groundwork:work-on-next-task parses these status values exactly. Any variation will cause parse errors.
A seam is the public boundary tests are written against — the interface where behavior is observable without reaching inside the implementation. You can't test every behavior at every level, so which seams a task's tests target is a deliberate decision, and this skill is where it gets made: the user is in the room during task creation, and everything downstream (plan-task, implement-task, TDD) runs agent-side and must never re-ask.
For each task, record one line per seam: the seam itself plus what testing there catches and what it misses:
**Test Seams:**
- Checkout reducer (pure function) — catches: pricing rules, edge-case totals; misses: HTTP wiring
- POST /api/checkout (integration) — catches: auth, status codes, serialization; misses: UI error states
Rules of thumb:
**Test Seams:** None recorded is valid (trivial tasks) — executors then fall back to the default rule in [[test-driven-development]]Write task titles, goals, and acceptance criteria in the project's domain language. If {{specs_dir}}/glossary.md exists, use its canonical terms and honor its _Avoid_ lists. A concept missing from the glossary is a signal to flag for [[domain-modeling]] — never invent a synonym the project doesn't use.
Target: 1-3 days of work per task for an experienced developer.
Prefer tasks that deliver working functionality over horizontal layers (the thin vertical slice principle — ${CLAUDE_PLUGIN_ROOT}/references/engineering-principles.md):
❌ Horizontal (avoid):
✅ Vertical (prefer):
Decomposition is the planning side of slicing. Each sliced task is then built the same way — flag-first, end-to-end, test-committed per slice; see [[vertical-slice]].
Each criterion must be something that can be verified - checked or tested, not vague.
Good criteria (verifiable):
Bad criteria (vague):
Standard criteria to include:
Create a dependency graph showing:
Format as both:
M1: Auth
├── TASK-001: Cognito setup ─────────────────────┐
├── TASK-002: Auth API (depends: 001) ───────────┼──┐
├── TASK-003: Login UI (depends: 002) ───────────┘ │
└── TASK-004: Session management (depends: 002) ────┘
M2: Upload
├── TASK-005: S3 bucket setup (parallel with M1)
├── TASK-006: Upload API (depends: 002, 005) ────┐
└── TASK-007: Upload UI (depends: 006) ──────────┘
Present the complete task list organized by milestone. Ask:
"Here's the task breakdown for [Milestone X].
- Are the task sizes appropriate for your team?
- Any missing tasks or unnecessary ones?
- Do the dependencies look right?
- Should any tasks be split or combined?"
Iterate until user approves, then write task files to {{specs_dir}}/tasks/.
Output structure:
{{specs_dir}}/tasks/_index.md with overview, milestone summary table, dependency graph, task status table, and critical path{{specs_dir}}/tasks/M{N}-{slug}/ (e.g., M1-core-auth/){{specs_dir}}/tasks/M{N}-{slug}/TASK-{NNN}.md{{specs_dir}}/tasks/parking-lot.md for deferred tasks (if any)Task status table in _index.md (required — used by /groundwork:work-on-next-task to find work without reading every task file):
### Task Status
| # | Task | Milestone | Status | Blocked by |
|---|------|-----------|--------|------------|
| TASK-001 | Auth setup | M1 | Not Started | None |
| TASK-002 | Login UI | M1 | Not Started | TASK-001 |
If adding to existing tasks:
_index.md — add new rows to the status table, add the new milestone to the summary table, extend the dependency graphProgressive presentation:
After user approves the task list and before writing final version:
You MUST call the Skill tool now: Skill(skill="groundwork:task-validation-loop")
Do NOT skip validation or declare the task list complete without running this. It ensures PRD coverage, architecture alignment, and design system compliance.
Wait for validation loop to pass before proceeding.
If validation finds issues:
After writing the tasks document, suggest the next workflow step:
"Task list created and validated with [N] tasks across [M] milestones. PRD coverage: [X]%
Next step: Run
/groundwork:work-on-next-taskto begin implementation, or/groundwork:work-on Nto work on a specific task."
Common task types to ensure coverage:
| Category | Examples |
|---|---|
| Infrastructure | IaC setup, CI/CD pipeline, environments |
| Data | Schema design, migrations, seed data |
| Backend | API endpoints, business logic, integrations |
| Frontend | Components, pages, state management |
| Design System | Token setup, component styling, theme implementation |
| Auth | Identity setup, authorization rules |
| Testing | Unit tests, integration tests, E2E |
| Observability | Logging, metrics, alerts |
| Documentation | API docs, runbooks, README |
| Security | Pen testing, security review, hardening |
When {{specs_dir}}/design_system.md exists, include design-specific tasks:
| Task Type | Related Decisions | Example |
|---|---|---|
| Token setup | DP-NNN | Configure CSS variables/Tailwind theme |
| Color system | The color decisions under §2.1 Color System (BRD-NNN) | Implement brand palette, semantic colors |
| Typography | The typography decisions under §2.2 Typography (BRD-NNN) | Font loading, type scale utilities |
| Component styling | BRD-NNN, UXD-NNN | Button variants, form controls |
| Loading states | The UXD decisions under §3.2 Loading States | Skeleton screens, spinners |
| Error handling | The UXD decisions under §3.3 Error Handling | Toast system, error boundaries |
| Empty states | The UXD decisions under §3.4 Empty States | First-run, no-data components |
| Responsive layout | The UXD decisions under §3.6 Responsive Behavior | Breakpoint utilities, layout adaptation |
| Motion system | The UXD decisions under §3.7 Motion & Interaction Character | Animation utilities, reduced motion |
Reference design decisions in task Related Decisions field to ensure traceability.
${CLAUDE_PLUGIN_ROOT}/references/tasks/tasks-template.md - Template for tasks documentWhat SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (etr/groundwork) — no native marketplace selected
npx claudepluginhub p/etr-groundwork44 skills in this plugin
/build-unplannedBuild a feature from a description with worktree isolation and TDD. Optional flag - --on-unrelated-failure stop-and-ask|expand-and-fix|ignore-and-merge - how validation treats gate failures unrelated to the active project (default stop-and-ask)./check-specs-alignmentVerify alignment between code and specs./debugUse when investigating bugs, unexpected behavior, test failures, or any code that does not work as expected - enforces systematic root cause analysis before any fix/design-architectureUse when the user asks to design system architecture, make architectural decisions, or translate PRD into technical design/design-it-twiceUse before committing to a non-trivial module, service boundary, or public API - generate 2-3 divergent interface designs, compare them on depth/locality/seam, and recommend one/design-productCreate detailed product requirements document (PRD) for a feature.Other plugins' skills for the same job