Affected
Invoke as $affected.
Use this skill when the user wants to understand the blast radius of their current changes in a monorepo.
Process
- Determine the change set from git diff or a specified commit range.
- Read the monorepo config to understand the package graph.
- Map changed files to their packages.
- Compute transitive dependents.
- Check for cross-cutting changes (root configs, shared packages).
- Recommend test commands for affected packages.
Output
- Directly Changed: packages with file changes
- Transitively Affected: downstream dependents
- Cross-Cutting: root config changes affecting all packages
- Recommended Test Commands: specific commands to run
Constraints
- Do not run tests — only analyze and recommend.
- Prefer Turbo-native filtering for Turborepo projects.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.