brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
specs-devPlan-first development workflow with review gates. Use when implementing features, refactoring, or any task requiring structured planning, iterative implementation with reviews, and clean commits. Triggers on requests like "implement feature X", "plan and build", "spec-driven development", or when user wants disciplined, reviewed code changes.
Independent GitHub snapshot · Automated classification · Original documentation governs
A disciplined, review-gated development workflow ensuring quality through structured planning and iterative implementation.
| Phase | Purpose | Exit Criteria |
|---|---|---|
| 1. Discovery | Understand requirements | User approves summary |
| 2. Planning | Create reviewed plan | Plan reviewed and approved |
| 3. Implementation | Iterative coding with reviews | All tasks complete, reviewed |
| 4. Completion | Final validation | Tests pass, docs updated |
Goal: Reach shared understanding before planning.
Gate A: "Do I understand correctly? Should I proceed to create the plan?" — Wait for approval.
Goal: Create a comprehensive, reviewed implementation plan.
references/templates/plan.mdreferences/agents/reviewer.md.agents/sessions/{YYYY-MM-DD}-{feature-name}/plan.md and tasks.md (use references/templates/)Quality gates: see references/gates.md
Goal: Implement tasks iteratively with approval-gated review loops.
⚠️ MANDATORY: You MUST follow
references/loop.md— Read and execute the implementation loop exactly as specified. Do not skip or deviate from the defined state machine.
Summary: For each task:
IMPLEMENTING → VALIDATING → REVIEWING → loop until approved → COMMITTING → DOCUMENTING → NEXT TASK
Required Steps:
references/loop.md before starting any implementationreferences/agents/worker.md, references/agents/reviewer.mdQuality gates: see references/gates.md
Goal: Final validation and wrap-up.
plan.md with results, final status, known issuestasks.mdQuality gates: see references/gates.md
Reviewer — Plan reviews, code reviews:
Context: references/agents/reviewer.md
Task: Review [plan/code] for completeness, security, performance, patterns
Worker — Focused implementation:
Context: references/agents/worker.md
Task: Implement [objective] in [files] with [acceptance criteria]
.agents/sessions/{YYYY-MM-DD}-{feature-name}/
├── plan.md # Strategic plan
└── tasks.md # Tactical tasks
references/
├── loop.md # Phase 3 state machine, steps, fix routing
├── gates.md # Quality gates for all phases
├── help.md # Common issues, best practices
├── agents/
│ ├── reviewer.md # Reviewer subagent context
│ └── worker.md # Worker subagent context
└── templates/
├── plan.md # Plan document template
└── tasks.md # Tasks document template
| File | When to Read |
|---|---|
loop.md | Phase 3 (MANDATORY — must follow) |
agents/reviewer.md | Plan/code reviews |
agents/worker.md | Task implementation |
templates/plan.md | Phase 2 |
templates/tasks.md | Phase 2 |
gates.md | Each phase exit |
help.md | When stuck |