Prompt Library
Battle-tested prompts for coding, writing, analysis, and learning with Claude
Code Review
Review the following code for bugs, security issues, and performance problems. Suggest improvements with explanations: ``` [paste your code here] ```
Debug Assistant
I'm getting this error: [paste error message] Here's my code: ``` [paste code] ``` Help me understand what's wrong and how to fix it.
Unit Test Generator
Generate comprehensive unit tests for the following function. Include edge cases and error conditions: ``` [paste function code] ```
Refactor Code
Refactor the following code to improve readability, performance, and maintainability. Explain each change: ``` [paste code] ```
API Design Review
Review this API endpoint design for REST best practices, security, and usability: Endpoint: [method] [path] Description: [what it does] Request body: [schema] Response: [schema]