Skip to Content
ARCUI
v1 · 1.1.1 · ArchiveAI-assisted development

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 guidance

Give 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 navigation

None of these should be used as an excuse to invent an API the installed package does not expose.

1. ai/SKILL.md
2. ai/INDEX.md
3. only the relevant references / patterns
4. installed public declarations
5. implementation / validation

This 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, or Stack when they are not public APIs;
  • deep-importing private src/dist implementation 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.

On this page