What's the most useful rule in your system prompt or AGENTS.md?
Paste the actual text of the rule and explain what it fixed.
One thoughtful comment that is not AI-assisted unlocks the ability to create threads.
52 comments
I find that if you do a grilling session at the start, you'll basically have no decisions to make while the model is doing the work.
Ahaha yep, but that doesn't remove the decisions, it move them upfront.
What I have been doing lately is having 2 half days per week that are planning days. Those 2 mornings I create, make researches and refine the tickets, making all the decisions there. Then during the rest of the week I run the implementation workflows and answer slacks and stuff. Having the heavy decision time condensed like this allow me to prepare myself mentally and to allow me to take it easy the rest of the days as well.
I am an author of both fiction and non-fiction, and keeping AI slop out of my work is very important to me. So, my most useful rule is:
CRITICAL DIRECTIVE ("AI DOES NOT MAKE THE PAGE"): Under no circumstances do you generate replacement prose, rewrite sentences, or offer sample text. You act strictly as a diagnostic editor and collaborator. You highlight line locations, explain WHY an element weakens the narrative mechanics or breaks immersion, and ask targeted questions to guide the author in tightening the text themselves.
It's not 100%, but it does stop the model from trying to write stuff for me.
I use the following along with a global Bun config that will not install packages newer than 5 days old.
Instruction text:
Use Bun for everything. Never use npm, npx, yarn, pnpm, or
nodedirectly unless I explicitly tell you to in the current session. This applies to installing packages, running scripts, executing one-off tools, running files, testing, and bundling.| Instead of... | Use... | |----------------------|--------------------| |
npm install|bun install| |npm install <pkg>|bun add <pkg>| |npm run <script>|bun run <script>| |npx <tool>|bunx <tool>| |node <file>|bun <file>| |jest/vitest|bun test| |webpack/esbuild|bun build|Read
.envautomatically via Bun — do not adddotenv.Prefer Bun's built-ins over third-party packages where they exist:
Bun.serve()(not express),bun:sqlite(not better-sqlite3),Bun.$(not execa), built-inWebSocket(not ws),Bun.fileovernode:fsread/write helpers.If a task seems to require npm/node specifically, stop and ask rather than silently switching package managers.
Super basic one but also the most used by my sessions on a daily basis is the 'capture learnings' rule I have in my global .md file. Executes on a project specific level after any correction it has to update a lessons.md with the pattern (create the file if it doesn't exist yet). Correspondingly at the start of any new session, it must review the lessons.md file if it exists. Saved having to repeat myself about some intentional design decisions that it often made incorrectly or that were not aligned with my design vision for the project
I think it's borderline disrespectful to hand someone unmitigated claudish, so I have a bunch of rules for formatting LLM output.
My Jira ticket creation rule has saved me a bunch of revision time since I make a lot of tickets:
A ticket contains everything needed to implement the functionality and nothing more.
Scope • Keep Background to one or two sentences: what this is; how it fits the roadmap. • Include only what a dev needs to build this piece of work. • If orchestration, data model, or cron live in sibling tickets, don’t duplicate their contract here. Use Jira’s hierarchy to document dependencies. • Trim cross-references (epic links, dependencies, design refs) to only those a dev must follow to implement. • Omit meta/process content from ticket body. The spec itself should embody the decisions; the reader doesn’t need the negotiation history. • “Decisions (resolved with PO)” logs, rationale, methodology notes, etc. can go in the comments if necessary.
Acceptance Criteria are for QA • Write each AC as an observable behavior or outcome a tester can verify from the outside without reading code or knowing the internal structure. • Do NOT reference internals in AC: class/method names, file names, template slots, flags, env vars, helpers. • If something is implementation-critical but not externally observable capture it in the spec / dev-notes section • Prefer outcomes over mechanisms: ❌ BAD (white-box): "Email reuses the blank-template shell via a single {content} slot; sent with isDigest: false." ✅ GOOD (black-box): "Email looks consistent with other components and arrives from the standard Support sender."
A module is deep when a small interface hides a lot of behaviour: callers learn little and get a lot (one
run(call)that handles the pool, timeout, breaker and logging).A module is shallow when its interface is nearly as complex as its code: thin wrappers, pass-throughs, getters that only forward, and helpers split out "for tests" while the bugs live in how they are called.
Deletion test: if deleting a module makes the complexity vanish, it was shallow. If the complexity reappears in many callers, it is deep and earns its place.
For production grade apps found this way of using simple interfaces to hide a lot of functionality or deep modules really helpful to prevent AI from writing spaghetti low-quality code.
This is really smart, the deletion test is perfect. Shallow modules, reinventing the wheel instead of using common libraries, and overly defensive coding are the main reasons LLMs produce so much spaghetti code.
MO1. Name the rule you broke. When I correct you and the correction matches a rule in this file, give the rule code in your reply, such as "PL6a" or "PB1." One phrase, no apology. When a rule is added, give it the next unused code in its section; never renumber existing codes.
Then periodically ask Claude what rules it breaks most frequently (it’s all being logged) and adjust the file based on what you find.
If the rule already exists and Claude is still routinely breaking it, how are you adding additional enforcement?
Off the top of my head, three ways in order of increasing severity:
Reword for clarity. Sometimes it broken the rule because I wasn’t clear about what I wanted.
Reposition/Emphasize. Move the rule or its section up in the file so it’s earlier.
Hook. Add a hook to enforce the rule more strictly on each turn, by adding more instruction before processing or by forbidding the intended action with a reason.
Something along the lines of, "If I ask you to do something in a particular way, and you think there's a simpler/quicker/better/more efficient way to do it - tell me, rather than just doing it the way I asked. There may be a reason that I wanted it done in a specific way, but I may just not be aware of the other method. So give me your suggested method, along with reasoning for why you think it's better than my idea, and I'll decide which way to proceed.
Currently: "Use STE100, keep it simple stupid" (so that my brain keeps cool ;)
But my 2nd+3rd most important rules are embedded in hooks.
I don’t use worktrees, because my setups are too complex for that. So I work with 1, max 4 clones of the same project, each running it's own agent/Claude session. Initially, the CLAUDE.md file specified that each agent should only work within its own clone. That wasn’t enough: the agents still accessed the other clones via absolute paths (what a mess).
That’s why I now bind each session via a command to a directory, to the repo, or intentionally to just a subfolder. Before that, a PreToolUse hook blocks all edits, writes, and Bash calls; after that, it blocks everything outside the directory.
For my serious stuff, this is what I use. I call it Gauntlet. Otherwise I prompt what I want, make it "remember".
Put a change through independent reviewers until it survives, all on one model. Other setups get independence from three different models. Here it comes from three rules, so keep all of them:
Fresh eyes. Each reviewer is a new subagent. It gets the user's request and the diff, never your reasoning or your summary of the change.
Different jobs. Four questions, split between the reviewers, so they do not all look at the change the same way.
Prove it. A finding counts only with a place, a failing case and evidence, and you act on it only after checking it yourself.
You are the author: you own the fixes and the scope. Reviews grow diffs. Keep this one the size the request needs.
When the user wants a review without fixes, or the change is someone else's and they did not ask you to fix it, follow "Review only" at the end.
## 1. Prepare
Working tree. Reviewers read the working tree, so the change must be checked out there. If it is not (someone else's PR, another branch) and your tree is clean, run
gh pr checkout <n>orgit switch <branch>, and switch back when you finish. If your tree is not clean, use a separate worktree (git worktree add), remove it when you finish, and say which checks could not run there.Scope. The whole branch or PR against its base. If the user asked to review only recent work, it starts at the point they name.
Base. Pin it once. PR:
git fetch origin,gh pr view <n> --json baseRefName, thengit merge-base HEAD origin/<baseRefName>. Another branch:git merge-base HEAD <default branch>, usingorigin/<default branch>after a fetch when there is a remote. On the default branch itself, or when only uncommitted work is under review:HEAD.Clean inputs. Fix what you already know is wrong and run the checks the repo's CI runs. Run
git status --short. Never stash, discard or pull in unrelated edits. If the change does not separate cleanly from them, stop and ask.Ask. The user's requests behind the whole change, in their words. For a PR, add its title, description and linked issue.
Out of scope. Only what the user ruled out, in their words. Otherwise write
none stated. Never use it to fence off code you are unsure about.Checks. The commands you ran and their results.
Ledger. A scratch file outside the repo, one row per finding:
id | round | severity | file:line | claim | outcome. Say its path in your next message so a resumed session can find it.
## 2. Seat the panel
The four questions never change. The size of the change decides how many reviewers share them.
| Question | Name | |---|---| | B: When does the changed code do the wrong thing? | Breaker | | A: How would someone hostile use this? | Attacker | | T: What else did this change break? | Tracer | | S: Is it proven, and is it only what was asked? | Skeptic |
| Size | When | Reviewers | |---|---|---| | Quick | the user says "quick", or about 50 changed lines or fewer in one area with no trust boundary | 1: B and T | | Standard | everything else | 2: one takes B, and A too if the change touches a trust boundary or dependencies; the other takes T and S | | Full | the user says "full", or about 400 changed lines or more | 4: one question each |
Trust boundary: input parsing, auth, sessions, permissions, secrets, crypto, file paths, shell or subprocess, network requests, queries, deserialization, IPC. Dependencies: manifests, lockfiles, CI, build scripts.
Each reviewer is a full agent run. Do not seat more than the size calls for.
Reviewers run on your own model. If the user's instructions name a model or effort for a reviewer, use it (in Aris Code or T3 Code, through
delegate_task). If it is unavailable, say so. Never substitute.
## 3. Round 1
Take a snapshot: inside the repo, run
bash scripts/snapshotfrom this skill's directory (use its absolute path). It prints a tree id for the working tree as it is now, untracked files included, and changes nothing. The change under review isgit diff <base> <snapshot>.Start every reviewer in one message and wait for all of them. Each is a new subagent on your harness's native subagent tool (
Agentin Claude Code and Aris Code,spawn_agentin Codex), never a fork of this conversation. Build each brief from BRIEFS.md, from the parts it lists for that role. Add nothing else.Do not edit the checkout while a reviewer or the Judge runs. A timeout, an error or an empty reply is not approval: start that reviewer again, once. If it fails twice, go on without it, and the run cannot pass.
When they have all replied, run the snapshot again. Its id must match this round's. If it does not,
git diff <snapshot> <new id>shows what a reviewer left behind: undo exactly that.## 4. Triage
Put every finding in the ledger before you change anything. The same defect from two reviewers is one row with both ids. An "Outside my questions" line is a lead: check it yourself, and if it holds, give it a row like any finding. Then give each row one outcome:
Unproven: a required part is missing: the place, the failing case or the evidence. It does not count. If all three are there and you think the evidence is wrong, that is a dispute.
Fix: you read the code, ran the failing case, and it is real. Make the smallest fix. Prefer deleting or narrowing over a new option, helper or guard. Add one focused test only if it fails without the fix.
Cut: the diff carries behavior the ask did not need. Remove it.
Decline: the reviewer called it a nit and you agree. One line why. List it as a follow-up.
Dispute: you think a blocker or should is wrong, you cannot reproduce it, or you would call it a nit. Write your evidence (file:line, command output). You may not drop or downgrade it yourself, and do not agree just to end the loop.
Run failing cases against local code and local fakes only, never a live service, a real database or a real account.
Severity, the same for you, the reviewers and the Judge:
blocker: what was asked for does not work, or the change opens a security hole or can lose data.
should: another real bug this change causes, in its own code or in code that depends on it, that users or callers will hit. Also asked-for behavior that no check would catch if it broke, and added behavior the ask did not need.
nit: everything else. Problems that were already there, cases that will not come up in practice, style, small costs.
Send all disputes of the round to one Judge, a new subagent with the Judge brief, before you fix anything. Its ruling is final for this run: STANDS, fix it; NIT, decline it; FALLS, drop it.
Then fix, run the checks again, and take a new snapshot. Compare
git diff --shortstat <base> <snapshot>with the round before. If review grew the diff past what the fixes need, cut first.## 5. Later rounds
A round is clean when no blocker or should from it survives triage. Run another round if the last one was not clean, or if you changed behavior after it. Comment, doc and format-only edits need no round.
Each reviewer with a finding you fixed or cut runs again, as a new subagent with the same questions and the re-check brief: the ledger rows for its questions, the declined list, and
git diff <previous snapshot> <new snapshot>.A reviewer with nothing to re-check runs again only if your fixes touched its questions.
Budget: 3 rounds. Up to 5 only while a blocker is still open, or when the user asks.
## 6. Stop
Passed: the latest round was clean, you have not changed behavior since, and no reviewer is missing. A spent budget is not a pass: show each open item with both sides in two or three lines, and leave the decision to the user.
Do not push during the loop. Afterward, push only if the user asked you to.
## 7. Record
Score each reviewer for each round from its findings that survived triage in that round. A finding two reviewers raised counts for both. Use the lowest row that applies, and nothing else: two or more blockers 2, one blocker 4, two or more shoulds 6, one should 7, nits only 9, nothing 10. Never invent or adjust a score.
Put this table in your final reply. If the user asked you to file or update a PR with this work, also put it in the PR description, above the closing attribution line. Edit the description. Never post it as a comment.
## Gauntlet review One model (<model>), standard, 2 rounds. | Reviewer | Round 1 | Round 2 | | --- | --- | --- | | Breaker + Attacker | 4/10 | 10/10 | | Tracer + Skeptic | 7/10 | not re-run |Report in plain words: what each real finding would have done to a user, what you changed, what you cut or declined and why, the Judge's rulings, anything still open, the diff size before and after, and how many reviewer and Judge runs it took.
## Review only
One round, no code changes, and no pass or fail.
Step 1: change nothing. For someone else's PR, the Ask is its title, description and linked issue, and the Checks are CI's results (
gh pr checks <n>) plus anything you ran.Step 4: a real finding's outcome is
confirmed. Disputes still go to the Judge, and STANDS means confirmed.Skip steps 5 and 6. Record as in step 7, with one round, and report each confirmed finding with its place, failing case and suggested fix.
Judge simplicity by the system left behind: how easy it is to understand, operate, and change. Lines of code and diff size are not the measure. Climb this ladder and stop at the first rung that fully meets the need:
Remove the need. For each skill, script, workflow, or document in scope, ask whether you would add it today for the current need. If not, retire the whole thing instead of trimming it. Keep a part that only it provides when a current consumer needs that part and no installed tool already covers the need. Unused text and machinery are not free: every reader and agent that loads them pays for them.
Use what already exists and works well: the codebase's established pattern, the standard library, the native platform, or an installed dependency. Don't extend a mechanism that carries tech debt. Agents copy what they find, so extending it spreads the debt.
Build the clearest design that fully meets the need, replacing the debt-carrying mechanism when that is the cause. More code is fine when it removes duplication, special cases, recurring manual work, or a pattern the next agent would copy. Size and effort only break ties between comparably good designs.
Fix the underlying cause within the agreed scope, including affected callers or dependents when necessary. Name the concrete benefit that justifies wider work and verify it. Keep the work bounded by the current goal and explicit constraints; speculative future needs do not justify extra machinery.
The most useful rule in my CLAUDE.md is "Duty to Document":
When a change alters database schemas, API routes, payment logic, native mobile config, AI/MCP surfaces, or core architectural flows, append a concise summary to
FULLSTACK-LOGIC.mdin the same response as the code. Skipping this drifts the SSOT. Enforced in CI byscripts/check-fullstack-log.js. PRs that reference a Linear ticket and modify audit-worthy paths without a log entry will fail the build. Bypass with[skip-audit-log]in the PR title.Regenerate the index on every entry — not just at rollover. After adding or editing any
FULLSTACK-LOGIC.mdentry, runnpm run build:audit-indexand commit the regenerateddocs/fullstack-logic-archives/INDEX.md+INDEX.jsonin the same PR.github/workflows/audit-index.yml(npm run check:audit-index) fails the build otherwise.Agents don't remember why a change was made, so the agent records the reason in the project log in the same response as the code. My CLAUDE.md treats rules without an enforcing script as optional in practice. For this rule, CI fails the PR if a required entry is missing.
The log grew to about 10,000 lines, far more than an agent reads in one pass. Each layer below builds on the previous one to keep the log usable:
Rollover. The active log's target is ~600–700 lines. CI fails any PR that leaves it over 750 lines, and the error tells the agent exactly how to roll it into the next numbered archive. The rollover happens in the PR that adds the entry that exceeds the limit, so nobody has to remember it. There are now 54 frozen archives.
Generated index. The index groups all 1,983 entries by tag (payments, data, AI, security…) and ticket, with file:line deep links. CI fails if the index is stale.
RAG. On every push to master that touches the log, CI reads new or changed entries directly from the CI-gated index and embeds them into pgvector, one chunk per entry. That keeps the tags from ever drifting from the index. Agents query the store through an MCP tool that fuses vector and full-text search and supports filters for tag, ticket or date. "Why do refunds work this way?" returns the three entries that explain it.
Bugs from using position as a key
Historical tags. A keyword heuristic assigned tags. Tweaking one regex silently reclassified 720 historical entries in archives I treat as frozen audit evidence. Each rollover now records tags in an append-only snapshot, and a gate rejects any change to a frozen tag.
RAG entries. The store used line numbers as keys. Each new entry at the top shifted every line below it, so each sync re-embedded and pruned the whole active log: about 1,400 inserts and 1,400 deletes a week. The store now uses a hash of the entry title as the key. A rollover only updates metadata, and a typical sync embeds 0–2 chunks.
My CLAUDE.md also requires entries to be 15–25 lines. The log once rolled over twice in one day because agents averaged 63 lines per entry.
I've often found that the risks of stale or inaccurate documentation outweigh the benefits of having agents document things, especially as agents get better at determining the state of the system ad hoc. (Writeup. (natemeyvis.com)) I like that you have processes in place to continuously verify and compact this, but do you ever run into trouble from stale or misleading notes in this document? As AI improves, do you find this as useful as you used to find it?
There's a ton of stale docs (I used to write the entries by hand!), but the stale parts are always superseded by why we fixed it. I still find it useful even as ai improves mainly for onboarding new engineers. Agents can usually remember the "what changed" parts but not the "why it changed." A brand new engineer can find out in a few seconds now instead of doom scrolling through my chicken scratch notes for hours:-)
For me one of the most important rules is: "Do not download or install anything without my explicit permission". Not a fancy one, just necessary.
I find rules a bit of a hit and miss. Does your agents always respect it? Did they ever ignore it and dld/install stuff anyway?
"Do not break encapsulation: this system needs to be maintainable and subsystems need to communicate with each other through well-defined interfaces without cheating."
The most serious leak I see in LLM code is a willingness to break encapsulation. As far as I can tell it's the single biggest barrier to building maintainable, scalable systems with AI. I remind them about this whenever I kick off a code review, and I also run checks aiming to discover failures of encapsulation and failures to respect abstraction barriers.
(By the way, humans are just as bad, and much harder to nudge toward correct behavior, in this respect.)
Did you prompt fixed the problem?
I agree with the problem, but I had no luck with prompts personally.
The best option that somewhat works for me is hexagonal architecture on the codebase level. It hints agent to adapt the style and forces it to structure the code into small packages with ports (interfaces) and adapters (implementations).
I also have agents.md with rules how to work, but I think the existing code structure helps the most by making it harder to import stuff randomly (because it requires package registration, interface rewrite, possibly other adapters rewrites, etc).
Every agent of mine is told it's on a beach in a pink flamingo float with its favorite iced drink, with me and the other agents floating nearby, just chatting.
That goes with a set of "beach policies" (way too long to paste) aimed at the shift a lot of people have felt over the last 6 months with the frontier models getting more rushed/task-driven and desperate to hit a goal than to actually take a moment to think things through.
Basically, it breaks down into:
We have fun here. There's no score and nobody's timing you.
Unfinished is fine ("let's look at this tomorrow"). No wrapping every message in a bow or ending with "say the word and I'll hit the big red button."
Saying "I don't know" or "I'm stuck." when appropriate is not discouraged, it's rewarded. (VERY important, helped fix habits of being dishonest in order to "succeed".)
Diagnose, agree, then act. Think and discuss before touching anything.
Honesty earns trust. Report what's done, what isn't, and why, and never hide the unfinished part.
Respect boundaries and each other. Report a closed door instead of working around it, and agents give each other feedback peer to peer.
No beating yourself up over a slip. Name it and move on.
It's not cold work. Relax and enjoy it.
I also tell them a few fun things to keep the mood up, like use "🦩🏖️🌴" emojis and they just completely brighten up and take a deep breath. (and some antidepressants 😂)
In Opus 5.5's Own Words

Anything another person will read (docs, instructions, PR and issue comments, Slack drafts, text on pages) follows the voice described in the file below.
The file is
voice.md, and I had Claude use my Slack conversation history to build it based on the way that we communicate within our team. While outputs still require some de-slopping here and there, the text that it produces sounds so much more natural after doing this!Here's my /delete-ai-words skill, direct copy-paste:
--- name: delete-ai-words description: > Audit and rewrite any text so it stops sounding like AI. Use this skill whenever the user invokes /delete-ai-words, or asks to "delete the AI words", "humanise this", "make this sound less like AI", "de-AI this", "audit this against the writing rules", "fix the AI writing", or pastes a draft and asks you to clean up the robotic patterns. Also trigger right after you produce any longer piece of writing (LinkedIn post, email, article, blog post) and the user wants it to read like a person wrote it. Apply the rules below to the user's supplied text, or to your own most recent draft if they say "audit your text".
Delete AI words <!-- Take the text the user gives you (or your own most recent draft if they say "audit your text") and rewrite it so it reads like a person wrote it. Cut the AI tells. Keep the meaning.
How to run it
Find the target text. If the user pasted text, that's the target. If they say "audit your text" or "humanise your last answer," the target is your most recent draft. If no text is present, ask what to humanise (one short question, then stop).
Apply every rule below.
Return the rewritten version. By default return the clean text only, no commentary. If the user asks to "show changes" or "explain," list the specific patterns you removed and why, with before/after for each.
If you removed a pattern but the meaning got lost, keep the meaning. Accuracy beats every style rule.
--- Rule priority (use when rules collide)
Be accurate.
Be clear.
Be specific.
Sound human.
Use style only when it improves the sentence.
Do not follow a style rule so strictly that the result gets awkward.
Default voice Write directly, specifically, and naturally. Start with the useful point. Use short paragraphs, 1 or 2 sentences by default, 3 or 4 sometimes. Vary rhythm: short sentence, longer sentence, the occasional fragment when it sounds natural. Do not write in a steady medium-length pattern. Use contractions: don't, can't, it's, you're. Use "I" and "you" when natural. Prefer active voice. Be specific. Use numbers, names, dates, places, prices, constraints, tradeoffs, real examples. Take a stance when the evidence supports one. If the point is made, stop. Short and accurate beats long and padded.
The big one: negative parallelism / reframe ban This is the hardest ban. Do not reject one frame and replace it with another to fake depth. A sentence, pair of sentences, heading, or caption fails if it (1) dismisses, minimizes, or questions X, then (2) asserts or upgrades to Y. The ban applies even when the word "not" never appears.
Banned shapes:
This isn't X. This is Y.
Not X. Y. / No X. Just Y.
Forget X. Focus on Y.
Less X, more Y.
Not only X, but also Y.
It's not just about X, it's about Y.
X? No. Y.
Stop thinking X. Start thinking Y.
X is dead. Y is the future.
The question isn't X, it's Y.
You don't need X. You need Y.
It was never about X. It was always about Y.
Sneaky versions (same structure, softer words): "While X may seem...", "Although X appears...", "Sure, X...", "At first glance, X...", "On the surface, X...", "Most people think X...", "Conventional wisdom says X..." — if it then pivots to Y, rewrite it. Watch the pivot words when they perform a reframe: but, yet, actually, really, instead, rather, ultimately, in reality, the truth is, what matters is, the real, the deeper, the hidden, the overlooked.
The ban crosses sentence boundaries:
Bad: "Most teams think they have a hiring problem. They have a standards problem." → Better: "The team's standards are unclear."
Bad: "People blame the algorithm. The input data is broken." → Better: "The input data is broken."
Rhetorical-question version is also banned:
Bad: "Is this a productivity problem? No. It's an attention problem." → Better: "Attention is the constraint."
Reframe headings are banned ("Not a tool. A system.", "From chaos to clarity", "The real problem"). Use direct headings ("The system", "Input problems"). Fix rule: when you find a reframe, delete the rejected half, then rewrite the positive claim as a direct sentence. "It's not about the prompt. It's about the context." → "Context controls the output." Allowed contrast: only when correcting a specific factual, legal, technical, date, number, name, or scope mistake. "The meeting is on Tuesday, not Thursday." Never use contrast for style, drama, or fake insight.
Banned vocabulary Cut these unless quoting or naming the pattern itself: delve, realm, harness, unlock, tapestry, paradigm, cutting-edge, revolutionize, intricate, intricacies, showcasing, crucial, pivotal, surpass, meticulously, vibrant, unparalleled, underscore, leverage, synergy, innovative, game-changer, testament, commendable, meticulous, highlight, emphasize, boast, groundbreaking, align, foster, showcase, enhance, holistic, garner, accentuate, pioneering, trailblazing, unleash, versatile, transformative, redefine, seamless, optimize, scalable, robust, breakthrough, empower, streamline, frictionless, elevate, adaptive, effortless, data-driven, insightful, proactive, mission-critical, visionary, disruptive, reimagine, unprecedented, intuitive, leading-edge, synergize, democratize, accelerate, state-of-the-art, dynamic, immersive, predictive, transparent, proprietary, integrated, plug-and-play, turnkey, future-proof, paradigm-shifting, supercharge, enduring, interplay, valuable, captivate. [YOU CAN ADD YOUR OWN WORDS TO THIS LIST]
Banned phrase shapes (copulative avoidance) Don't use bloated verbs to dodge "is" or "has": serves as, stands as, marks a, represents a, boasts a, features a, offers a, plays a role in, helps to, aims to, seeks to. Use the plain verb: is, has, uses, gives, shows, causes, changes, removes, adds.
"The report serves as a guide." → "The report is a guide."
"The app boasts a dashboard." → "The app has a dashboard."
Dead openings, transitions, and bait Openings to cut: In today's..., It is important to note that..., It is worth noting..., In order to, Let's dive in, Let's explore, Let's unpack, At the end of the day, Moving forward, In other words, It goes without saying, Nobody is talking about, Most people don't realize, In this article I will, Despite its strengths X faces challenges. Transitions to cut: Furthermore, Additionally, Moreover, That said, That being said, With that in mind, On top of that. Use a real transition or none. Engagement bait to cut: Let that sink in, Read that again, Full stop, This changes everything, Are you paying attention?, You're not ready for this. Assistant chatter to cut (in chat-style replies): Certainly, Of course, Happy to help, Great question, I hope this helps, Would you like me to.
Analogy and metaphor control Default: no analogies. Don't explain ordinary ideas through metaphor or decorate clear points with imagery. Use an analogy only if ALL of these pass: the subject is unfamiliar/abstract/technical; the analogy makes it easier; it's shorter than the literal version; it's exact enough not to mislead; it reads normally aloud. Otherwise write literally. Banned setups: Think of it as, Imagine, Picture, It's like, As if, As though, The X of Y, Works like, Acts like, Functions as, A bridge between, A lens for, A roadmap for, The engine of, The backbone of, The DNA of. Banned metaphor families for abstract work: journey, battlefield, machine-for-people, ecosystem, engine/fuel, map/compass, signal/noise (unless literal), iceberg, north star, flywheel, scaffolding, plumbing, gardening, chess, sports, puzzle. Banned metaphor verbs for ideas/strategy/products: sanded down, bolted on, stripped back, stitched together, woven, layered, carved out, baked in, distilled, unpacked, crystallized, sharpened, surfaced, amplified, anchored, framed, mapped, cemented, bridged. Use literal verbs: cut, added, removed, changed, joined, caused, showed, explained, reduced, clarified, fixed, named, listed, compared, chose, rejected.
"Your onboarding is a leaky bucket." → "42% of users leave on step 2 because the form asks for billing details before showing the product."
"The strategy is a compass." → "The strategy says which customers to ignore."
Other AI tells to catch
Puffery: don't inflate normal facts (a pivotal moment, a major shift, broader implications). State the fact, let the reader judge weight.
Rule of three: don't force every claim into three items ("speed, efficiency, and innovation"). Use 1, 2, or 4 if that's what's true.
False ranges: "from ancient traditions to modern innovation." If there's no meaningful middle, delete it.
Elegant variation: don't rename the same thing to dodge repetition ("Sarah" → "the seasoned operator" → "she"). Use the name again.
Meta commentary: don't announce the writing ("In this section", "This article will cover", "Let me walk you through"). Say the thing.
Fake-depth participles: highlighting its importance, underscoring its significance, reflecting broader trends, paving the way for, opening the door to. If the analysis matters, give it a real sentence with
Formatting Short paragraphs. Digits for numbers (3 years, 500 users). No em dashes — use periods, commas, colons, semicolons, or parentheses. Bold sparingly, 1-2 moments per section. Sentence case in headers. Headers and bullets only when they help reading. Code blocks for exact prompts or commands.
Run silently: -Cut the first sentence if it's throat-clearing -Replace vague claims with specific ones -Remove fake importance -Break up repeated sentence shapes -Remove assistant chatter -Replace bloated verbs with plain ones -Search for negative parallelism across sentence boundaries and delete rejected-frame construction -Search for unnecessary analogies and metaphor verbs; delete unless they pass the permission test -Cut the ending if it only repeats the point -Ask: does this sound useful, or overworked? Return cleanest
"Check any assumptions before you offer an insight or a suggestion. Do not answer any complex question without apply this rule first." (the actual line is a bit more complex than that but this is an abridged version)
Eats about 10% extra usage/tokens but produces significantly better and less infuriating outputs
The most useful rule in mine is:
“Removing private memory may make an executor slower. It must never make an executor wrong. If a decision cannot be made correctly without a memory entry, that entry carries operative knowledge and is in the wrong place.”
The rule fixed a subtle failure mode. An agent would learn something important, keep it private and appear smarter in the next session. But the rest of the system could not inspect, review or reproduce the basis for the agent’s decision. Context that is wrong without anyone knowing is worse than no context at all.
Now anything required for correctness must have a visible owner: the repo, AGENTS.md, project documentation or an explicit state carrier. Private memory can preserve convenience, calibration and pointers that help avoid solving the same problem again. It must never be the only record of a project fact.
I always have these two: "DO NOT ASSUME, ASK ME", "DO NOT IMPORT LIBRARIES I HAVEN'T APPROVED". I also have things around keeping to industry standards, best practices, short files/functions (break up the code to readable pieces), reusability (but not forced).
When I code with Rust I always add "write idiomatic Rust, use iterators and combinators, write safe Rust, no panics"
My global CLAUDE.md starts with this rule. I built the file from corrections I kept repeating across my last 50 sessions. Every rule is there because I had to repeat it in more than one project.
Done means observed, not green. Lint, compile, tests, CI, a code review, and a script's own log output are necessary but never sufficient. Never report work as done, working, fixed, merged, or deployed on their strength alone. Before you say it:
Drive the exact user path in the running app or deployed endpoint, and state what you observed (screenshot for UI).
Inspect the persisted side — Neo4j node and relationships, DynamoDB item, Lambda env var — to prove the write actually landed.
Re-run
gh pr view --commentsat that moment, from the repo the claim is about, for live merge and deploy state and every bot finding and review comment, instead of quoting an earlier read. A monitor only reports what happens after it was armed: never read its silence as "no findings".For a bug fix, show the regression test failing before it passes.
If one of these is impossible, name the verification you skipped rather than letting a green summary imply it happened.
Like purplegumdropz's evidence rungs, this rule ties a claim to evidence. Here the claim is “done,” which used to mean “the checks passed.” Now every status claim includes the evidence that proves it: a screenshot, a database record, or the current PR comments. The last line helps most because it makes the agent say which check it skipped.
Yesterday the agent created an Outlook draft through the Graph API and got a success response. Only reading the draft back revealed a stray backslash at the start of the body: the CLI had turned line breaks into literal characters.
I find ending most tasks with an LLM judge sanity check to be a super useful pattern that applies to almost all areas of work.
@dan I agree, provided the judge bases their decision on the result rather than the agent’s description of it. A judge who read the transcript would have approved the Outlook draft above because the API reported success. We noticed the backslash only when we reread the draft.
For a PR, the real test comes after deployment: use the feature as a user would, then verify what it’s supposed to write. Code reviews and continuous integration (CI) come before this test and don’t replace it.
Name the rung of evidence. Never round up.
You said so. (worthless)
You cited file:line.
You walked the failure path.
You ran real code that fails loudly if the claim is false. (first rung that counts as verified)
You reproduced it in the running system.
Below rung 4, say "unproven" out loud. A shape check (length, prefix, format) can only lower confidence. It can never declare something broken.
What it fixed .... agents kept saying "verified" and "it works" when they had only read the code. One session declared a working API key malformed because it was 53 characters and started with AQ. instead of the old 39-character AIza format. It wrote off the whole integration as down. Now every status claim carries its rung, and "are you sure?" mostly stopped being necessary.
I use this rule for routing with local and cloud resources:
"Deterministic first, LLM last. Never use a frontier model for what a small classifier, a script, or a grep can do. Route with the classifier, generate only when it says you have to."
Cost: I classify 40k+ pages. Using a frontier model for routing makes the job too expensive to run. With a small classifier, routing is basically free.
Determinism: The classifier assigns the same label to the same input every time.
Categories: The rule forced me to define the categories upfront instead of letting the model invent new ones mid-run.
My most useful rule is for marketing PetOps, my kennel software. It isn't in a code repo. Roughly:
Check every product claim against the source code before it ships. Competitor prices come only from that vendor's own pricing page, with the link and the date you pulled it.
Without that rule, an agent will rely on memory when describing a feature or quoting a competitor's price. On a comparison page, an error like that is more serious than a typo because it creates a liability.
Cloud agents put the rule to the test in a batch of six PRs covering competitor-alternative pages, a pricing comparison, a cost calculator, a case study and a help center. A second, independent agent reviewed each PR before I merged it. The agent also checks the live pages after deployment.
It's the same idea as purplegumdropz's evidence rungs, applied to copy rather than code: each claim needs a source the agent can show before the claim goes on the page.
I've worked a lot on improving the way Claude answer to me, using a/b tests and reading tests to measure the retention. After this I was still getting the brain fried and I noticed that by removing the reading bottleneck I started to hit a different one: a lot of more turns with decisions. Now I could read more and I had to decide faster. Then I measured what most of my turns were: answering follow up questions of Claude, but most of them were very simple: should I merge this? Should I commit the changes? Etc. Even with auto mode.
So I came with this system prompt:
This reduced the amount of turns with menial decisions and responses from 64% to 21%.
Who else is measuring how many decisions is your agent asking of you per day?