Prompt to audit agent-facing docs: replace prose with code, lints, tests and ablation evals
sloppenheimer · x · 2026-12-04
poteto shares a ready-to-run audit prompt: inventory all unstructured agent-facing text (AGENTS.md, skills, cursor rules, spec docs) and replace as much as possible with executable code, types, lints and tests, then empirically prove what text earns its context window.
- Inventory: list every doc/rule/skill file with byte size; classify each claim as restating code (delete), mechanically enforceable (convert to linter/compiler check/typed API/test then delete prose), or irreducible judgment call (keep only if concise)
- Prune and enforce: move rules into CI/lints/tests first, delete dead prose, shrink root instructions to what automated checks can't catch
- Blinded ablation eval: run before keeping any remaining instructions/skills
More from coding & agent
- OpenAI brings its Dots autonomous agents to $20/month ChatGPT Plus, reaching millions of consumers — emmanuelvivier · 2026-12-04
- Solo operator runs a $100K/mo business on ~$1,100/mo of AI, replacing $50K/mo of payroll and SaaS — aryanXmahajan · 2026-12-04
- User deletes 1TB of Claude and Codex generated files, blames soaring memory costs — scaling01 · 2026-12-04
- Developer formalizes nine sciences in Lean: 1,306 definitions and 3,334 proven statements for AI agents — RichardsonDx · 2026-12-04
- Dev warns unstructured text in codebases is a liability and can hurt model performance — sloppenheimer · 2026-12-04
- Block off-topic requests with a Spring AI decision model before they hit your chat model — therealdanvega · 2026-12-04