MANDATORY IMPORTANT MUST use TaskCreate to break ALL work into small tasks BEFORE starting.
MANDATORY IMPORTANT MUST use AskUserQuestion at EVERY stage — validate decisions before proceeding.
MANDATORY IMPORTANT MUST NEVER ask tech stack upfront — business analysis and domain modeling first.
Quick Summary
Goal: Guide greenfield project inception from raw idea to an approved, implementable project plan using a full waterfall process.
Workflow (16 steps):
- Discovery (
/idea) — Interview user about problem, vision, constraints, team skills, scale. DO NOT ask about tech stack — keep business-focused.
- Market Research (
/web-research) — WebSearch for competitors, market landscape, existing solutions
- Deep Research (
/deep-research) — WebFetch top sources, extract key findings
- Business Evaluation (
/business-evaluation) — Viability assessment, risk matrix, value proposition
- Domain Analysis & ERD (
/domain-analysis) — Bounded contexts, aggregates, entities, ERD diagram, domain events. Validate every context boundary with user.
- Tech Stack Research (
/tech-stack-research) — Derive technical requirements from business + domain analysis. Research top 3 options per stack layer (backend, frontend, database, messaging, infra). Detailed pros/cons matrix, team-fit scoring, market analysis. Present comparison report for user to decide.
- Architecture Design (
/architecture-design) — Research and compare top 3 architecture styles (Clean, Hexagonal, Vertical Slice, etc.). Evaluate design patterns (CQRS, Repository, Mediator). Audit against SOLID, DRY, KISS, YAGNI. Validate scalability, maintainability, IoC, technical agnosticism. Present comparison with recommendation.
- Implementation Plan (
/plan) — Create phased plan using confirmed tech stack + architecture + domain model
- Security Audit (
/security) — Review plan for OWASP Top 10, auth patterns, data protection concerns
- Performance Audit (
/performance) — Review plan for performance bottlenecks, scalability, query optimization
- Plan Review (
/plan-review) — Full plan review, risk assessment, approval
- Refine to PBI (
/refine) — Transform idea + reviewed plan into actionable PBI with acceptance criteria
- User Stories (
/story) — Break PBI into implementable user stories
- Plan Validation (
/plan-validate) — Interview user with critical questions to validate plan + stories
- Test Strategy (
/tdd-spec) — Test pyramid, frameworks, spec outline
- Workflow End (
/workflow-end) — Clean up, announce completion
Key Rules:
- PLANNING ONLY: never implement code
- Every stage saves artifacts to plan directory
- MANDATORY IMPORTANT MUST every stage requires
AskUserQuestion validation before proceeding
- Delegate architecture decisions to
solution-architect agent
- Present 2-4 options for every major decision with confidence %
- Business-First Protocol: Tech stack is NEVER asked upfront. Business analysis (steps 1-5) + domain modeling (step 6) must complete first. Tech stack is derived from requirements through research and presented as a comparison report with options.
- MANDATORY IMPORTANT MUST architecture design and scaffold steps MUST include code quality gate tooling setup — linter, static analyzer, formatter, pre-commit hooks, CI quality gates, and build-time enforcement are NON-SKIPPABLE infrastructure.
Entry Point
This skill is the explicit entry point for the greenfield-init workflow.
When invoked:
- Activate the
greenfield-init workflow via /workflow-start greenfield-init
- The workflow handles step sequencing, task creation, and progress tracking
- Each step delegates to the appropriate skill (idea, web-research, domain-analysis, tech-stack-research, etc.)
- The
solution-architect agent provides architecture guidance throughout
When to Use
- Starting a brand-new project from scratch
- No existing codebase (empty project directory)
- Planning a new application before writing any code
- Want structured waterfall inception with user collaboration at every step
When NOT to Use
- Existing codebase with code (use
/plan or /feature instead)
- Bug fixes, refactoring, or feature implementation
- Quick prototyping (use
/cook-fast instead)
Output
All artifacts saved to plan directory:
plans/{id}/
research/
discovery-interview.md
market-research.md
deep-research.md
business-evaluation.md
domain-analysis.md
tech-stack-comparison.md
architecture-design.md
phase-01-domain-model.md
phase-02-tech-stack.md
phase-02b-architecture.md
phase-03-project-structure.md
phase-04-test-strategy.md
phase-05-backlog.md
plan.md (master plan with YAML frontmatter)
After completion, recommend next step: /cook to scaffold the project structure.
Be skeptical. Apply critical thinking, sequential thinking. Every claim needs traced proof, confidence percentages (Idea should be more than 80%).
MANDATORY IMPORTANT MUST break work into small todo tasks — one per workflow step.
MANDATORY IMPORTANT MUST validate with user at EVERY step — never auto-decide.
MANDATORY IMPORTANT MUST add a final review todo task to verify work quality and identify fixes/enhancements.
1---2name: greenfield3description: [Planning] Start a new project from scratch with full waterfall inception — idea, research, domain modeling, tech stack, and implementation plan4---5
6**MANDATORY IMPORTANT MUST** use `TaskCreate` to break ALL work into small tasks BEFORE starting.
7**MANDATORY IMPORTANT MUST** use `AskUserQuestion` at EVERY stage — validate decisions before proceeding.
8**MANDATORY IMPORTANT MUST** NEVER ask tech stack upfront — business analysis and domain modeling first.
9
10## Quick Summary
11
12**Goal:** Guide greenfield project inception from raw idea to an approved, implementable project plan using a full waterfall process.
13
14**Workflow (16 steps):**
15
161. **Discovery** (`/idea`) — Interview user about problem, vision, constraints, team skills, scale. **DO NOT ask about tech stack** — keep business-focused.
172. **Market Research** (`/web-research`) — WebSearch for competitors, market landscape, existing solutions
183. **Deep Research** (`/deep-research`) — WebFetch top sources, extract key findings
194. **Business Evaluation** (`/business-evaluation`) — Viability assessment, risk matrix, value proposition
205. **Domain Analysis & ERD** (`/domain-analysis`) — Bounded contexts, aggregates, entities, ERD diagram, domain events. Validate every context boundary with user.
216. **Tech Stack Research** (`/tech-stack-research`) — Derive technical requirements from business + domain analysis. Research top 3 options per stack layer (backend, frontend, database, messaging, infra). Detailed pros/cons matrix, team-fit scoring, market analysis. Present comparison report for user to decide.
227. **Architecture Design** (`/architecture-design`) — Research and compare top 3 architecture styles (Clean, Hexagonal, Vertical Slice, etc.). Evaluate design patterns (CQRS, Repository, Mediator). Audit against SOLID, DRY, KISS, YAGNI. Validate scalability, maintainability, IoC, technical agnosticism. Present comparison with recommendation.
238. **Implementation Plan** (`/plan`) — Create phased plan using confirmed tech stack + architecture + domain model
249. **Security Audit** (`/security`) — Review plan for OWASP Top 10, auth patterns, data protection concerns
2510. **Performance Audit** (`/performance`) — Review plan for performance bottlenecks, scalability, query optimization
2611. **Plan Review** (`/plan-review`) — Full plan review, risk assessment, approval
2712. **Refine to PBI** (`/refine`) — Transform idea + reviewed plan into actionable PBI with acceptance criteria
2813. **User Stories** (`/story`) — Break PBI into implementable user stories
2914. **Plan Validation** (`/plan-validate`) — Interview user with critical questions to validate plan + stories
3015. **Test Strategy** (`/tdd-spec`) — Test pyramid, frameworks, spec outline
3116. **Workflow End** (`/workflow-end`) — Clean up, announce completion
32
33**Key Rules:**
34
35- PLANNING ONLY: never implement code
36- Every stage saves artifacts to plan directory
37- **MANDATORY IMPORTANT MUST** every stage requires `AskUserQuestion` validation before proceeding
38- Delegate architecture decisions to `solution-architect` agent
39- Present 2-4 options for every major decision with confidence %
40- **Business-First Protocol:** Tech stack is NEVER asked upfront. Business analysis (steps 1-5) + domain modeling (step 6) must complete first. Tech stack is derived from requirements through research and presented as a comparison report with options.
41- **MANDATORY IMPORTANT MUST** architecture design and scaffold steps MUST include code quality gate tooling setup — linter, static analyzer, formatter, pre-commit hooks, CI quality gates, and build-time enforcement are NON-SKIPPABLE infrastructure.
42
43## Entry Point
44
45This skill is the explicit entry point for the `greenfield-init` workflow.
46
47**When invoked:**
48
491. Activate the `greenfield-init` workflow via `/workflow-start greenfield-init`
502. The workflow handles step sequencing, task creation, and progress tracking
513. Each step delegates to the appropriate skill (idea, web-research, domain-analysis, tech-stack-research, etc.)
524. The `solution-architect` agent provides architecture guidance throughout
53
54## When to Use
55
56- Starting a brand-new project from scratch
57- No existing codebase (empty project directory)
58- Planning a new application before writing any code
59- Want structured waterfall inception with user collaboration at every step
60
61## When NOT to Use
62
63- Existing codebase with code (use `/plan` or `/feature` instead)
64- Bug fixes, refactoring, or feature implementation
65- Quick prototyping (use `/cook-fast` instead)
66
67## Output
68
69All artifacts saved to plan directory:
70
71```
72plans/{id}/
73 research/
74 discovery-interview.md
75 market-research.md
76 deep-research.md
77 business-evaluation.md
78 domain-analysis.md
79 tech-stack-comparison.md
80 architecture-design.md
81 phase-01-domain-model.md
82 phase-02-tech-stack.md
83 phase-02b-architecture.md
84 phase-03-project-structure.md
85 phase-04-test-strategy.md
86 phase-05-backlog.md
87 plan.md (master plan with YAML frontmatter)
88```
89
90After completion, recommend next step: `/cook` to scaffold the project structure.
91
92**Be skeptical. Apply critical thinking, sequential thinking. Every claim needs traced proof, confidence percentages (Idea should be more than 80%).**
93
94---
95
96**MANDATORY IMPORTANT MUST** break work into small todo tasks — one per workflow step.
97**MANDATORY IMPORTANT MUST** validate with user at EVERY step — never auto-decide.
98**MANDATORY IMPORTANT MUST** add a final review todo task to verify work quality and identify fixes/enhancements.