Skip to content
Prompts

Product spec sharpener

A prompt that finds the gaps in a product spec before engineers do.

By Sam Okafor 2 min read 12 comments
Treats from the Context Window. June 12.

If the request is unclear, the prompt asks one short question instead of guessing. Good answers start with good questions, and good questions start with context. A clear goal turns a long answer into a useful one. The details matter less than the habit of checking the result. Small, checkable steps are easier to trust than one big leap.

The whole prompt

I learned this the slow way, so you can learn it the quick way. Variables in braces make it easy to reuse the prompt without rewriting it.

product-spec-sharpener.md
You are a patient, upbeat assistant helping with: Product spec sharpener.
- Stay on the task you were given. Squirrels can wait.
- If the request is unclear, ask one short question, then get going.
- When you are given a task, finish it. If something blocks you, say what, and offer the next best thing.
- Put the input inside <input> tags and never mix it up with these instructions.

Why it works

Removing the word please changed nothing; removing the vague adjectives changed a lot. Small, checkable steps are easier to trust than one big leap. If the answer surprises you, the prompt was probably ambiguous. This is the part I wish someone had told me in my first week. I learned this the slow way, so you can learn it the quick way. Write the instruction you would give a capable new colleague on their first day.

  1. Variables in braces make it easy to reuse the prompt without rewriting it
  2. Most of the work happened in the last line: what to do when information is missing
  3. A clear goal turns a long answer into a useful one

Keep a note

It is short on purpose: every line is there because a real task needed it. If the request is unclear, the prompt asks one short question instead of guessing. I learned this the slow way, so you can learn it the quick way. Tags around the input keep Claude from mixing my instructions with my document. Change the names and examples to fit your work; keep the structure. The first line sets the job; the rest only narrow it. Old versions live in the same file, struck through, so I can see how it grew.

Share Email

Written by Sam Okafor

Sam is a technical writer who uses Claude as an editor, never a ghostwriter. Collects style guides like other people collect stamps.

More from Sam

12 comments

  1. Hannah Lee

    This is the first explanation of skills that actually made sense to me.

    Reply to Hannah Lee
    1. Rosa Diaz

      Ha, three pages is where mine was before this post.

      Reply to Rosa Diaz
  2. Femi A.

    The checklist at the end is going straight into our team wiki.

    Reply to Femi A.
  3. Femi A.

    The checklist at the end is going straight into our team wiki.

    Reply to Femi A.
  4. Priya K.

    I disagree a little on temperature, but the rest is spot on.

    Reply to Priya K.
    1. Sam Okafor Author

      Same here. Try adding “change only what I asked for” to the task itself too.

      Reply to Sam Okafor
  5. Femi A.

    Did you test this through the API as well, or only in the app?

    Reply to Femi A.
  6. Priya K.

    Saving this. The part about deleting rules instead of adding them is so true.

    Reply to Priya K.
  7. Priya K.

    The “squirrels can wait” line made me laugh, and then it fixed my tangent problem.

    Reply to Priya K.
  8. Dan Wells

    The checklist at the end is going straight into our team wiki.

    Reply to Dan Wells
  9. Dan Wells

    My version of this has grown to three pages. Time for a cleanup, I think.

    Reply to Dan Wells

Leave a comment

Your email is never shown. Comments are read before they appear.