monorepo-change
Skill0 starsChanged 3 months agoMITView on GitHub
Implement a monorepo change spanning packages or affecting a shared API, schema, or contract with owner-first isolation and root integration validation.
In this repository16 other files it gives its agents.
- build/AGENTS.mdAGENTS.md
- build/CLAUDE.mdCLAUDE.md
- build/copilot-instructions.mdCopilot instructions
- api-change-reviewSkill
- debuggingSkill
- feature-developmentSkill
- native-orchestrationSkill
- pr-engineerSkill
- project-tasksSkill
- release-handoffSkill
- task-lifecycleSkill
- val-captureSkill
- val-fixSkill
- val-judgeSkill
- val-reportSkill
- val-verifySkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
ONLY inside dependent packages, never repo-wide.
- Very specific: line 27
Return to the root: Run the workspace/root harness: full build, cross-package typecheck, and integration/e2e tests — per the project's own …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Monorepo change
Work owner-first, isolated per package, integrate at the root. Never fan out edits across packages at once.
- Locate the owning package. Map the change to the package that owns the surface — e.g. an
API change belongs in
services/user-apiorservices/admin-api, not in a web app. Use the atlas:.ai/symbols/INDEX.mddraws the package dependency graph (who consumes whom), and the owner's unit map shows its folder wiring with measured import counts — query these instead of scanning packages. Announce the owner. - Fix the owner in isolation. Change only that package's files. Run that package's own tests/lint/typecheck from its directory. Do not touch sibling packages yet. Leave the tree green there.
- Trace cross-package impact. From the changed surface, find every dependent: the
snapshot's unit map lists each package's internal deps — search usages with
rg -w <name>ONLY inside dependent packages, never repo-wide. Also querycallers/impact, workspacedependencies, and generated clients/types. Produce a list: each affected package + why (e.g.apps/user-web— calls the changed endpoint;packages/sdk— mirrors the type). - Fix each dependent in its OWN package, one at a time. Enter the package, make the smallest complete change, validate with that package's own checks, then move to the next. Keep each package independently green. Report per package as you go.
- Return to the root. Run the workspace/root harness: full build, cross-package typecheck,
and integration/e2e tests — per the project's own harness (
AGENTS.md/CLAUDE.mdat root,turbo/nx/pnpm -r, CI config). Confirm the whole dependency graph is green together. - Report as a graph. Owner → dependents, what changed in each, and the root check result. Flag any contract/migration that needs a version bump or coordinated deploy.
Rules: one package in flight at a time; a package's own AGENTS.md/CLAUDE.md wins for its
conventions; do not "fix" unrelated packages you merely passed through — report them separately.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

