← ClaudeAtlas

monorepo-bootstraplisted

Scaffold a turborepo monorepo on pnpm workspaces, with shared packages (types, design tokens or shared UI, backend client). Three topologies, asked in Step 1: web+mobile (Next.js app AND an Expo + RN app — the classic case), web+agent (Next.js app + an eve agent in apps/agent, no mobile), or web-only (just the turborepo and shared-package tooling around one web app). Reads `.workflow/meta.json` with `stack.framework="monorepo"` and phase in {prd_drafted, design_extracted}. Always idempotent. Use when dev-flow routes here, or the user says "scaffolda il monorepo", "create a turborepo with web + mobile", "bootstrap il monorepo da PRD + DESIGN.md", "scaffolda un turborepo per web + agent eve". Not for: scaffolding only web with no monorepo tooling (use design-md-to-app), scaffolding only mobile (use rn-bootstrap), or adding modules after the scaffold (use module-add or rn-module-add).
lukedj78/dev-flow · ★ 6 · Web & Frontend · score 78
Install: claude install-skill lukedj78/dev-flow
# monorepo-bootstrap — scaffold a turborepo monorepo ## Contract See `references/contracts.md` (vendored from `dev-flow`). Key facts: - Reads `<project-root>/.workflow/meta.json#stack.framework` — must be `"monorepo"`. - Requires `meta.json#phase` in `{prd_drafted, design_extracted}`. - Reads `PROJECT.md`, `PRD.md`, and `DESIGN.md` from project root (DESIGN.md required for tokens; falls back to defaults if absent). - Writes the monorepo at project root: `apps/{web,mobile}/`, `packages/{shared,design,api}/`, root config files. - Transitions phase: `prd_drafted` → `monorepo_initialized` (root scaffold done) → `scaffolded` (both apps + packages exist). - Always idempotent: re-running detects existing files, skips, reports. ## When this skill applies - Orchestrator routes here from `dev-flow` when `stack.framework="monorepo"` and `phase ∈ {prd_drafted, design_extracted}`. - User says: "scaffolda il monorepo", "create a turborepo", "bootstrap il monorepo". ## Knowledge dependencies (read these first) - `rn-fundamentals/SKILL.md` — Expo SDK + New Architecture + TS for the mobile side (web+mobile topology only). - `rn-bootstrap/SKILL.md` — how the mobile side is scaffolded; this skill invokes it ONLY for the web+mobile topology. - `rn-styling/references/nativewind-setup.md` — for the mobile Tailwind config (web+mobile topology only). - `design-md-to-app/SKILL.md` — how the web side is scaffolded; this skill invokes it in every topology. - `design-md-to-app/references/<lib>-map