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 monkilabs/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 — uses @clack/prompts to ask series of questions. Agents must run command, 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 → Next.js, supabase → Supabase). Non-1:1 exceptions:
| TechTool | Backbone mapping |
|----------|-----------------|
| resend | emailLib in Packages prompt |
| vitest | Always included automatically |
| figma, chrome-devtools | Not handled by backbone; configure separately |
apps/ (web, conditional mobile), packages/ (conditional ui, email, llm, stripe), backend/ (one of convex/supabase/prisma/drizzle), e2e/, .github/workflows/. Always at root: vitest.config.ts, tsconfig.base.json, package.json, turbo.json/nx.json, ESLint, Prettier. Conditional root files: wrangler.toml (cloudflare), Dockerfile (coolify), sentry.*.config.ts (sentry, in apps/web/).
Agents on post-scaffolding tasks must not recreate these — they already exist. Import and extend.
After npx @monkilabs/backbone <project-name> completes:
cd <project-name> into generated directorynpm install for 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 correct selections{
"id": "scaffold-monorepo",
"agent": "developer",
"prompt": "Run `npx @monkilabs/backbone my-app` interactively. Select: nx · nextjs · supabase · sanity · playwright · vercel · uiLib · stripe · sentry. Then `cd my-app && npm install && npx nx build`. Verify clean build before continuing.",
"files": ["my-app/"],
"timeout": "30m"
}
development
Defines 10 sequential validation gates: secret scanning, lint/test/build checks, blast radius analysis, dependency auditing, browser testing, cache management, regression checks, 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, 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, defines dead-letter queue formats for Team Lead orchestration. Load when assigning tasks to agents, choosing model tiers, starting delegation session, running multi-agent workflow, delegating work, choosing which model to use, or assigning tasks.
testing
Saves, restores session state including task progress, file changes, delegation history. Use when saving progress, resuming interrupted work, picking up where you left off, or checkpointing current work.