Skip to content

Getting started

  • An AI coding agent that supports Agent Skills — Claude Code, GitHub Copilot CLI, Cursor, Codex and others.
  • Node ≥ 22.5 on the machine running the agent. The skill’s scripts use only Node built-ins.
  • A POSIX shell (macOS, Linux or WSL).

Install both skills with the skills CLI:

Terminal window
npx skills add santoshyadavdev/monorepo-doctor

Install only one of them:

Terminal window
npx skills add santoshyadavdev/monorepo-doctor --skill monorepo-doctor
npx skills add santoshyadavdev/monorepo-doctor --skill monorepo-boundaries-cleanup

Copy skills/monorepo-doctor or skills/monorepo-boundaries-cleanup from the repository into one of:

Location Scope
~/.claude/skills/ Claude Code, all projects
~/.copilot/skills/ Copilot CLI, all projects
.github/skills/ in a repository that repository only

From the root of the monorepo, ask your agent:

Run monorepo-doctor on this repo.

Scope it to the checks you care about:

Audit only caching and CI coverage with monorepo-doctor.

Write the reports somewhere specific (by default they go to <os tmpdir>/monorepo-doctor-reports, outside your repo):

Run monorepo-doctor and write the reports to ./reports.

The agent finishes with a summary and the paths to monorepo-doctor-report.md and monorepo-doctor-report.json.

When the report shows boundary violations, hand them to the cleanup skill one batch at a time:

Use monorepo-boundaries-cleanup to fix the next batch of turbo boundaries violations.

See From audit to cleanup for the full loop.