Write a prompt that is tied to your actual codebase
Generic prompts work fine without context. Context makes a difference when the task requires knowledge of your project's specific patterns. Good examples:
- Refactoring a module to follow your existing conventions
- Writing a new service that matches your current data model
- Updating docs or migration guides that need to reflect real code
- Code review prompts that check against your team's standards
For this tutorial, use a real task from whatever project you're currently working on. Something like: "refactor the auth middleware to use the new token format". Don't add project details yet — that's what context is for.