Skip to content

Use Crumbs with a coding agent

The repository ships a portable crumbs-css consumer skill for Expo apps and React Native design systems. It covers the 1.3.0 native inspector, 1.2.0 SDK 58 compatibility and retained 1.1.x SDK 56/57 APIs; check the installed version and release status. The copied folder includes matched Node/SDK guidance, concrete Babel/Rust setup and per-file fallback limits. It covers Metro setup, specific package imports, typed tokens, slots, atomic utilities, instance variables and native boundaries, with a complete themed ActionCard example and a development-only recipe probe.

The skill is maintained in .agents/skills/crumbs-css. It is repository content, not part of the npm tarball. Installing the package does not install the skill; installing the skill does not change app dependencies.

From your app’s root, obtain the skill from the Crumbs repository:

Terminal window
git clone --depth 1 --filter=blob:none --sparse https://github.com/opsydyn/crumbs-css.git crumbs-skill-source
git -C crumbs-skill-source sparse-checkout set .agents/skills/crumbs-css

Copy the whole folder, including references/ and agents/. If a copy already exists, review its changes before replacing it. For a first install:

Terminal window
if [ -e .agents/skills/crumbs-css ]; then
echo "Crumbs skill already exists; review the update before replacing it."
else
mkdir -p .agents/skills
cp -R crumbs-skill-source/.agents/skills/crumbs-css .agents/skills/
fi

Commit the copied skill to your app repository so the team shares it. The command fetches the current repository version; teams requiring an immutable copy should record and review the source commit from git -C crumbs-skill-source rev-parse HEAD. Check the skill’s version target against your installed Crumbs package when updating.

Codex scans repository .agents/skills folders and can select the skill implicitly when its description matches. You can also invoke it explicitly as $crumbs-css. See OpenAI’s skill discovery documentation. Other agents can read SKILL.md and its relative reference directly; automatic discovery depends on their own skill support.

Use $crumbs-css to add a typed ActionCard to this Expo app.
Use our existing tokens, root and label slots, primary/secondary variants,
finite padding utilities, and an independent per-card accent override.
Preserve the existing Metro config and native onActionPress behaviour.
Check our installed package version, typecheck the app, and export the
platform we are targeting. Report native checks separately.

The skill helps the agent avoid browser CSS assumptions and keeps runtime imports separate from authoring/tooling. Typed identified token themes live in ordinary .ts; local variables use their own primitive plans and resolver; extension factories use explicit named package exports. The agent remains responsible for reading the app’s existing code and validating its changes.

For capability and setup details, use the quickstart, API index, and reference design system. The skill adds guidance; it changes no public API or native/performance guarantee.

Use $crumbs-css to add the native inspector to our installed Crumbs 1.3.0 app.
Register our Card recipe in its existing nested theme scope, using its current
selection and conditions. Preserve onActionPress. Keep inspector value imports
behind a development-only module boundary and use our clipboard adapter.
Explain partial or stale reports and verify a production export excludes devtools.

The copied references/native-inspector.md includes the module boundary, typed recipe probe, clipboard ownership and diagnosis checklist. The widget requires 1.3.0; 1.2.0 retains the headless explanation API. The probe describes one supplied Crumbs export, not the final rendered native style. See the native inspector guide and screenshots.

Keep the example inside your app’s existing root layout and safe-area handling. Give the agent an observable native outcome: wire onActionPress to a visible counter, tap both variants, and verify one increment per press. Inspect their button semantics and appearance on the actual target. Typechecking and exporting Android or iOS alone do not establish interaction on those platforms.

The M1.9e dogfood exercise ran the four-file example unchanged against public 1.1.1. Strict types and all three Expo exports passed, and actual iOS simulator and Android emulator presses advanced the callback counter from 0 to 1 to 2. It reused an SDK 56 dependency installation; SDK 57 native interaction was not run. This is a bounded consumer check, not a claim about screen-reader speech, physical devices or release performance.