No. 005 Clarify a request

Look through the commit history of {path} and summarize how…

Use when the request is still open and an edit would be a guess

  • Claude Code
  • Codex
  • Cursor
  • Clarify a request

Prompt

look through the commit history of {path} and summarize how it evolved and why

When to use

“Look through the commit history of {path} and summarize how…” fits when the request is still open and an edit would be a guess, because it says “look through the commit history of {path} and summarize how it evolved and why”, after you replace {path} with names from the repo.

One filled message for “Look through the commit history of {path} and summarize how…” is: look through the commit history of src/cart.js and summarize how it evolved and why

When not to use

Leave “Look through the commit history of {path} and summarize how…” unused when the design is already chosen and the next action is an edit, because “look through the commit history of {path} and summarize how it evolved and why” points the other way

How to run it

Claude Code

Claude Code takes “Look through the commit history of {path} and summarize how…” as one paste at the repo root. Do not also save .claude/commands, or “look through the commit history of {path} and summarize how it evolved and why” replays on the next task.

Codex

Codex takes “Look through the commit history of {path} and summarize how…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “look through the commit history of {path} and summarize how it evolved and why”.

Cursor

Cursor should see “Look through the commit history of {path} and summarize how…” only as a chat paste of “look through the commit history of {path} and summarize how it evolved and why” for this turn. A file at .cursor/rules would keep applying after the turn ends.

Comparison

对比待补

This before-and-after was not run on this machine.

Related

来源:Anthropic · https://code.claude.com/docs/en/prompt-library · 2026-12-01