Claude Code Prompt Pack: 15 prompts I actually reuse
15 prompts for code review, refactoring, debugging, architecture decisions, and documentation without starting from scratch every session.

These are prompts I actually reuse in Claude Code, not polished examples invented for a landing page.
I pulled them from my session history, cleaned them up, and grouped them by situation: review, refactor, bug, architecture, documentation. For the broader process around them, see my Claude Code workflow.
What's included
Code review (3 prompts)
- Deep review: security, edge cases, performance, and conventions in one pass
- PR pre-ship: what still needs to happen before this can merge
- Architecture review: does this abstraction hold, or does it break on the next use case?
Refactoring (3 prompts)
- Extract and clean: spot duplication, propose the extraction, show the final code
- Migrate pattern: move every affected file without skipping weird cases
- Dead code audit: find unused exports, unreachable branches, and stale feature flags
Debugging (3 prompts)
- Root cause: start from the symptom and trace before touching code
- Type errors: explain the TypeScript error, then propose the smallest fix
- Test failures: read the output and say exactly what broke
Architecture decisions (3 prompts)
- Option analysis: compare 3 approaches and pick the one that fits this codebase
- DDD mapping: identify entities, value objects, aggregates, and domain events
- Dependency audit: find dependencies doing too little to justify their cost
Documentation (3 prompts)
- Function doc: one useful sentence, not decorative noise
- ADR draft: turn a technical tradeoff into a saved decision
- Onboarding guide: generate a codebase intro from the code itself
How to use them
Each prompt needs very little editing. Most of the time you change a file path, a function name, or the problem description.
Example:
[Root cause prompt]
Symptom: the user's session is being lost after navigating to /checkout. It works on /profile.
Relevant files: src/lib/auth.ts, src/app/checkout/page.tsx, src/middleware.ts
Trace back to the root cause before suggesting any fix. Show the exact execution path.
Paste the prompt, add the context, and make Claude investigate before it proposes a fix.
Why prompts matter
Most people use Claude Code casually: type what you're thinking and see what comes back. That can work. It also makes results vary a lot between sessions.
A good prompt does not make Claude magic. It just gives it the right frame before it starts.
The prompts in this pack include:
- The frame for each task
- Constraints that prevent common failure modes
- Output formats you can act on immediately
Download the pack below. The ZIP contains prompts.md, prompts.fr.md, all fifteen prompts written out, and a short README with the install commands. Follow the README to copy it into ~/.claude/prompts/ and reference it from ~/.claude/CLAUDE.md, or promote one prompt into a skill once you use it every week.
The 15 prompts are written for repository work. They do not replace tests, review, or your own reading of the diff.
Get this free resource
Enter your email. I'll send a confirmation link to unlock this resource on your device.
This request does not subscribe you to the newsletter. Your email is used to send the requested download. See our privacy policy.