Packaged AI guidance
Understand the version-matched ai/ directory and repository AGENTS.md guidance for ARCUI 2.0.0.
ARCUI publishes documentation-only agent guidance under ai/. The 2.0.0 repository also includes a root AGENTS.md that routes coding agents into this version-matched guidance.
It exists beside the compiled package declarations so the guidance and the public contract can travel with the same ARCUI version.
Structure
ai/
├── SKILL.md
├── INDEX.md
├── references/
│ ├── accessibility.md
│ ├── components.md
│ ├── composition.md
│ ├── forms-and-inputs.md
│ ├── image-to-interface.md
│ ├── installation.md
│ ├── localization.md
│ ├── motion.md
│ ├── navigation.md
│ ├── overlays.md
│ ├── selection.md
│ ├── testing.md
│ ├── tokens-and-theming.md
│ └── typography.md
└── patterns/
├── forms.md
├── layout-and-content.md
├── loading-and-transitions.md
├── overlays-and-feedback.md
└── state-and-controls.mdSKILL.md — operating rules first
Start here.
SKILL.md defines high-value rules such as:
- source-of-truth discipline;
- React vs SharedValue ownership;
- token and typography rules;
- Reduced Motion and accessibility expectations;
- public API / overlay boundaries;
- validation expectations.
It is the compact file an agent should load before diving into a domain-specific task.
The 2.0.0 guidance additionally requires agents to use public tone and typed colors options before recreating existing ARCUI controls with React Native primitives. Exact nested slots must still be verified against the installed declarations.
INDEX.md — progressive disclosure
INDEX.md routes the task to the smallest relevant subset of files.
A Button styling task should not require loading overlay, navigation, forms, and every other ARCUI reference into context.
That is intentional: relevant context beats maximum context.
references/ — domain contracts
References explain the architecture and public semantics for one domain.
Examples:
forms-and-inputs.md -> input ownership and field behavior
selection.md -> Checkbox / Radio / Toggle / SelectionGroup semantics
overlays.md -> Modal / Dropdown / Toast / Dialog architecture
motion.md -> UI-thread-first motion and Reduced Motion
accessibility.md -> semantic accessibility rulesReferences explain how to reason about the library. They are not a substitute for exact .d.ts signatures.
patterns/ — composition workflows
Patterns show how multiple ARCUI ideas fit together in common work:
forms
layout-and-content
loading-and-transitions
overlays-and-feedback
state-and-controlsThey should be treated as ownership/composition examples, not as another application framework layered on top of React Native.
Version matching matters
If an application installs ARCUI 1.1.0, the safest guidance for that application is the ai/ directory shipped with 1.1.0.
A future website may document later APIs. A copied prompt may come from an older release. The installed package removes that ambiguity.
The declarations still win for exact APIs
When prose and exact signatures answer different questions, use each for what it is good at:
ai/ guidance -> what pattern / component / ownership model should I use?
dist/*.d.ts -> what exact prop, type, callback, or export exists?