AI-assisted development
Use ARCUI's version-matched packaged guidance with coding agents without replacing the public TypeScript contract.
ARCUI 1.1+ ships an ai/ directory inside the published npm package.
Its purpose is simple: a coding agent should understand the ARCUI version actually installed in the application, not guess from an old chat, a copied snippet, or a newer website page.
node_modules/react-native-arc-ui/
├── dist/ exact public declarations
└── ai/ version-matched guidanceGive this to your coding agent
A compact source-first instruction for ARCUI work.
Use the ARCUI version installed in this project as the source of truth.
Read AGENTS.md when present, then ai/SKILL.md, ai/INDEX.md, and only the references or patterns relevant to the task.
Verify exact public props, types, and imports against the installed react-native-arc-ui declarations.
Keep semantic/structural state in React and frame-level visual state in Reanimated.
Prefer documented ARCUI components, tone, typed colors, and tokens before building equivalent controls from primitives.
Respect accessibility semantics, Reduced Motion, and public package boundaries.
Do not invent props, components, deep imports, or internal APIs.Three complementary sources
installed dist/*.d.ts
-> exact public props, types, exports, and signatures
installed ai/
-> version-matched ARCUI architecture, semantics, and patterns
website documentation
-> human-readable explanations, previews, examples, and navigationNone of these should be used as an excuse to invent an API the installed package does not expose.
Recommended agent order
1. ai/SKILL.md
2. ai/INDEX.md
3. only the relevant references / patterns
4. installed public declarations
5. implementation / validationThis progressive-disclosure model keeps context small while still giving an agent enough ARCUI-specific architecture to avoid common mistakes.
What the guidance is designed to prevent
The packaged guidance explicitly helps agents avoid patterns such as:
- inventing ARCUI components such as
Surface,Card, orStackwhen they are not public APIs; - deep-importing private
src/distimplementation files; - using React state as an animation frame driver;
- turning SharedValues into hidden semantic application state;
- bypassing provider-owned overlay architecture;
- combining native font scaling with ARCUI's manual scaling;
- hardcoding reusable accessibility strings that ARCUI already localizes;
- guessing props instead of checking the installed declarations.
It is guidance, not runtime code
The ai/ directory is published documentation. It is not a runtime export and does not need to be imported by application code.
Packaged guidance
Understand SKILL.md, INDEX.md, domain references, and patterns.
Agent workflow
A practical source-first workflow from task to validated ARCUI code.
Design to interface
Translate screenshots and design briefs into ARCUI semantics without inventing primitives.
Public API
See the public root/testing package boundaries an agent must respect.