agentleFS
duvi-aiduvi-ai/skills/skills/commands/review-agent-prompt/SKILL.md

review-agent-prompt

Skill2 starsChanged 59 days agoMITView on GitHub

Review the system prompt of a customer-facing AI agent (chat, voice, WhatsApp or phone) against measured failure patterns, and propose specific fixes.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask for, or find in the codebase:

    line 13
  2. Very specific:

    Examples with real-looking facts: Do examples contain believable prices, names or actions ("Done, I've booked that")?

    line 24
  3. Distinctive:

    Layer fights: If there is a platform prompt plus a business prompt, does the business prompt restate format, channel or tool rules?

    line 27
  4. Distinctive:

    Do not rewrite the whole prompt unless asked.

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Review an agent prompt

Review a customer-facing agent's system prompt for the patterns that, in our testing, made agents sound scripted, invent facts or contradict themselves. The checks come from the measurements in duvi-ai/agent-prompts.

Inputs

Ask for, or find in the codebase:

  • the full system prompt as the model sees it, including anything assembled at runtime
  • which channels it runs on: web chat, voice, WhatsApp, phone
  • the tools it has, with their descriptions
  • two or three real transcripts where it went wrong, if they exist

Checks

Go through each. For every problem, quote the line and say what to change.

  1. Endings. Do the example replies end in a question or an offer? Examples outweigh rules, so a prompt whose examples all end "Want me to...?" produces an agent that ends nearly every reply that way. Is there an explicit rule that most messages should just end?
  2. Examples with real-looking facts. Do examples contain believable prices, names or actions ("Done, I've booked that")? Models copy them into real answers. Replace details with placeholders such as <price> and show no actions.
  3. Stacks of "never". Count the NEVER, ALWAYS, MUST and DO NOT lines. Long stacks of prohibitions are followed poorly. Replace them with a few positive principles plus worked examples of the hard cases.
  4. Conflicts. Find pairs of rules that pull against each other, such as "always search before answering" and "answer only what was asked". Models resolve conflicts silently, usually in favour of the later or louder rule.
  5. Layer fights. If there is a platform prompt plus a business prompt, does the business prompt restate format, channel or tool rules? It should own identity, the job, boundaries and tone only.
  6. Channel rules. Is there a separate register for each channel? Voice needs only full stops and commas, numbers spelled out, and two sentences at most. Is voice told whether the person can still see a screen?
  7. Grounding. Is it clear where facts may come from, in what order, and what to say when a search returns nothing? Is there a rule to copy numbers and names exactly?
  8. Challenges. What happens when the person says the agent is wrong? Without a rule to hold a grounded fact, agents cave, or deny a fact they just stated.
  9. Empathy. Does it encourage stock lines like "I understand how frustrating this must be"? Ban scripted empathy; allow one short acknowledgement in the agent's own words.
  10. Action honesty. Is there a rule never to claim an action without a successful tool result? Do any tool results let the agent imply more than happened, such as a saved contact sounding like a booked callback?
  11. Persistence. Does a constraint the person sets ("one sentence answers") stay in force for the rest of the conversation?
  12. Caching. Is anything that changes every turn (time, retrieved passages, page) inside the system prompt? Move it to per-turn notes so the prompt stays identical and cacheable.

Output

  1. The three changes that will matter most, each with the quoted line and the replacement.
  2. The rest of the findings, in check order.
  3. What a prompt cannot fix here: model choice for voice, retrieval quality, tools that overpromise.

Do not rewrite the whole prompt unless asked. A pure restructure, with the same rules in cleaner sections, did not change results in our tests. Specific fixes did.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.