Generate a Product Requirements Document (PRD) for planning. Use when starting a new feature, project, or complex task. Triggers on: create a prd, write prd for, plan this feature, requirements for, spec out, prd for.
After PRD is created, ask if user wants to continue with planning:
If yes → Guide them to run /aeon-flux to continue the workflow
Related Skills
If no → End here, they can manually run /loop later
Important: Do NOT start implementing. Just create the PRD.
Step 1: Clarifying Questions
Ask only critical questions where the initial prompt is ambiguous. Focus on:
Problem/Goal: What problem does this solve?
Core Functionality: What are the key actions?
Scope/Boundaries: What should it NOT do?
Success Criteria: How do we know it's done?
Format Questions Like This:
1. What is the primary goal of this feature?
1.1. Improve user experience
1.2. Add new functionality
1.3. Fix existing issues
1.4. Other: [please specify]
2. What is the scope?
2.1. Minimal viable version
2.2. Full-featured implementation
2.3. Just the backend/API
2.4. Just the UI
3. What are the key constraints?
3.1. Must integrate with existing code
3.2. Greenfield implementation
3.3. Performance critical
3.4. Security critical
This lets users respond with "1.1, 2.2, 3.1" for quick iteration.
Step 2: PRD Structure
Generate the PRD with these sections:
1. Overview
Brief description of the feature and the problem it solves.
2. Goals
Specific, measurable objectives (bullet list).
3. User Stories
Each story needs:
Title: Short descriptive name
Description: "As a [user], I want [feature] so that [benefit]"
Acceptance Criteria: Verifiable checklist of what "done" means
Each story should be small enough to implement in one focused session.
Format:
### US-001: [Title]
**Description:** As a [user], I want [feature] so that [benefit].
**Acceptance Criteria:**
- [ ] Specific verifiable criterion
- [ ] Another criterion
- [ ] Tests pass
Important:
Acceptance criteria must be verifiable, not vague
"Works correctly" is bad
"Button shows confirmation dialog before deleting" is good
4. Functional Requirements
Numbered list of specific functionalities:
"FR-1: The system must allow users to..."
"FR-2: When a user clicks X, the system must..."
Be explicit and unambiguous.
5. Non-Goals (Out of Scope)
What this feature will NOT include. Critical for managing scope.
6. Technical Considerations
Known constraints or dependencies
Integration points with existing systems
Performance requirements
7. Success Criteria
How will success be measured? What does "done" look like?
8. Open Questions
Remaining questions or areas needing clarification.
Story-Sizing Discipline (Ralph Method)
Critical Rule: Each user story must be completable in the first 60% of a context window (one loop iteration).
The 60% Rule
Stories should complete using roughly 60% of a subagent's context window:
20% - Context loading (checkpoint, attention, patterns, plan files)
60% - Actual work (implementation, testing, state updates)