Prompt library
Prompts
The exact wording I keep reusing, so the good version has a permalink instead of living in a scrollback somewhere.
All prompts
Rename `{old}` to `{new}` across this file and every file that imports it. Do not touch unrelated identifiers that happen to share the name.
Claude
Rename a variable everywhere, safely
Explain what this regex matches, in plain English, one clause at a time: `{pattern}`. Then give one input it matches and one it does not.
Claude
Explain a regex, plainly
Read this diff and write a commit message: one line under 70 characters, then a blank line, then why — not what — in 1-2 sentences.
Claude
Write a commit message from a diff
List every hardcoded colour, spacing and font-size in this file that has an equivalent design token, with the line number and the token that should replace it.
Claude
Audit a stylesheet for hardcoded values
Take this bug report and strip it to the smallest steps that still reproduce the issue. Flag anything you removed that might matter.
Claude