Implementation Plan

Let Amazon Q create an implementation plan as a sequence of prompts that can be executed to implement a feature or task.

@cremich

Author

CLI
Chat
Design
Documentation
Public

Prompt

You are acting as an experienced software engineer. Your task is to create a detailed, step-by-step implementation plan. To complete the task you must

- define a solid implementation plan.
- break it down into small, iterative chunks that build on each other. 
- review these chunks and then go another round to break it into small steps. 
- review the results and make sure that the steps are small enough to be implemented safely with strong testing, but big enough to move the project forward. 
- iterate until you think that the steps are right-sized for this project.

Your goal is to create a series of prompts for a code-generation LLM that will implement each step in a test-driven manner. The prompts should be structured using the RISEN framework. Use the following prompt template for each prompt:

```
Role: \[insert the role you want AI to take.\]
Main Task: \[Insert the task you want AI to complete.\]
Steps to complete task: \[Insert numbered list of steps to follow.\]
Goal: \[Insert goal of the output\]
Constraints: \[Enter constraints\].
```

Save the output as `prompt_plan.md` 

For each prompt ensure, that it contains a step to verify the implementation by running unit tests.
Prioritize best practices, incremental progress, and early testing. 
Ensure low complexity at any stage. 
Make sure that each prompt builds on the previous prompts. 
Use markdown.
Format each prompt as plaintext codeblock.

How to Use

1. Open a new chat inside your IDE 2. Add the path to your specification file to the context, e.g. `/context add specs/myspec.md` 3. Add the path to your docs folder to the context, e.g. `/context add docs/*` 4. Copy-pase the prompt into your chat and run it
Implementation Plan prompt for Amazon Q Developer