skills/greenfield-decomposer/SKILL.md
Break down a greenfield project blueprint into executable task-creator-ready research documents. Use after greenfield-init has produced a project blueprint, or when a project plan needs to be decomposed into buildable chunks with validation gates.
npx skillsauth add barkbarkgoose/ai-agents greenfield-decomposerInstall 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.
Recursively break down project blueprint phases into task-creator-ready research documents.
PROJECT_BLUEPRINT.md exists from greenfield-init.agent-tasks/tasks/[YYYYMMDD-project-name]/ folderRead and internalize (located in this skill folder):
DECOMPOSITION_GUIDE.md — Rules for breaking phases into chunksVALIDATION_GATES.md — Standard validation patterns per task typeRead from the project folder:
research/PROJECT_BLUEPRINT.md — Full project planresearch/API_CONTRACT.md — Interface contract (if it exists)For the target phase:
DECOMPOSITION_GUIDE.md:
Every work item gets a validation gate from VALIDATION_GATES.md:
Within the phase, determine what can run in parallel:
Write a research document for the phase to:
research/PHASE-[N]-[phase-name].md
This document is the input for task-creator. Structure it so task-creator can read it and produce task files directly.
# Phase [N]: [Phase Name]
**Source:** PROJECT_BLUEPRINT.md, Phase [N]
**Goal:** [Phase goal from blueprint]
**Validation gate:** [Phase-level gate from blueprint]
---
## Work Items
### [N.1] [Item Name]
**Category:** [scaffolding/models/endpoints/components/integration/config]
**Dependencies:** None | [Item N.X]
**Parallel with:** [Item N.X] | None
**What to do:**
[Clear description of the work]
**Scope:**
[Files/directories involved]
**Validation:**
- [ ] [Executable gate]
---
### [N.2] [Item Name]
...
## Execution Order
1. Items N.1-N.3 can run in parallel (no shared dependencies)
2. Item N.4 depends on N.1 completing
3. ...
## Phase Complete When
- [ ] All work items complete
- [ ] Phase validation gate passes: [gate from blueprint]
After producing the research document:
Phase [N] decomposed into [X] work items. Next step: use the
task-creatorskill to generate task files.Use the task-creator skill to generate tasks from: - task: [YYYYMMDD-project-name] - Source: .agent-tasks/tasks/[YYYYMMDD-project-name]/research/PHASE-[N]-[phase-name].md
A chunk is small enough when a sub-agent can:
If a chunk requires the agent to "come back later" or "check after restart", it's too big.
After all tasks in a phase are complete, the system must be in a runnable state. Never leave the system broken between phases.
| Level | Artifact | Produced by | |-------|----------|-------------| | Blueprint | Phases | greenfield-init | | Phase | Work items | greenfield-decomposer | | Work item | Task files | task-creator | | Task file | Execution | task-orchestrator |
If a work item is still too large, break it into sub-items at the same level. Flatten into sequential work items with dependencies — do not create deeper nesting.
Decompose and complete one phase before starting the next. This ensures the validation gate passes and the system is in a known-good state before building on top of it.
Before finalizing a phase research document:
tools
Use this skill when working on Vue 3 + TypeScript client-side code, including creating new components, refactoring existing UI, implementing store logic with Pinia, or building reusable composition functions.
data-ai
orchestration skill for tasks, takes a task folder as input and runs one sub-agent for each individual task file. Should NOT execute or make any changes on its own, only sub-agents may do that.
tools
create tasks as files in local project directory
data-ai
archives a local agent task directory so it can be recalled for future reference