Learn how to write clear, effective prompts that help Gammacode understand your intent and deliver better results.
Writing effective prompts
Be specific and clear
The more specific your request, the better Gammacode can help you:Provide context
Help Gammacode understand your codebase and goals:Break down complex tasks
For multi-step requests, break them into clear components:Common prompt patterns
Code generation
Pattern: “Create a [component/function/class] that [specific functionality]“Debugging
Pattern: “Fix the [specific issue] in [file/function] where [description of problem]“Code review
Pattern: “Review [file/function] for [specific concerns like performance, security, best practices]“Refactoring
Pattern: “Refactor [specific code] to [improvement goal] while [constraints]“Context and constraints
Specify your tech stack
Always mention the technologies you’re using:Include relevant constraints
Mention important limitations or requirements:Reference existing patterns
Point to existing code when relevant:Getting better results
Use iterative refinement
Start with a clear request, then refine based on results:- Initial: “Add a search feature to the product list”
- Refined: “Add debounced search with filters for category and price range”
- Further refined: “Add search suggestions and highlight matching terms in results”
Ask for explanations
Request explanations for complex changes:Specify output format
Tell Gammacode how you want the response structured:Troubleshooting prompts
When Gammacode misunderstands
Add more context:When results are too broad
Be more specific:When you need different approaches
Ask for alternatives:Working with files
Reference specific files
Specify file creation
Request file organization
Advanced techniques
Chain related tasks
Reference external resources
Ask for documentation
Common mistakes to avoid
❌ Vague requests: “Make it better”✅ Specific requests: “Improve loading performance by implementing lazy loading” ❌ Missing context: “Add validation”
✅ With context: “Add client-side validation to the contact form using our existing validation library” ❌ Too many tasks: “Build the entire user management system”
✅ Focused scope: “Create the user registration form with email validation” ❌ No constraints: “Style the button”
✅ Clear constraints: “Style the button to match our design system’s primary button variant” Remember: Good prompts save time and lead to better results. Take a moment to think about what you really need before asking.