src/orchestrator/skills/backbone-scaffolding/SKILL.md
Scaffolds production-ready monorepo projects using the backbone CLI: configures workspace packages, wires build tooling, sets up CI pipelines, and initializes framework/backend/CMS integrations. Use when creating, bootstrapping, or initializing a new application, project, starter template, or monorepo from scratch. Trigger terms: scaffold, bootstrap, init, new repo, new app, boilerplate, starter, greenfield.
npx skillsauth add etylsarin/opencastle backbone-scaffoldingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
npx @monkilabs/backbone <project-name>Backbone is interactive — it uses @clack/prompts to ask a series of questions. Agents must run the command and respond to each prompt in sequence.
nx or turboreponextjs or astroconvex, supabase, prisma, or drizzlesanity, contentful, strapi, or noneplaywright or cypressvercel, netlify, cloudflare, coolify, or noneionic, expo, or none (only shown for non-Astro frameworks)uiLib, emailLib, llmLibstripe or nonesentry or none| Category | Choices | Notes |
|---------------|--------------------------------------------------|------------------------------------------|
| Monorepo | nx, turborepo | Required |
| Framework | nextjs, astro | Required |
| Backend | convex, supabase, prisma, drizzle | ⛔ convex incompatible with astro |
| CMS | sanity, contentful, strapi, none | Optional |
| E2E Testing | playwright, cypress | Required |
| Deployment | vercel, netlify, cloudflare, coolify, none | Optional |
| Mobile | ionic, expo, none | ⛔ ionic and expo incompatible with astro |
| Packages | uiLib, emailLib, llmLib | Multi-select; ⛔ uiLib incompatible with astro |
| Payments | stripe, none | Optional |
| Observability | sentry, none | Optional |
Astro constraint: astro requires React-free options — never combine with convex, ionic, expo, or uiLib.
Most TechTool names map 1:1 to backbone prompt choices (e.g. nextjs → select Next.js, supabase → select Supabase). Exceptions:
| TechTool | Backbone mapping | Notes |
|----------|-----------------|-------|
| resend | Select emailLib in Packages prompt | Only non-obvious mapping |
| drizzle | Select drizzle in Backend prompt | Direct 1:1 mapping |
| cloudflare | Select cloudflare in Deployment prompt | Direct 1:1 mapping |
| coolify | Select coolify in Deployment prompt | Direct 1:1 mapping |
| expo | Select expo in Mobile prompt | Direct 1:1 mapping; incompatible with astro |
| stripe | Select stripe in Payments prompt | Direct 1:1 mapping |
| sentry | Select sentry in Observability prompt | Direct 1:1 mapping |
| vitest | — | Always included automatically |
| figma, chrome-devtools | — | Not handled by backbone; configure separately |
After backbone runs, the output directory contains:
<project-name>/
apps/
web/ # Next.js or Astro application
mobile/ # (if ionic or expo selected)
packages/
ui/ # (if uiLib selected) shared React component library
email/ # (if emailLib selected) Resend/React Email package
llm/ # (if llmLib selected) LLM integration package
stripe/ # (if stripe selected) Stripe client + webhook handler
backend/
convex/ # (if convex selected)
supabase/ # (if supabase selected)
prisma/ # (if prisma selected)
drizzle/ # (if drizzle selected) schema, config, migrations
e2e/ # Playwright or Cypress tests
.github/
workflows/ # GitHub Actions CI pipelines (always included)
vitest.config.ts # Always included
tsconfig.base.json # Always included
package.json # Monorepo root package.json
turbo.json / nx.json # Monorepo tool config
wrangler.toml # (if cloudflare selected)
Dockerfile # (if coolify selected)
sentry.*.config.ts # (if sentry selected) in apps/web/
Always included regardless of options: Vitest configuration, GitHub Actions CI workflows, root tsconfig.base.json, ESLint, Prettier.
Agents working on post-scaffolding tasks must not recreate any of these files — they already exist. Build on top of the generated structure.
After npx @monkilabs/backbone <project-name> completes:
cd <project-name> into the generated directorynpm install to install all dependenciesnpx turbo build or npx nx build)If something fails:
npm install errors → verify Node.js >= 22.5.0 (node -v)npx @monkilabs/backbone with the correct selectionsSee EXAMPLES.md for a complete scaffolding task JSON.
development
Defines 10 sequential validation gates: secret scanning, lint/test/build checks, blast radius analysis, dependency auditing, browser testing, cache management, regression checks, and smoke tests. Use when running pre-deploy validation or CI checks, CI/CD pipelines, deployment pipeline validation, pre-merge checks, continuous integration, or pull request validation.
development
Generates test plans, writes unit/integration/E2E test files, identifies coverage gaps, and flags common testing anti-patterns. Use when writing tests, creating test suites, planning test strategies, mocking dependencies, measuring code coverage, or test planning.
development
Provides model routing rules, validates delegation prerequisites, supplies cost tracking templates, and defines dead-letter queue formats for Team Lead orchestration. Load when assigning tasks to agents, choosing model tiers, starting a delegation session, running a multi-agent workflow, delegating work, choosing which model to use, or assigning tasks.
testing
Saves and restores session state including task progress, file changes, and delegation history. Use when saving progress, resuming interrupted work, picking up where you left off, or checkpointing current work.