Skip to content

Cross-Repo Development

mra is designed around one core insight: modern software lives across many repos, but Claude sees only one directory at a time.

The problem

Change an API in my-api — three frontends silently break. You open three Claude sessions, re-explain context each time, and hope the reviewer catches regressions.

The mra model

bash
mra my-api --with-deps

This command:

  1. Loads my-api and every consumer declared in dep-graph.json
  2. Passes a shared context window so Claude sees all related repos
  3. Dispatches sub-agents per repo, coordinating changes in dependency order
  4. Runs code review after each commit

Dependency detection

Five built-in scanners infer the graph automatically:

ScannerDetectsConfidence
docker-composeService relationshipsHigh
shared-dbProjects sharing databasesHigh
gateway-routesAPI gateway routingMedium
shared-packagesInternal npm/gem packagesHigh
api-callsEnv var API host referencesLow

Manual overrides go in .collab/manual-deps.json.

See also

Released under the MIT License.