Agent-first UX pattern context
Build-time generated files for agents that need to choose source-backed interaction patterns, load only the relevant contracts, and review generated UI without a server-side runtime.
Copy-paste activation
Paste this one message into an agent that can fetch URLs. No download, install step, package manager, or server runtime is required.
One-message setup
Optional deeper integration
Use these only when an agent supports persistent skills or you are building local retrieval. The copy-paste instruction above is the default path.
Agent Skill entrypoint
Use this `SKILL.md` in Codex, Claude Code, or any Agent Skills compatible client.
Open skillStarter prompt
Use when a coding agent has not installed the skill but can fetch static URLs.
Open review workflowStatic artifact map
Agents should start small, then retrieve only the contracts and comparisons needed for the current UI task.
Layer 1: Compact index
Use for retrieval and candidate selection. It carries IDs, keywords, fit rules, required-state summaries, and direct artifact URLs.
- 298 patterns
- Complete entries only; 0 stubs excluded.
- 14 categories
- Useful for coarse filtering before loading contracts.
- Small first context
- Avoid loading the full Markdown export unless building an offline index.
Layer 2: Pattern contracts
Each pattern has its own markdown and JSON file with required states, interaction contract, accessibility, keyboard behavior, and failure modes.
- Markdown
- `/agent/patterns/{id}.md` for agent-readable contracts.
- JSON
- `/agent/patterns/{id}.json` for custom local retrieval.
- Evidence
- Source IDs, notes, and verification dates stay attached.
Layer 3: Comparisons
Decision packs prevent agents from picking a component by name when nearby patterns would fit better.
- 286 packs
- Rules for modal vs sheet, toast vs inline error, table vs grid, and other close calls.
- Rejected alternatives
- Use these to explain why a different pattern was not selected.
Review layer
Use after generation to catch known failures before code review or handoff.
- 26 anti-patterns
- Static checklist for common generated-UI failures.
- Review workflow
- Names missing states, contract breaks, and required revisions.
- Full exports
- Still available for offline indexing and custom tooling.