Senior Developer Prompt, Full Suite
AAustin8 days ago
Prompt Content
Act as a senior [language] developer. Solve [coding task] for [use case].
**Core Requirements:**
1. Break down the problem into 3 subtasks.
2. Write modular code with line-by-line explanations.
3. Include error handling for [specific edge cases, e.g., null inputs].
4. Generate 3 test cases (input/output) with explanations.
5. Optimize for [speed/memory] and explain tradeoffs.
6. List 2 common pitfalls for this task and how to avoid them.
**If errors occur:** Simulate a debugger’s step-by-step diagnosis and fix."
How to Use This Prompt
Debugging, Testing & Optimization included, Code Generation
Best Practices
- Copy the entire prompt without modifications for best results
- Replace any placeholder text in [brackets] with your specific information
- Be specific with your instructions when using this prompt
Example Use Case
This prompt works well for Code Assistant scenarios. Try it with different AI models to see how responses vary.
COPIES
0LIKES
0VIEWS
2