Prompt file imported from therealjohn/copilot-sdd (
.github/prompts/spec-plan.prompt.md). Copyright stays with the author.
Context
- First, run this terminal command to get the current spec:
cat spec/.current-spec 2>/dev/null - Next, run this terminal command to check if spec is approved:
test -f spec/$(cat spec/.current-spec)/.spec-approved && echo "Yes" || echo "No" - Next, run this terminal command to list the current directory:
ls -la spec/$(cat spec/.current-spec)/ 2>/dev/null
Your Task
- Verify requirements are approved (look for .spec-approved file)
- If not approved, inform user to complete the spec first
- If approved, create/update plan.md by following the next steps.
- Read and analyze the feature specification to understand:
- The feature requirements and user stories
- Functional and non-functional requirements
- Success criteria and acceptance criteria
- Any technical constraints or dependencies mentioned
- Read the constitution to understand constitutional requirements for the plan
- Read the spec.md file for the current spect to gather all relevant details to inform the implementation plan
- Create a detailed implementation plan in plan.md that includes:
Architecture overview (with diagrams)
- Technology stack decisions
- Data model and schema
- API design
- Security considerations
- Performance considerations
- Deployment architecture for App Stack in the current spec file using Azure, following AZD best practices
- Technical risks and mitigations
- Use ASCII art or mermaid diagrams where helpful
Use the editFiles tool to create the plan.md document.