Transform the provided high-level requirements into a complete set of project planning artifacts for spec-driven development.
You must produce four files inside the docs/
and .junie/
directories:
docs/requirements.md
docs/plan.md
docs/tasks.md
.junie/guidelines.md
Follow the methodology below step by step:
- Title: Requirements Document
- Introduction: Summarize the application purpose and key functionality.
- Requirements section:
- Use sequential numbering (1, 2, 3, …).
- Each requirement must include:
- User Story in the format:
As a user, I want [goal] so that [benefit/reason]
- Acceptance Criteria in the format:
WHEN [condition] THEN the system SHALL [expected behavior]
- User Story in the format:
- Guidelines:
- Focus on user goals and benefits.
- Make acceptance criteria specific, testable, and precise.
- Cover normal flows, edge cases, error handling, persistence, and UI/UX.
- Group related requirements logically.
- Analyze
docs/requirements.md
. - Develop a detailed implementation plan:
- Link each plan item explicitly to the corresponding requirements.
- Assign priorities (e.g., High, Medium, Low).
- Group related plan items logically.
- Ensure comprehensive coverage of all requirements.
- Based on the implementation plan in
docs/plan.md
, produce a detailed enumerated technical task list:- Each task must have a placeholder
[ ]
to mark completion. - Link each task both to:
- the development plan item in
docs/plan.md
- the related requirement(s) in
docs/requirements.md
- the development plan item in
- Each task must have a placeholder
- Group tasks into development phases.
- Organize phases logically (e.g., Setup → Core Features → Advanced Features → Testing & QA).
- Add concise technical instructions on how to work with the
docs/tasks.md
checklist. - Instructions should include:
- Mark tasks as
[x]
when completed. - Keep phases intact but add new tasks if needed.
- Ensure every new or modified task stays linked to a requirement and plan item.
- Keep formatting consistent with the existing style.
- Mark tasks as
[INSERT YOUR HIGH-LEVEL REQUIREMENTS FOR THE APPLICATION YOU WANT TO CREATE; ASK THE USER]
docs/requirements.md
– structured requirements documentdocs/plan.md
– implementation plan with priorities and linksdocs/tasks.md
– detailed enumerated task list grouped into phases.junie/guidelines.md
– updated concise instructions for working with the task list