top of page

Why your AI based development is failing whilst mine is succeeding...

  • Writer: Nick Beaugeard
    Nick Beaugeard
  • 6 days ago
  • 3 min read

Documentation Is Oxygen for Agentic AI

Disciplined writing beats hand‑wavy stand‑ups when you’re shipping software with LLM‑powered agents.


The uncomfortable truth: agents are only as good as their brief

Large‑language‑model (LLM) “agents” look magical in demo videos, but in production they’re glorified interns with no long‑term memory. Give them a sloppy prompt and they will confidently ship sloppy code.


The antidote is exhaustive, explicit documentation—requirements specs, technical specs, sprint plans and issue templates that spell out exactly what “done” means.

Your team should already work this way, but too many traditional dev shops still rely on tribal knowledge, Jira fragments and coffee‑break conversations.


When an LLM is writing the pull‑request, those gaps turn into hallucinations, silent failures and legal exposure. Documentation isn’t red tape; it’s the runtime context for every autonomous task your agents perform.


Agents.md: a real‑world proof‑point

Adam Wathan (creator of Tailwind CSS) recently opened the kimono on his own AI coding workflow. As part of Tailwind’s new sponsorship programme he offers “Cursor/Claude/AGENTS.md rules — Adam's personal ruleset for working with AI coding assistants” to paying supporters (tailwindcss.com).


The file is nothing more than structured markdown: system‑level guard‑rails (“never use inline styles”), naming conventions, performance budgets, preferred libraries and negative examples. Yet those few kilobytes let any LLM replicate Tailwind’s famously opinionated style with far less back‑and‑forth. The takeaway is brutal: write it down or repeat yourself forever.


Even Tailwind’s business model now bakes in docs

The accompanying blog post announcing the sponsorships hammers the same point. One of the headline perks is “Early documentation for pre‑release utilities so you can experiment ahead of stable releases” and, again, access to the AGENTS.md ruleset (tailkits.com).


Tailwind CSS has 10 million monthly visitors. They’re charging for documentation because documentation is where the leverage lives—human or machine.

Traditional teams that still treat docs as an after‑thought should pay attention: the hottest front‑end framework on the planet just monetised Markdown.


Why classic dev workflows fall short

Classic practice

Why it breaks for agents

“We’ll clarify in stand‑ups”

LLMs won’t be at the stand‑up.

JIRA ticket titles as specs

Tickets lack the domain context necessary for the agent to decide trade‑offs.

Knowledge siloed in senior devs’ heads

Agents can’t ask a senior dev at 2 am.

Drive‑by code reviews

Reviewers can’t spot hallucinations without a written definition of correct behaviour.


Five documentation habits that make agents (and humans) productive

  1. Write the contract first - Start every feature with a Testable Requirements section in plain English plus edge‑case tables. Agents parse natural language surprisingly well when it’s bullet‑proof.

  2. Keep a living system prompt - Store a project‑level AGENTS.md at repo root. Treat it like README.md: code owners approve every change. Version it; diff it.

  3. Encode constraints, not poetry - “Must stream results under 200 ms” beats “should be fast”. Agents understand hard numbers.

  4. Link, don’t quote - LLM context windows are expensive. Link to your API reference instead of pasting 300 lines of Swagger.

  5. Automate doc validation - Lint for orphaned issue references, stale diagrams and undefined terms during CI. If the docs don’t build, the merge fails. The bots guard their own food source.


The broader trend: an Agentic Web

Academic work is already arguing we need interfaces shaped for agents, not the other way around. A June 2025 position paper proposes Agentic Web Interfaces (AWIs) designed explicitly for AI interaction, with safety and efficiency baked in (arxiv.org). Documentation is the low‑tech precursor: a structured, machine‑readable bridge between human intent and autonomous execution.


What traditional teams can steal today

  • Doc‑driven development – Flip “code → docs” on its head. Prototype the README, the AGENTS.md and the migration guide before the first line of code.

  • Prompt linting – Run every agent instruction through a linter that checks for ambiguous pronouns, missing success criteria and undefined acronyms.

  • Context budgets – Treat tokens like RAM. Move verbose explanations into separate markdown files that agents can fetch on demand.

  • Post‑mortem templates – When agents misbehave, update the docs first, then the code. Future incidents drop off a cliff.


Bottom line

Agentic AI doesn’t eliminate the need for documentation; it amplifies it. Your markdown files become the operating system for a fleet of tireless, literal‑minded silicon juniors. If you don’t hand them a map, they will sprint full‑speed into the nearest wall.


Traditional shops that master rigorous, version‑controlled docs will out‑ship those that don’t—whether the code is typed by a human or an LLM. The future belongs to teams who write things down.


Stop sugar‑coating it: great docs are the cheapest way to 10× an AI agent. If your backlog is light on specs and heavy on vibes, block off a day, start an AGENTS.md, and make “doc or it didn’t happen” the new team mantra.


Comments


Follow

  • Facebook
  • Twitter
  • LinkedIn

©2018-2025 by releasedgroup.com. 

bottom of page