Viral 'Prompt of the Year' turns agent docs into executable code and tests
aniketmaurya · x · 2026-12-06
A long prompt shared by poteto and retweeted by Daniel Mac as a "Prompt of the Year" nominee targets all unstructured agent-facing text in a repo (AGENTS.md, skills, cursor rules, spec markdowns), replacing prose with executable artifacts.
The prompt runs in phases:
- Inventory: list every doc, rule, and skill file with byte size, then classify each claim as (1) restating code/types → delete, (2) mechanically enforceable → convert to linter/compiler check/typed API/test then delete the prose, (3) irreducible judgment call → candidate to keep only if concise.
- Prune and enforce: move enforceable rules into CI/lints/tests first, then delete the corresponding text.
The core idea is to empirically prove what text actually earns its context window — a practical workflow for cutting agent context bloat.
More from coding & agent
- MiniMax H3 hits 1866 community models and 178M downloads in 4 months; near-real-time AV generation on 8×B300 — vllm_project · 2026-12-06
- Control Room: a personal AI memory system built differently from RAG — Clueless_Nooblet · 2026-12-06
- Managing 4-10 concurrent Claude Code sessions: Paseo vs Orca vs T3 Code? — zhouyanliang · 2026-12-06
- pnpm CVE-2026-145650 scores CVSS 10.0: malicious deps can overwrite git hooks via path traversal, fixed in 12.10.0 — evilsocket · 2026-12-06
- New Floridi paper argues LLM capability and safety hinge on the agent harness, not the weights — rvp · 2026-12-06
- Open Artifacts: open-source local-first layer lets any coding agent build editable artifacts — vista8 · 2026-12-06