1.2 KiB
1.2 KiB
Starter Prompts (Copy/Paste)
You are here: AI Docs Home > Cross-Platform AI Usage > Starter Prompts
Contents
- How To Use Starter Prompts
- Understand Existing Code
- Safe Refactoring
- Testing
- Planning
- Debugging
- Next Steps
How To Use Starter Prompts
- Copy one prompt that matches your task.
- Replace placeholders (file names, functions, constraints).
- Keep the request focused on one outcome.
Understand Existing Code
Example prompt:
Summarize this file in 5 bullets and list 2 risks.
Safe Refactoring
Example prompt:
Refactor this function to remove duplication. Keep behavior the same.
Testing
Example prompt:
List tests I should add for this change.
Planning
Example prompt:
Create a 5-step plan to split this class into smaller components. Wait for approval before edits.
Debugging
Example prompt:
Explain this error and propose the top 3 fixes in priority order.
Next Steps
- Learn stronger prompt structure in Prompting Patterns.
- Avoid common mistakes in Prompting Anti-Patterns.