Skill v1.0.1
currentAutomated scan96/100+12 new, ~1 modified
name: cross-module-impact-scanner description: "Classifies how a proposed change affects each consuming module's public surface and recommends coordinated changes. Use when a graduated or full lane change touches a public API, event, shared table, shared config value or re-exported utility." metadata: version: "1.0.1" model_tier: reasoning cacheable: 'false' output_format: markdown paqad-meta: skill.meta.yaml
What It Does
Reads a proposed implementation outline before any code is written and predicts which other modules will be affected. For every public surface the change touches (API contract, event, schema, configuration, shared utility) classifies the impact on every consuming module and recommends the coordinated changes those consumers will need.
The point is to surface contract breakage in design phase, not after a deploy fails.
Use This When
In the graduated and full lanes whenever the proposed change touches at least one item that crosses module boundaries: a public API, a published or consumed event, a shared database table, a shared configuration value, or a re-exported utility. Skip when the change is purely internal to one module and the integration docs confirm no consumers exist.
Inputs
- Read the proposed solution at
proposed_solution_pathfirst. - Read the module map at
module_map_pathto learn the canonical module slugs. - Read integration docs and API docs for each module the change references; these are the source of truth for consumer relationships.
- Read
references/impact-classification.mdbefore classifying any impact so the severity rubric stays consistent.
Procedure
- Run
scripts/list-modules.shto load canonical module slugs from the module map. - Run
scripts/find-integration-docs.shto enumerate per-module events/contracts/integration docs. - Enumerate every public surface the proposed solution changes (API, event, schema, config, shared utility).
- For each (surface, consumer) pair, classify severity using
assets/severity-rubric.txt(breaking | silent-shift | additive | internal-only). Default tobreakingwhen in doubt; downgrade tosilent-shiftwhen anadditiveclaim has no doc update. - For
breaking/silent-shiftimpacts with no deprecation window, add a Decision Packet entry (category fromassets/severity-rubric.txtexamples). - Format per
assets/output.template.md; validate withscripts/lint-output.sh.
Output Contract
- Match
assets/output.template.md:## Cross-Module Impact+### Impact Maptable (canonical 5-column header) +### Decision Packets Required(when any breaking/silent-shift) +### Open Questions. - Severity values must come from
assets/severity-rubric.txt. - Internal-only short circuit: emit
Cross-Module Impact: internal-only, no consumers affected.exactly, on its own line. - Output must pass
scripts/lint-output.sh(exit 0).
Escalate / Stop Conditions
- Ask when integration docs and API docs disagree on consumer relationships: resolve via the module map before classifying.
- Warn when the proposed solution implies a surface change but the canonical integration doc is missing or out of date.
- Recommend a Decision Packet whenever a
breakingimpact has no feasible deprecation window. - Do not classify a change as
additivewhen documentation has not been updated to declare the new behavior, downgrade tosilent-shift.
Resources
references/impact-classification.mdscripts/list-modules.shscripts/find-integration-docs.shscripts/lint-output.shassets/output.template.mdassets/severity-rubric.txtagents/openai.yaml