From claude-config
Use when the user says /cross-project, "what repos does this affect", "cross-repo impact", "cross-project dependency analysis", or "who else uses this API". Also triggers when evaluating whether a change in one repo breaks consumers in other local repos.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-config:cross-projectThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyzes how a change in the current project might affect other local repositories.
Analyzes how a change in the current project might affect other local repositories.
<description> — What changed or is about to change (e.g., "removing the auth middleware", "renaming UserAccount to Account")--scan-paths <comma-separated-paths> — Optional. Override the default scan locations with one or more directories to search across (e.g., --scan-paths ~/work,~/oss)If no description provided:
git diff HEAD for recent changesExtract searchable identifiers from the change:
Determine the scan paths:
--scan-paths was provided, use those directories (comma-separated) as the exclusive scan roots.$HOME sweeps in Library/, Downloads/, etc., which is rarely intended).~/repos/ if it exists and is not already covered by the default (i.e., not the same directory as, or an ancestor of, the default).--scan-paths rather than guessing.Search the resolved scan roots for references to the identified items.
Use grep/glob across repos, but SKIP:
node_modules/, .git/, dist/, build/, __pycache__/Present findings using this structure:
## Impact Analysis: <change description>
### Direct References Found
| Repo | File | Line | Usage |
|------|------|------|-------|
### Potential Indirect Impacts
<!-- Things that don't directly reference the change but may be affected -->
<!-- e.g., downstream consumers of an API, shared config patterns -->
### Risk Assessment
- **Blast radius**: How many repos/teams affected
- **Severity**: Breaking change? Behavioral change? Cosmetic?
- **Reversibility**: Can this be rolled back easily?
### Recommended Actions
<!-- Ordered list of what to do in each affected repo -->
Apply the planning rule's systems thinking framework:
--scan-paths if the default parent-dir scan seems too narrow for their layout.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub chriscantu/claude-config --plugin claude-config