← ClaudeAtlas

rn-module-addlisted

Use to wire a backend/infra module (auth, db, storage, realtime, push, payments) into a scaffolded Expo + RN app. Reads .workflow/meta.json with stack.framework="expo-rn" and the user-chosen provider for each module (Supabase, Firebase, custom REST, tRPC, RevenueCat). Installs deps, generates the wiring code (lib/auth.ts, lib/supabase.ts, etc.), updates meta.json#stack to record the choice. Always idempotent. Triggers on: "add auth", "wire up db", "set up Supabase", "set up Firebase", "add payments", "add push" (the server-side part), "aggiungi modulo X". Not for: building UI for the module (rn-add-screen does the login screen, etc.), client-side knowledge only (rn-backend, rn-push-notifications), scaffolding (rn-bootstrap).
lukedj78/dev-flow · ★ 4 · API & Backend · score 77
Install: claude install-skill lukedj78/dev-flow
# rn-module-add — wire a backend/infra module into a scaffolded RN app ## Contract See `references/contracts.md` (vendored from `dev-flow`). Key facts: - Reads `<project-root>/.workflow/meta.json#stack.framework` — must be `"expo-rn"`. - Requires `meta.json#phase ≥ "scaffolded"`. - Each module updates a specific key in `meta.json#stack`: - `auth` module → `meta.json#stack.auth` - `db` module → `meta.json#stack.db` - `storage` module → `meta.json#stack.storage` (new sub-key) - `realtime` module → `meta.json#stack.realtime` (new sub-key) - `push` module → `meta.json#stack.push` (new sub-key) - `payments` module → `meta.json#stack.payments` - Sets `meta.json#phase = "module_added"` after the first module, then leaves it. - Always idempotent: re-running with same provider detects existing wiring and exits 0. ## When this skill applies - Phase is `scaffolded` or `page_generated` or `module_added`. - User asks to add ONE module by name. (To add multiple, run the skill multiple times.) - Orchestrator routes here from `dev-flow`. ## Knowledge dependencies (read these first) - `rn-fundamentals/SKILL.md` — TypeScript strict, modern primitives. - `rn-backend/SKILL.md` — provider-agnostic client-auth architecture. - `rn-backend/references/<provider>.md` — provider-specific wiring (supabase.md / firebase.md / custom-rest.md / trpc.md). - `rn-push-notifications/references/setup.md` — for the push module. - `rn-publishing-payments/references/revenuecat.md` — for the paymen