No. 048 Pages and search

Read {file}, find the underperforming {items}, and generate…

Read {file}, find the underperforming {ite.

  • Claude Code
  • Codex
  • Cursor
  • Pages and search

Prompt

read {file}, find the underperforming {items}, and generate {n} new variations that stay under {limit} characters

When to use

“Read {file}, find the underperforming {items}, and generate…” fits when the change is a page a stranger will look up, because it says “read {file}, find the underperforming {items}, and generate {n} new variations that stay under {limit} char...”, after you replace {file}, {items}, {n} with names from the repo.

One filled message for “Read {file}, find the underperforming {items}, and generate…” is: read src/cart.js, find the underperforming totals, and generate two new variations that stay under the current rounding rules characters

When not to use

Leave “Read {file}, find the underperforming {items}, and generate…” unused when the edit is a private API and nobody will search for the page, because “read {file}, find the underperforming {items}, and generate {n} new variations that stay under {limit} char...” points the other way

How to run it

Claude Code

Claude Code takes “Read {file}, find the underperforming {items}, and generate…” as one paste at the repo root. Do not also save .claude/commands, or “read {file}, find the underperforming {items}, and generate {n} new variations that stay under {limit} char...” replays on the next task.

Codex

Codex takes “Read {file}, find the underperforming {items}, and generate…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “read {file}, find the underperforming {items}, and generate {n} new variations that stay under {limit} char...”.

Cursor

Cursor should see “Read {file}, find the underperforming {items}, and generate…” only as a chat paste of “read {file}, find the underperforming {items}, and generate {n} new variations that stay under {limit} char...” 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