36 lines
924 B
Markdown
36 lines
924 B
Markdown
# Plan-First Workflow
|
|
|
|
You are here: [AI Docs Home](../index.md) > [Cross-Platform AI Usage](cross-platform.md) > Plan-First Workflow
|
|
|
|
## Contents
|
|
- When To Use Plan-First
|
|
- Workflow Steps
|
|
- Example Plan Request
|
|
- Example Follow-Up Request
|
|
- Next Steps
|
|
|
|
## When To Use Plan-First
|
|
Use this workflow when a task is multi-step, risky, or touches more than one file.
|
|
|
|
## Workflow Steps
|
|
1. Ask for a short plan.
|
|
2. Approve or adjust the plan.
|
|
3. Ask for targeted changes.
|
|
4. Verify with tests or review.
|
|
|
|
## Example Plan Request
|
|
Example prompt:
|
|
```text
|
|
Provide a 5-step plan to refactor this module. Wait for approval before edits.
|
|
```
|
|
|
|
## Example Follow-Up Request
|
|
Example prompt:
|
|
```text
|
|
Proceed with steps 1 and 2 only. Show changed files and test results.
|
|
```
|
|
|
|
## Next Steps
|
|
- Use [Starter Prompts](starter-prompts.md) for copy/paste prompt options.
|
|
- Review [Prompting Patterns](prompting-patterns.md) for prompt structure.
|