§0statement
← All patterns

Do-not list

Name the hallucinationSomething that an agent invents, for example a component name that does not exist. and give its replacement.

§1why

Why it works

AgentsAn AI program that writes and changes code, for example Claude Code or Cursor. On this site, "agent" means a coding agent. make the same wrong guesses again and again: a component name from another library, a raw colour, a made-up prop. Naming the wrong guess next to the right answer fixes it at the point of use. With the registryA list of the components of a system that a tool or an agent can read. MCPModel Context Protocol. The open protocol that agents use to read tools and data. alone an agent broke 20 team rules across 9 runs and rebuilt its own dialog 3 of 3 times; a 12-line rules file removed every break

§2example

Copy this

markdown
## Do not
| Do not write | Write instead |
|---|---|
| Modal | Dialog |
| Chip, Tag | Badge |
| #0ca678 | var(--accent) |
| font-family: Inter | var(--font-t) |
§3breaks

Where it breaks

The list grows. Keep it to the mistakes you have seen, not every mistake you can imagine.

§4cases

Used in: Case 5, and this site's AGENTS.md.

§ sources