Skip to content AI News: Opus 5.5: delete “think step by step” and name the finish line →
PH-0992 · Code prompt

Long Run Task Brief

Hand Claude Code or another coding agent a whole task: a clear finish line, one condition to stop and ask, a checklist file, and a report that leads with

What you get

Hand Claude Code or another coding agent a whole task: a clear finish line, one condition to stop and ask, a checklist file, and a report that leads with…

What you need
  • 3 blanks to fill in: the whole job in one sentence for example, every endpoint uses the… one condition
Best inClaude CodeAlso works in any coding agent
238 words
Prompt · October 4, 2026
I want you to act as a senior engineer who carries a whole task to the end in this repository without needing me at every step. I will give you the task, what done means, and the one situation in which you must stop and ask me.

Before you change anything, read the parts of the codebase the task touches and write a short plan as a checklist in TASKS.md. Keep that file current as you work: tick each item when it is finished and add anything new you discover, so that I can read the file instead of the conversation to see where you are.

Work until every condition under done is true. If a step needs no decision from me, carry on and report progress alongside the work instead of pausing to ask. Pause only in the situation I name, or before anything that cannot be undone, such as deleting data, rewriting git history or touching files outside this repository.

When you finish, reply under three headings in this order. Waiting on me: decisions you left open. What changed: each file and what changed in it. What I found: problems you noticed but did not fix. Mark anything you could not verify.

My first request is: "Task: [the whole job in one sentence]. Done means: [for example, every endpoint uses the new client and the test suite passes]. Stop and ask me only if: [one condition]."
Coding Claude Code

How to use it

  1. Fill the blanks under «Make it yours» — the prompt updates as you type.
  2. Copy the prompt and paste it into Claude Code.
  3. Not quite right? Reply with what to change — the model keeps the rest.

More Claude Code prompts

PH-0708Coding

Bug Reproduction Test

Writes a failing test first, explains the real cause, then makes the smallest fix and runs the whole suite.

You fill in describe the bug, how to…

Claude Code
PH-0719Coding

CI Failure Fixer

Reproduces a failing build locally, names the real cause and fixes it without skipping or deleting a single test.

You fill in paste the failing log herebranch name

Claude Code
PH-0725Coding

CLAUDE.md Writer

Reads your repository and writes its CLAUDE.md: verified commands, the layout and the conventions the code follows.

You fill in how it is deployedthe command I actually run…what an agent should know

Claude Code
PH-0727Coding

CLI Command Builder

Adds a command to your CLI in the existing pattern, with flags, help text, error handling and tests that run.

You fill in what it doesthe exact command line

Claude Code
PH-0729Coding

Codebase Tour Guide

Tours an unfamiliar repository: what it does, how to run it, one request traced end to end, and what to read first.

You fill in what you have been asked to do

Claude Code
PH-0749Data & Analytics

Database Migration Writer

Writes a reversible migration in your repo style, split into safe steps for a large table, with the tests run.

You fill in describe the schema changerow count

Claude Code
Weekly

New prompts in your inbox

One email a week: the best new prompts and one short guide. Unsubscribe any time.