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:

The core idea is to empirically prove what text actually earns its context window — a practical workflow for cutting agent context bloat.

Original post →

More from coding & agent

coding & agent channel →