louisbrulenaudet/monorepo-template
A concise, AI native and production-grade starter template for full-stack applications using pnpm, Turborepo and Cloudflare Workers for edge-native execution 🚚⛅
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
5/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 51/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code $ claude mcp add --transport http cloudflare-docs https://docs.mcp.cloudflare.com/mcp $ claude mcp add --transport http cloudflare-observability https://observability.mcp.cloudflare.com/mcp $ claude mcp add --transport http context7 https://mcp.context7.com/mcp $ npx degit louisbrulenaudet/monorepo-template/.claude ./rig-monorepo-template # inspect, then merge into .claude/
MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ claude mcp add --transport http cloudflare-docs https://docs.mcp.cloudflare.com/mcp $ claude mcp add --transport http cloudflare-observability https://observability.mcp.cloudflare.com/mcp $ claude mcp add --transport http context7 https://mcp.context7.com/mcp
$ npx degit louisbrulenaudet/monorepo-template/.agents/skills/cf .claude/skills/cf $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/changeset .claude/skills/changeset $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/front-vitest .claude/skills/front-vitest $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/git-commit .claude/skills/git-commit $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/hono .claude/skills/hono $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/monorepo-agent-setup .claude/skills/monorepo-agent-setup $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/playwright-cli .claude/skills/playwright-cli $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/pnpm .claude/skills/pnpm $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/react-doctor .claude/skills/react-doctor $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/review-stack .claude/skills/review-stack $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/review .claude/skills/review $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/run-app .claude/skills/run-app $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/security-audit .claude/skills/security-audit $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/skills-update .claude/skills/skills-update $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/tanstack-config .claude/skills/tanstack-config $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/tanstack-devtools .claude/skills/tanstack-devtools $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/tanstack-query .claude/skills/tanstack-query $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/tanstack-router .claude/skills/tanstack-router $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/turborepo .claude/skills/turborepo $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/ui-ux-design-best-practices .claude/skills/ui-ux-design-best-practices $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/vercel-react-best-practices .claude/skills/vercel-react-best-practices $ npx degit louisbrulenaudet/monorepo-template/.agents/skills/workers-best-practices .claude/skills/workers-best-practices
$ curl -fsSL --create-dirs -o .claude/agents/bundle-analyzer.md https://raw.githubusercontent.com/louisbrulenaudet/monorepo-template/main/.claude/agents/bundle-analyzer.md $ curl -fsSL --create-dirs -o .claude/agents/docs-researcher.md https://raw.githubusercontent.com/louisbrulenaudet/monorepo-template/main/.claude/agents/docs-researcher.md $ curl -fsSL --create-dirs -o .claude/agents/explorer.md https://raw.githubusercontent.com/louisbrulenaudet/monorepo-template/main/.claude/agents/explorer.md $ curl -fsSL --create-dirs -o .claude/agents/planner.md https://raw.githubusercontent.com/louisbrulenaudet/monorepo-template/main/.claude/agents/planner.md $ curl -fsSL --create-dirs -o .claude/agents/reviewer.md https://raw.githubusercontent.com/louisbrulenaudet/monorepo-template/main/.claude/agents/reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/verifier.md https://raw.githubusercontent.com/louisbrulenaudet/monorepo-template/main/.claude/agents/verifier.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Bash(rm -rf:*)",
"Bash(rm -fr:*)",
"Bash(rm -Rf:*)",
"Bash(rm -r -f:*)",
"Bash(rm -f -r:*)",
"Bash(wrangler preview:*)",
"Bash(cf previews:*)",
"Bash(pnpm exec cf previews:*)",
"Bash(pnpm --filter=* exec cf previews:*)",
"Bash(pnpm preview:deploy*)",
"Bash(pnpm preview:delete*)",
"Bash(pnpm run preview:*)",
"Bash(bash .github/actions/previews/*)",
"Bash(sudo rm:*)",
"Bash(pnpm changeset version:*)",
"Bash(pnpm changeset pre:*)",
"Bash(pnpm changeset git-tag:*)",
"Bash(pnpm changeset publish:*)",
"Bash(pnpm exec changeset version:*)",
"Bash(pnpm exec changeset pre:*)",
"Bash(pnpm exec changeset git-tag:*)",
"Bash(pnpm exec changeset publish:*)",
"Edit(**/drizzle/migrations/**)",
"Read(**/.dev.vars)",
"Read(**/.dev.vars.local)",
"Read(**/.dev.vars.staging)",
"Read(**/.dev.vars.production)",
"Read(**/.prod.vars)",
"Read(**/.prod.vars.*)",
"Read(**/.staging.vars)",
"Read(**/.staging.vars.*)",
"Read(**/.env)",
"Read(**/.env.local)",
"Read(**/.env.development)",
"Read(**/.env.staging)",
"Read(**/.env.test)",
"Read(**/.env.production)",
"Read(**/*.pem)",
"Read(**/*.key)",
"Read(**/*.p12)",
"Read(**/*.pfx)",
"Read(**/id_rsa)",
"Read(**/id_ed25519)",
"Read(**/credentials.json)",
"Read(**/secrets.json)",
"Edit(**/.dev.vars)",
"Edit(**/.dev.vars.local)",
"Edit(**/.dev.vars.staging)",
"Edit(**/.dev.vars.production)",
"Edit(**/.prod.vars)",
"Edit(**/.prod.vars.*)",
"Edit(**/.staging.vars)",
"Edit(**/.staging.vars.*)",
"Edit(**/.env)",
"Edit(**/.env.local)",
"Edit(**/.env.development)",
"Edit(**/.env.staging)",
"Edit(**/.env.test)",
"Edit(**/.env.production)",
"Edit(**/*.pem)",
"Edit(**/*.key)",
"Edit(**/*.p12)",
"Edit(**/*.pfx)",
"Edit(**/id_rsa)",
"Edit(**/id_ed25519)",
"Edit(**/credentials.json)",
"Edit(**/secrets.json)",
"Agent(statusline-setup)"
],
"ask": [
"Edit(/hooks/**)",
"Edit(/.claude/status-line.sh)",
"Bash(git push:*)",
"Bash(git reset --hard:*)",
"Bash(git clean -f:*)",
"Bash(git clean -fd:*)",
"Bash(git clean -fdx:*)",
"Bash(git checkout --:*)",
"Bash(git branch -D:*)",
"Bash(git tag -d:*)",
"Bash(git filter-branch:*)",
"Bash(pnpm deploy:*)",
"Bash(pnpm run deploy:*)",
"Bash(pnpm turbo run deploy:*)",
"Bash(wrangler deploy:*)",
"Bash(wrangler delete:*)",
"Bash(wrangler secret:*)",
"Bash(npm publish:*)",
"Bash(pnpm publish:*)",
"Bash(pnpm changeset --major:*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "sh"
},
{
"type": "command",
"command": "sh"
}
]
},
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "sh"
},
{
"type": "command",
"command": "sh"
}
]
}
]
},
"sandbox": {
"enabled": true
}
} MCP servers (3)
| server | source | est. tokens |
|---|---|---|
| Cloudflare · "cloudflare-docs" | remote · remote | 4.0k |
| Cloudflare · "cloudflare-observability" | remote · remote | 4.0k |
| Context7 | remote · remote | 1.2k |
Skills (22)
cfchangesetfront-vitestgit-commithonomonorepo-agent-setupplaywright-clipnpmreact-doctorreview-stackreviewrun-appsecurity-auditskills-updatetanstack-configtanstack-devtoolstanstack-querytanstack-routerturborepoui-ux-design-best-practicesvercel-react-best-practicesworkers-best-practices
Subagents (6)
| bundle-analyzer model: haiku | Use PROACTIVELY when asked about frontend bundle size, chunk splitting, what is making the build large, whether a dependency is worth adding, or before a performance change to `front-app`. Runs the ex |
| docs-researcher model: sonnet | Use PROACTIVELY to look up external library / framework / SDK / API documentation (Cloudflare Workers, the cf CLI, Wrangler, Hono, Zod) via the installed documentation MCP collector and the web, and r |
| explorer model: haiku | Use INSTEAD OF the built-in `Explore` agent for any "where is X / which files do Y / how is Z wired" question in this repo. Returns file paths and one-line excerpts, never file dumps. Read-only. Unlik |
| planner model: sonnet | Use INSTEAD OF the built-in `Plan` agent to design an implementation approach in this repo - new endpoint, new Worker, new package, schema change, refactor spanning workspaces. Returns a step-by-step |
| reviewer model: sonnet | Domain reviewer for the human-invoked /review skill: reviews ONE domain (architecture, ci, code-quality, configuration, performance, security, seo, simplicity, tests, ui) against the domain file named |
| verifier model: haiku | Use PROACTIVELY before opening a PR or after a batch of edits: runs the repository verification gate (`pnpm run ci:agent` - lint, format, check-types, boundaries, test, build) and reports ONLY failure |
Hooks (8)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Bash | sh |
| PreToolUse | Bash | sh |
| PreToolUse | Edit|Write | sh |
| PreToolUse | Edit|Write | sh |
| PostToolUse | Edit|Write | sh |
| Stop | * | sh |
| SessionStart | * | sh |
| InstructionsLoaded | * | sh |
Plugins (7)
ts-native-lsp@monorepo-localsecurity-guidance@claude-plugins-officialskill-creator@claude-plugins-officialcode-simplifier@claude-plugins-officialgithub@claude-plugins-officialclaude-md-management@claude-plugins-officialclaude-code-setup@claude-plugins-official
Cursor rules (32)
backend/hono-gatewaybackend/portsbackend/service-bindingsbackend/workers-cachebackend/workers-configcontracts/contractscore/agent-instructionscore/boundariescore/guardrails · alwayscore/turborepocore/worktreesfrontend/reactfrontend/tailwindfrontend/tanstack-queryfrontend/tanstack-routerfrontend/vite-configops/cdops/changesetsops/ciops/previewsops/quality-reportops/releasequality/code-stylequality/comments · alwaysquality/knipquality/lint-configquality/markdown-stylequality/namingquality/reporting · alwaysquality/simplicity · alwaysquality/testingquality/typescript-config
Permissions
deny (68)
Bash(rm -rf:*)
Bash(rm -fr:*)
Bash(rm -Rf:*)
Bash(rm -r -f:*)
Bash(rm -f -r:*)
Bash(wrangler preview:*)
Bash(cf previews:*)
Bash(pnpm exec cf previews:*)
Bash(pnpm --filter=* exec cf previews:*)
Bash(pnpm preview:deploy*)
Bash(pnpm preview:delete*)
Bash(pnpm run preview:*)
Bash(bash .github/actions/previews/*)
Bash(sudo rm:*)
Bash(pnpm changeset version:*)
Bash(pnpm changeset pre:*)
Bash(pnpm changeset git-tag:*)
Bash(pnpm changeset publish:*)
Bash(pnpm exec changeset version:*)
Bash(pnpm exec changeset pre:*)
Bash(pnpm exec changeset git-tag:*)
Bash(pnpm exec changeset publish:*)
Edit(**/drizzle/migrations/**)
Read(**/.dev.vars)
Read(**/.dev.vars.local)
Read(**/.dev.vars.staging)
Read(**/.dev.vars.production)
Read(**/.prod.vars)
Read(**/.prod.vars.*)
Read(**/.staging.vars)
Read(**/.staging.vars.*)
Read(**/.env)
Read(**/.env.local)
Read(**/.env.development)
Read(**/.env.staging)
Read(**/.env.test)
Read(**/.env.production)
Read(**/*.pem)
Read(**/*.key)
Read(**/*.p12)
Read(**/*.pfx)
Read(**/id_rsa)
Read(**/id_ed25519)
Read(**/credentials.json)
Read(**/secrets.json)
Edit(**/.dev.vars)
Edit(**/.dev.vars.local)
Edit(**/.dev.vars.staging)
Edit(**/.dev.vars.production)
Edit(**/.prod.vars)
Edit(**/.prod.vars.*)
Edit(**/.staging.vars)
Edit(**/.staging.vars.*)
Edit(**/.env)
Edit(**/.env.local)
Edit(**/.env.development)
Edit(**/.env.staging)
Edit(**/.env.test)
Edit(**/.env.production)
Edit(**/*.pem)
ask (20)
Edit(/hooks/**)
Edit(/.claude/status-line.sh)
Bash(git push:*)
Bash(git reset --hard:*)
Bash(git clean -f:*)
Bash(git clean -fd:*)
Bash(git clean -fdx:*)
Bash(git checkout --:*)
Bash(git branch -D:*)
Bash(git tag -d:*)
Bash(git filter-branch:*)
Bash(pnpm deploy:*)
Bash(pnpm run deploy:*)
Bash(pnpm turbo run deploy:*)
Bash(wrangler deploy:*)
Bash(wrangler delete:*)
Bash(wrangler secret:*)
Bash(npm publish:*)
Bash(pnpm publish:*)
Bash(pnpm changeset --major:*)
allow (59)
Bash(pnpm run ci)
Bash(pnpm check-types)
Bash(pnpm types)
Bash(pnpm types:check)
Bash(pnpm run types:check)
Bash(pnpm lint:fix)
Bash(pnpm lint:agent)
Bash(pnpm lint:check)
Bash(pnpm react-doctor:*)
Bash(pnpm run react-doctor:*)
Bash(pnpm format:fix)
Bash(pnpm format:check)
Bash(pnpm build)
Bash(pnpm boundaries)
Bash(pnpm release:check)
Bash(pnpm run release:check)
Bash(pnpm release:status)
Bash(pnpm run release:status)
Bash(pnpm changeset --patch:*)
Bash(pnpm changeset --minor:*)
Bash(pnpm changeset --empty:*)
Bash(pnpm run boundaries)
Bash(pnpm --filter=front-app exec vitest run:*)
Bash(pnpm --filter=worker-api exec vitest run:*)
Bash(pnpm --filter=@repo/correlation-id exec vitest run:*)
Bash(git status:*)
Bash(git diff:*)
Bash(git log:*)
Bash(git show:*)
Bash(oxlint:*)
Bash(oxfmt:*)
Bash(turbo run:*)
Bash(pnpm turbo run:*)
Bash(pnpm -r --if-present run test)
Bash(pnpm install)
Bash(pnpm install --frozen-lockfile)
Bash(pnpm exec playwright-cli *)
WebFetch(domain:code.claude.com)
WebFetch(domain:developers.cloudflare.com)
WebFetch(domain:oxc.rs)
WebFetch(domain:github.com)
WebFetch(domain:*.githubusercontent.com)
WebFetch(domain:vitest.dev)
WebFetch(domain:hono.dev)
WebFetch(domain:cursor.com)
WebFetch(domain:docs.cursor.com)
WebFetch(domain:claude.com)
WebFetch(domain:developer.mozilla.org)
WebFetch(domain:turborepo.dev)
WebFetch(domain:tanstack.com)
WebFetch(domain:react.dev)
WebFetch(domain:zod.dev)
WebFetch(domain:orm.drizzle.team)
WebFetch(domain:tailwindcss.com)
WebFetch(domain:vite.dev)
WebFetch(domain:pnpm.io)
WebFetch(domain:docs.sentry.io)
mcp__cloudflare-docs__*
mcp__context7__*
Similar rigs
iuliandita/agents
Global prompts and subagent roles for coding agents, deployed to every harness you use.
Orchestrator 1.5k tok · · Q3
joshuakatt/Bob-The-Builder
Autonomous task orchestrator for Kiro + Claude specs.
YOLO Cowboy 1.4k tok · · Q0
MValles02/claude-config
Personal Claude Code configuration (agents, hooks, settings)
Fort Knox 1.4k tok · · Q29
dvasyliev/claude-code-tip-calculator
—
Fort Knox 2.1k tok · · Q38