/configure-plugin:multi-repo-disciplinefrom configure-plugin
Defines workspace roles and commit boundaries when multiple git repos share a parent directory. Use when dispatching agents across sibling repos or editing another repo's .claude/.
Ships in configure-plugin. 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.
None: SKILL.md is the whole skill.
Roles and commit boundaries when multiple repositories share a parent workspace. Pairs with configure-plugin:config-sync — that skill propagates mechanical config; this one defines the discipline layer that says who owns what and when a cross-repo commit needs user confirmation.
| Use this skill when… | Skip when… |
|---|---|
| The cwd is inside a parent directory that contains other git repos | Working in a single isolated repo |
A sibling CLAUDE.md names the current repo | No cross-repo relationship exists |
| Dispatching agents whose scope could span sibling repos | Single-repo agent fan-out |
| Updating a shared spec that other repos consume | Internal change with no downstream |
About to edit a sibling's CLAUDE.md or .claude/ config | Edits confined to current repo |
Run before applying any discipline:
# Parent directory contains other git repos?
find "$(git rev-parse --show-toplevel)/.." -maxdepth 2 -name .git -type d
# Any sibling CLAUDE.md names this repo by directory name?
grep -l "$(basename "$(git rev-parse --show-toplevel)")" ../*/CLAUDE.md 2>/dev/null
If neither detector produces output, exit silently — the rule does not apply to single-repo work. Do not load discipline that does not apply.
Classify every repository in the workspace into one of three roles.
Inputs the current project depends on but must never mutate:
Discipline: treat as immutable. Never commit to a fixture. If an agent proposes an edit, the edit is a misdirection — redirect to the working repo.
Two repositories in the same domain where one derives from the other. Examples:
| Upstream | Downstream |
|---|---|
| Workbench / toolkit | Shipped native port |
| Schema-owning repo | Generated client library |
| Design tokens | Component library |
| Contract repo | Consumer service |
Discipline: the downstream may lag the upstream by design. Changes in the upstream do not automatically propagate — the orchestrator surfaces the required downstream diff and the human decides when to land it.
Single source of truth for shared specs, schemas, or interface contracts. Sibling repos that carry copies of the same material are explicitly downstream.
Discipline: updates to the authoritative surface are deliberate. The authoritative repo's commit lands first; downstream updates follow in their own PRs against the sibling repos.
Follow the repo's own conventions. No cross-repo confirmation needed.
Cross-repo edits during a dispatched agent's run are acceptable when the scope explicitly names the sibling path. Cross-repo commits in sibling repos require user confirmation before they land.
The pattern:
Orchestrator action needed field (see agent-patterns-plugin:parallel-agent-dispatch
§Verbatim patches).Automatic downstream commits are the failure mode this rule prevents — they drift schemas silently and the next reviewer cannot tell which commit shipped the decision vs which shipped the propagation.
CLAUDE.md / .claude/ / docs/Never modify a sibling repo's CLAUDE.md, .claude/ config, or docs/
as a side-effect of unrelated work. These are the sibling repo's
authoritative surfaces; touching them mid-unrelated-task is a side-effect
bug.
When a sibling's Claude configuration genuinely needs an update,
dispatch a targeted agent whose scope names the sibling's config
explicitly. configure-plugin:config-sync handles the mechanical
propagation; this rule sets the boundary.
When the current repo is authoritative and a change affects downstream consumers:
Checklists embedded in the authoritative PR description often get lost when the PR merges. Prefer follow-up issues per downstream repo, linked from the authoritative PR description.
| Scenario | Action |
|---|---|
| Edit in current repo | Normal commit |
| Agent edit in sibling worktree | OK; commit only with user confirmation |
Sibling's CLAUDE.md changed as side-effect | Revert; redirect scope |
| Spec change in authoritative repo | Land here; file follow-up in downstream |
| Fixture repo edit proposed | Refuse; redirect |
configure-plugin:config-sync — mechanical propagation that this rule gatesagent-patterns-plugin:parallel-agent-dispatch — Return Contract's "Orchestrator action needed" field carries cross-repo diffsgit-plugin:git-coworker-check — concurrent-writer detection in shared checkouts.claude/rules/docs-currency.md — same-commit discipline (applies to each repo individually)Evidence: multi-repo sessions where downstream propagation was auto-committed produced a week-long schema drift that took two follow-up PRs to reconcile. Surfacing the diff and letting the human decide when to land it avoided the drift entirely on the next cycle.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub laurigates/claude-plugins --plugin configure-plugin49 skills in this plugin
/ci-workflowsReference YAML for the canonical container-build, test, release-please and auto-fix workflow files. Use when another skill or a review needs the standard shape to cite or diff against./claude-security-settingsClaude Code security settings: permission wildcards, shell operator protections, project-level allowlists. Use when auditing or hardening .claude/settings.json permissions./config-syncConfig sync across FVH repos: extract, diff, propagate tooling improvements. Use when syncing workflows or configs across multiple repos./configure-allRun all infrastructure standards checks and fixes. Use when onboarding a new project, doing a full compliance audit, or batch-fixing with --fix./configure-api-testsAPI contract testing: Pact, OpenAPI validation, JSON Schema/Zod. Use when adding consumer/provider contract tests or detecting breaking API changes in CI./configure-argocd-automergeargocd-automerge.yml: auto-create and merge PRs from ArgoCD Image Updater's image-updater-** branches. Use when setting up that workflow or checking its PAT permissions.Other plugins' skills for the same job