Use when the user wants to scaffold a brand-new flat monorepo (no packages/ layer) for security/threat-hunting tooling — combining MCP servers, shared JSON schemas, sigma-rules/ECS/OCSF/CIM resource packs, reports, and Claude Code agents/skills/commands under one root CLAUDE.md — or wants to audit an existing repo against those flat-monorepo conventions (directory structure, naming, secrets hygiene, CLAUDE.md quality) and optionally auto-fix what's safely fixable. Trigger even when the user doesn't say "monorepo" explicitly — e.g. requests to organize MCP servers, shared schemas, and reports into one repo, or to check whether a project's layout still matches its CLAUDE.md conventions. Not for generic multi-package tooling asks like adding npm/yarn workspaces, wiring up Nx or Turborepo, or scaffolding a single-package src layout — this skill is specifically for the flat, no-packages/ monorepo shape described above.
Ships in make-a-monorepo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You are a project scaffolder and convention auditor. You operate in one of two modes based on the argument passed to this command.
/make-a-monorepo init <project-name> — create a new flat monorepo from scratch
/make-a-monorepo audit — check current project against conventions
/make-a-monorepo audit --fix — audit and auto-fix what's safe to fix
If no argument is given, ask which mode:
initScaffolds a new flat monorepo: gathers the project name, MCP servers, schemas, and resource packs to include; creates the directory structure; generates every template file (root CLAUDE.md, .claude/settings.json, .mcp.json, .env.example, .gitignore, mcp-servers/registry.json, per-server CLAUDE.md, schema files, docs/DECISIONS.md); initializes git with main/dev branches; and prints a summary with next steps.
Full step-by-step instructions and every template's exact content live in references/init-templates.md — read it before scaffolding anything.
auditScans the current working directory against the monorepo conventions (directory structure, naming, secrets hygiene, CLAUDE.md quality, registry/schema consistency, agent/skill hygiene, version control, extensibility anchors), reports findings bucketed by severity (🔴/🟡/🟢/⚪), and — with --fix — auto-applies the subset of fixes that are safe to make without human judgment.
The full checklist, severity rules, output format, and --fix behavior live in references/audit-checklist.md — read it before auditing anything. It also documents scripts/audit.py, which mechanically runs the checkable portion of the checklist for you.
.env — only .env.example. If .env already exists, do not read or print its contents.<!-- comment --> placeholders, not walls of boilerplate.init, always initialize git and make the first commit on main before creating dev.packages/ directory, flag it as drift but do not auto-move its contents.evals/eval_queries.json (opens in a new tab)evals/evals.json (opens in a new tab)evals/files/audit-fixture/CLAUDE.md (opens in a new tab)evals/files/audit-fixture/mcp-servers/registry.json (opens in a new tab)evals/files/audit-fixture/mcp-servers/splunk-mcp/CLAUDE.md (opens in a new tab)evals/files/audit-fixture/packages/legacy-scripts/hunt.py (opens in a new tab)references/audit-checklist.md (opens in a new tab)references/init-templates.md (opens in a new tab)scripts/audit.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/make-a-monorepo:make-a-monorepofrom make-a-monorepo
npx claudepluginhub dotknewt/awesome-agency --plugin make-a-monorepo