Claude prompt templates
Each template turns one everyday task into a structured prompt. Pick the one that matches what you need, fill in a few fields, and copy the result.
Code
-
Code review prompt
Ask Claude to review a diff for supported issues, ordered by severity, with a location, impact and suggested fix for each finding.
You'll need: Diff or code change
-
Debug an error
Turn an error message and the code around it into a ranked list of likely causes, a check for each, and a fix you can try.
You'll need: Error message or stack trace, What you expected to happen
-
Write unit tests
Get unit tests for a function or module in your framework, covering normal cases, edge cases and errors, with each test explained.
You'll need: Code to cover, Test framework
Writing
-
Edit a draft for clarity
Make a draft clearer for a named reader while keeping your meaning and voice, with a short list of what changed and why.
You'll need: Your draft, Who will read it
-
Reply to an email
Draft a reply that addresses each question in an email, aims at your goal in the tone you choose, and flags what you still need to decide.
You'll need: The email you are replying to, What you want the reply to achieve
-
Summarize a document
Turn a long document into a faithful summary: main point first, key points by importance, then decisions and open questions.
You'll need: Document
Analysis
-
Analyze customer feedback
Group raw customer comments into themes, priorities or feature requests, with counts and quotes that show where each finding comes from.
You'll need: Customer feedback
-
Compare options and recommend one
Weigh two or more options against your criteria and hard limits, see the trade-offs side by side, and get a recommendation when the facts support one.
You'll need: The decision, The options
-
Extract data to JSON
Pull specific fields out of messy text into JSON that matches your field list, with clear rules for missing or ambiguous values.
You'll need: Source text, Fields to extract
Work & learning
-
Critique an argument
Test an argument before you rely on it: its main claim, hidden assumptions, weak links and the strongest objection, with fixes.
You'll need: The argument
-
Explain a concept
Get a concept explained at your level, in the format that helps you most, with a quick self-check and the common misconceptions.
You'll need: Concept
-
Turn meeting notes into action items
Turn rough meeting notes into a clear list of action items with owners and due dates, plus decisions made and questions left open.
You'll need: Meeting notes
How to choose a template
- Start from the task, not the wording. If you need a shorter version of something long, use a summary template; if you need fields pulled into a fixed format, use the extraction template.
- Each card lists the fields you must fill in. Optional fields make the prompt more specific, but every template produces a usable prompt with only the required ones.
- Templates that take long source material put it first inside a named tag, followed by the instructions; the concept template starts with your topic and level instead. Every template page explains why it is built that way.
Open the prompt builder to switch between all 12 tasks on one page.