agentleFS
ampakingampaking/coder-ai-os/skills/monorepo-change/SKILL.md

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.

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
  1. Very specific:

    ONLY inside dependent packages, never repo-wide.

    line 20
  2. Very specific:

    Return to the root: Run the workspace/root harness: full build, cross-package typecheck, and integration/e2e tests — per the project's own …

    line 27

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Monorepo change

Work owner-first, isolated per package, integrate at the root. Never fan out edits across packages at once.

  1. Locate the owning package. Map the change to the package that owns the surface — e.g. an API change belongs in services/user-api or services/admin-api, not in a web app. Use the atlas: .ai/symbols/INDEX.md draws 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.
  2. 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.
  3. 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 query callers/impact, workspace dependencies, 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).
  4. 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.
  5. 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.md at root, turbo/nx/pnpm -r, CI config). Confirm the whole dependency graph is green together.
  6. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.