# Copy-Paste Agent Instruction

Paste this into Codex, Claude Code, Cursor, Windsurf, or another agent that can fetch URLs.

```text
Before generating or reviewing UI, use UX Patterns Guide as external context.

Read https://uxpatternsguide.com/agent/start.md for the workflow, then search https://uxpatternsguide.com/agent/index.json for 2-5 candidate patterns.

Load only the relevant pattern contracts from https://uxpatternsguide.com/agent/patterns/{id}.md. If candidates overlap, load the related comparison pack from https://uxpatternsguide.com/agent/comparisons/{id}.md. Before final output, apply https://uxpatternsguide.com/agent/anti-pattern-checklist.md.

In your answer, name the selected pattern, rejected alternatives, required states, interaction contract, common generated-UI mistakes avoided, and review questions. Do not load the full catalog unless you are building an offline index.
```
