Claude Prompts

20 raw prompt templates you drag into Claude and fill in the [brackets]. No fluff, no preamble — just the prompt the AI sees. I built these after spending way too long getting vague answers and realizing the problem was always my prompt, not the model.

How to use

  1. Open the prompt you need
  2. Copy it into your chat (or drag the .md file in)
  3. Replace every [bracket] with your actual details
  4. That’s it

Debugging & Fixing

PromptUse when…
01-stop-the-spiralAI is looping and speculating instead of giving you one thing to try.
03-teach-meYou want to understand the why, not just get a fix pasted at you.
14-make-it-fasterSomething is slow and you need targeted fixes, not guesswork.
20-fix-this-errorYou have a stack trace or error message and need it decoded and solved.

Building & Creating

PromptUse when…
05-build-step-by-stepBuilding something complex in testable stages, not a wall of code.
12-automate-thisYou have a repetitive manual task and want a script to handle it.
15-design-the-apiYou need endpoints, request/response shapes, and error formats designed.
17-project-scaffoldStarting from zero — folder structure, configs, and a working hello world.

Review & Quality

PromptUse when…
04-review-my-workCode review, doc review, config review. Honest, specific feedback only.
06-refactor-thisCode works but it’s ugly. Clean it up without changing behavior.
07-write-testsYou need real tests — happy path, edge cases, failures — ready to run.
13-security-checkAudit code or config for real vulnerabilities. No generic advice.

Thinking & Deciding

PromptUse when…
02-context-dumpAny question about your setup. Paste env details so AI skips the guessing.
09-pick-the-right-approachChoosing between options and you need a clear recommendation with tradeoffs.
16-rubber-duckYou’re stuck and need to think out loud before jumping to a solution.

Writing & Shipping

PromptUse when…
08-explain-this-codebaseYou landed in unfamiliar code and need a teammate-style walkthrough.
10-write-the-docsYou need real documentation — quickstart, params, pitfalls — not filler.
11-convert-migratePorting code between languages or frameworks idiomatically.
18-write-the-commitYou need a commit message or PR description that respects the reviewer’s time.
19-deploy-checklistAbout to push to prod. Pre-deploy checklist, rollback plan, verification.

Tips

  • Stack them — Start a session with 02-context-dump, then use other prompts as needed. Claude remembers context within a conversation.
  • Be specific in the brackets“my Python script” loses to “my FastAPI endpoint at /api/users that queries PostgreSQL”. More context = less back-and-forth.
  • Iterate — These prompts get you a strong first reply. The real power is in the follow-ups.
  • Works with local models too — I use simpler versions of these with Ollama and Open WebUI. The structured prompts help smaller models stay focused.

See Also

20 items under this folder.