OmniscioGuidesClaude Code prompts
Claude Code prompts, one for each job
Most prompts fail the same way: they ask for a result without saying what counts as done, so Claude stops at "looks finished" and you find out later. The fix is not a longer prompt. It is four lines that say where the job ends and how you will know it is done.
The seven below are the jobs a session gets handed most often, and each one's prompt is a click away. What they share is a shape you can check in a minute, which is what this page is for.
- The patterns behind a prompt that works.
- The four lines most prompts are missing.
- The seven prompts, by job.
- Adapt one to your repository.
- Where these prompts come from.
Checked against Anthropic's Claude Code documentation on November 25, 2026. By the Omniscio team. Updated .
The patterns behind a prompt that works
If you want the general version of this, the prompt library guide covers Anthropic's own library and the six patterns its prompts share. This page is the other half: seven specific jobs, and the version of each prompt worth keeping. The six are listed here so you can check one you have written, but the detail lives on that page.
- Describe the outcome, not the steps. Say what you want and let Claude find the files, rather than listing paths it would have found anyway.
- Give it a way to check its own work. Ask for a run, a test, a comparison or a verification in the same prompt, so it iterates instead of stopping after one attempt.
- Point at a reference. Name an existing file, test or pattern to match, so new code is consistent with what you already have.
- State the measurable target. For performance or coverage, give the metric and the threshold, so "done" is unambiguous.
- Hand over the artifact. Paste the error, the log, the screenshot or the output instead of describing it, or type
@and the path to include a file. - Say how you want the answer. Name the format, length or audience so the reply fits how you will use it.
Anthropic's own library, where its prompts come from, and what each of the six patterns changes in practice are covered on the prompt library guide. This page picks up where that one stops: a specific job, a specific shape, and the version to keep.
The four lines most prompts are missing
The six patterns tell you what makes a prompt good in general. Across the seven jobs on this site, four lines do most of the work in practice — and the prompts people write tend to be missing at least one of them.
- The scope. What counts as part of this job — the diff, this file, this failure — and, just as important, what does not. A review of the whole repository and a review of one branch are different tasks with different reports.
- The check. Something that comes back pass or fail: a test, a command, a build. Without one, Claude stops when the work looks done, because "looks done" is all it has to go on — which is how a session ends with "should be fixed".
- The skip. What you do not want reported or changed. A reviewer asked to find problems will always find something, so naming the things to ignore is how you keep the report about your change.
- The shape. How the answer comes back — ranked, one line per finding, the command and its output, no code. Order and format carry judgement, and asking for them is free.
Here is all four in a prompt you could send as it stands:
Run the test suite first and tell me whether it passes, with the command you ran. Review the changes against main. Report what could go wrong at runtime. Skip style. For each finding give me the file and line, the input that breaks it and the smallest fix, ranked by severity, most serious first. Do not edit anything until I say go.That is the short version of the code review prompt, which has its own page with the variant that runs in a subagent: the code review prompt.
The seven prompts
One per job, and each is work a session gets handed more than once. The order below is roughly the order you meet them: review comes before refactor, and both come before the tests that pin them. Every page has the prompt, the reason for each line, the variant that helps, what good output looks like, and the failure to watch for.
- Code review — reads the diff, reports runtime failures rather than style, and proves the tests ran. The prompt to use before a merge.
- Refactoring — pins today's behaviour in a test first, then moves one function at a time. The prompt for a change that must not change anything.
- Writing tests — tests the behaviour a caller depends on, matches your existing suite, and refuses to bend a test to make it pass. The prompt for the file nobody has covered.
- Debugging — pastes the real output, asks for the cause before the change, and requires a failing reproduction. The prompt for the bug that keeps coming back.
- Documentation — matches the house voice, asks for one pasteable example, and checks every flag against the source. The prompt for the page you have been putting off.
- Security review — follows the data from attacker-controlled input to the sink, and reports what has no input flow at all. The prompt for a change that touches auth, paths or queries.
- Planning — asks for the decisions, the order and the risk before any code, and works best inside plan mode. The prompt for a change big enough to be worth arguing about first.
Which one first
If your sessions tend to end with a change you are not sure about, start with planning: it is the prompt that stops work being built on a guess. If they end with code that "should work", the missing line is the check, and the reasoning in the tests prompt applies to every job, not only tests.
If what you want is the workflow around the prompt rather than the prompt itself — what to do before you start, in what order, and what to check — the everyday tasks guide walks the same jobs step by step.
Adapt one to your repository
Each of the seven on its own page is a starting point with placeholders to replace. Four changes make one yours, and each has a place it belongs.
Change the paths and the commands
The file paths and test commands in the prompts are examples. Replace them with yours on first use — and then put the commands in CLAUDE.md, so you do not retype them. Anthropic's advice is that the exact test, typecheck and lint commands, and how to run a single test file, are among the few things that belong there, because every session pays for that file whether it uses it or not.
Run the bigger jobs in plan mode
Plan mode tells Claude to research and propose changes without making them, and edits stay blocked until you approve. The documented exception is an interactive session where bypass permissions is available: there, a planning-phase edit or command can run without a prompt, which is why the advice is to keep bypass permissions off while you plan. For a refactor across files or a change you cannot easily undo, plan mode is the difference between reviewing a plan and reviewing a diff.
Move the noisy jobs into a subagent
A subagent runs in its own context window and returns a summary, which is what you want when the job reads a lot and reports a little: a review, a full test run, a security pass. A custom agent in .claude/agents/ can also be limited to read-only tools, and that limit is enforced by Claude Code rather than requested in the prompt. Worked files are in the subagent examples.
Save the one you repeat as a skill
A skill is a SKILL.md file under .claude/skills/<name>/ that you run as /skill-name. Unlike a line in CLAUDE.md, its body loads only when it is used, so a long checklist costs almost nothing until the moment it runs; only its name and description load every session. Five worked files are in the skills examples.
Where these prompts come from
They are ours. Each one was written for this site, following the patterns Anthropic documents for a prompt that works, and none of them is a prompt Anthropic publishes. Where a page makes a claim about how Claude Code behaves — what plan mode blocks, what a subagent inherits, what /code-review covers — that claim rests on Anthropic's documentation, and the page's own fact ledger names the sentence it rests on.
They are also examples, not benchmarks. No page here claims a measured improvement in any codebase. Change the paths, the commands and the failure in each prompt to the ones in front of you, because that is the part that was never ours to know.
Sources
- Anthropic's Prompt library, for the six patterns and the note under each prompt, read November 25, 2026.
- Anthropic's Best practices for Claude Code, for what belongs in
CLAUDE.md, giving Claude a check to run, and what subagents cost, read November 25, 2026. - Anthropic's Permission modes, for what plan mode blocks and how approval works, read November 25, 2026.
- Anthropic's Create custom subagents, for context isolation and the enforced tool limit, read November 25, 2026.
- Anthropic's Extend Claude with skills, for where a skill lives and when its body loads, read November 25, 2026.
- Google's autocomplete suggestions for "claude code prompts", "claude code prompts for" and "best claude code prompts", read November 25, 2026, which is how the seven jobs and this page's title were chosen.
Common questions
What are the best Claude Code prompts?
The ones shaped around a job you actually repeat. The prompts on this page scope the job, give Claude something to check the work against, say what to skip, and fix the shape of the answer. That shape matters more than the words.
Are these prompts from Anthropic?
No. They are examples written for this site, following the patterns Anthropic documents for a prompt that works. Anthropic publishes its own prompt library, and the prompt library guide covers what is in it and the six patterns behind those prompts.
How do I turn a prompt into something I run every day?
Save it as a skill. A skill is a SKILL.md file under .claude/skills/ that you run as /skill-name, and unlike a line in CLAUDE.md its body loads only when it is used, so a long procedure costs nothing until the moment it runs.
Should I use plan mode with these prompts?
For anything larger than a small change, yes. Plan mode tells Claude to research and propose changes without making them, so edits stay blocked until you approve. The one documented exception is a session where bypass permissions is available, so keep that off while you plan. The planning prompt is written to run inside it.
When is a subagent worth it?
When the job reads a lot and reports a little. A review, a full test run and a security pass all qualify. On a small diff it can be slower, because a fresh subagent has to gather context your conversation already has.
Seven jobs. One prompt each. However many sessions.
These prompts run inside Claude Code sessions. Omniscio is the level above: a desktop app for running Claude Code and other coding agents side by side, with one list of sessions and one inbox, so an agent only interrupts you when a decision needs you.
The features page lists what is in it today, pricing covers the plans, and you can download it for Windows, macOS or Linux.