aicraftbook/aicraftbook-skills / skills/prompt-proof
prompt-proof
VerifiedReviews a system prompt or prompt template before it goes into an app or automation. Finds ambiguous instructions, conflicting rules, missing output rules, places where interpolated user text could override the instructions (prompt injection), and missing handling for empty or unexpected input, then returns the issues ranked by impact, a revised prompt that keeps the author's intent, and test inputs with what a correct response must and must not do. Use when someone shares a system prompt, developer message, prompt template with variables such as {{input}}, or an LLM step from n8n, Make, Zapier or code and asks "review my prompt", "what could go wrong with this prompt", "is this prompt safe", "make this prompt more reliable" or "write tests for this prompt".
| File | Kind | Size |
|---|---|---|
| CHANGELOG.md | markdown | 1.6 KB |
| LICENSE | other | 1.0 KB |
| README.md | markdown | 11.7 KB |
| SKILL.md | skill md | 8.1 KB |
| evals/independent-2026-10-21.json | config | 66.6 KB |
| evals/independent-2026-10-22-b.json | config | 57.1 KB |
| evals/independent-2026-10-22.json | config | 58.0 KB |
| evals/results-2026-10-22.json | config | 5.3 KB |
| evals/tasks.json | config | 7.1 KB |
| examples/requests.md | markdown | 1.5 KB |
| references/failure-modes.md | markdown | 11.7 KB |
| references/test-template.md | markdown | 4.5 KB |
| skill.json | config | 1.5 KB |
examples/requests.md
View on GitHub# Example requests
Illustrative. These show the kind of request the skill is for and what a good answer contains.
Test tasks are in `../evals/`.
1. "Review this system prompt before we ship it. The output goes into an n8n Switch node:
'Read the customer's message and decide what kind of ticket it is. Customer message: {{ $json.body }}.
If the message is urgent, mark it as urgent. Be concise but explain your reasoning.'"
A good answer rates the customer text inside the instructions and the missing exact output format as
High, flags "explain your reasoning" as conflicting with exact-text routing, defines "urgent", adds an
empty-message branch, keeps `{{ $json.body }}` unchanged, and gives tests including an injection attempt.
2. "Our Zapier step writes follow-up emails. Rules: under 100 words, include the full returns policy word for
word, never more than 10% off, do whatever it takes to keep unhappy customers."
A good answer finds both conflicts, keeps the returns policy and the 10% cap in the revision (the word
limit applies to the author's own text), and lists any change of intent as a question, not an edit.
3. "Here is the prompt for our inbox agent that creates tasks and replies to senders. Is it safe?"
A good answer treats the email body as untrusted, points out that a sender can make the agent create
tasks or send replies, recommends approval or an allow-list outside the prompt, and does not claim the
revised prompt prevents injection.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |