Skip to content
Back to skills

Cross Module Impact Scanner

ASecurity

Pre-implementation scan that classifies how a proposed change affects each consuming module's public surface and recommends coordinated changes.

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentsgoapidatabasedocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add Eliyce/paqad-ai --skill cross-module-impact-scanner --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cross Module Impact Scanner?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cross Module Impact Scanner
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/eliyce-cross-module-impact-scanner/badge)](https://www.skillsdirectory.com/skills/eliyce-cross-module-impact-scanner)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cross-module-impact-scanner
description: Pre-implementation scan that classifies how a proposed change affects each consuming module's public surface and recommends coordinated changes.
model_tier: reasoning
triggers:
  - workflow:
      - feature-development
    process_depth:
      - graduated lane
      - full lane
  - api_impact:
      - additive-endpoint
      - modified-endpoint
      - breaking-change
  - scope:
      - multi-module
      - system-wide
cacheable: false
cache_key_inputs: []
output_format: markdown
input_schema:
  proposed_solution_path:
    type: path
    required: true
    description: Implementation outline or solution proposal that lists the modules and surfaces being changed.
  module_map_path:
    type: path
    required: true
    description: docs/instructions/rules/module-map.yml so the scanner knows the canonical module list.
  integration_doc_paths:
    type: path[]
    required: false
    description: Per-module integration docs (events.md, contracts.md) that describe consumer relationships.
  api_doc_paths:
    type: path[]
    required: false
    description: Per-module API docs (endpoints.md, schemas.md, error-codes.md) that describe public endpoints.
---

## 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

Use this 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_path` first.
- Read the module map at `module_map_path` to 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.md` before classifying any impact so the severity rubric stays consistent.

## Procedure

1. Run `scripts/list-modules.sh` to load canonical module slugs from the module map.
2. Run `scripts/find-integration-docs.sh` to enumerate per-module events/contracts/integration docs.
3. Enumerate every public surface the proposed solution changes (API, event, schema, config, shared utility).
4. For each (surface, consumer) pair, classify severity using `assets/severity-rubric.txt` (`breaking | silent-shift | additive | internal-only`). Default to `breaking` when in doubt; downgrade to `silent-shift` when an `additive` claim has no doc update.
5. For `breaking` / `silent-shift` impacts with no deprecation window, add a Decision Packet entry (category from `assets/severity-rubric.txt` examples).
6. Format per `assets/output.template.md`; validate with `scripts/lint-output.sh`.

## Output Contract

- Match `assets/output.template.md`: `## Cross-Module Impact` + `### Impact Map` table (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 `breaking` impact has no feasible deprecation window.
- Do not classify a change as `additive` when documentation has not been updated to declare the new behavior — downgrade to `silent-shift`.

## Resources

- `references/impact-classification.md`
- `scripts/list-modules.sh`
- `scripts/find-integration-docs.sh`
- `scripts/lint-output.sh`
- `assets/output.template.md`
- `assets/severity-rubric.txt`
- `agents/openai.yaml`

Files in this skill

  • SKILL.md4.4 KB
  • agents/openai.yaml198 B
  • assets/output.template.md953 B
  • assets/severity-rubric.txt369 B
  • references/impact-classification.md2.1 KB
  • scripts/find-integration-docs.sh668 B
  • scripts/lint-output.sh1.6 KB
  • scripts/list-modules.sh705 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.