AGENT SKILL

cross-module-impact-scanner

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.

License 许可
MIT
所属仓库
Eliyce/paqad-ai
最近更新
2026-11-13
Stars
★ 8
Forks
0

01 前言 Front Matter

name
cross-module-impact-scanner
metadata
{ "cacheable": "false", "model_tier": "reasoning", "paqad-meta": "skill.meta.yaml", "output_format": "markdown" }
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.

02 资源文件 8

03 SKILL.md 正文

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

04 同仓库更多 Skills

Eliyce
Eliyce/paqad-ai

sample-skill

Sample bundled skill fixture

★ 8
Eliyce
Eliyce/paqad-ai

processing-invoices

Turns a supplier invoice into one ledger line. Use when a supplier invoice arrives and needs booking.

★ 8
Eliyce
Eliyce/paqad-ai

processing-invoices

Turns a supplier invoice into one ledger line. Use when a supplier invoice arrives and needs booking.

★ 8
Eliyce
Eliyce/paqad-ai

understand-idea

Chat and Claude Code: Step 1 of the discover journey: clarifies the goal, who benefits, success and constraints into the idea block. Use when the journey directs it to step 1, not directly.

★ 8
Eliyce
Eliyce/paqad-ai

size-work

Chat and Claude Code: Suggest a size for a ticket from comparable finished work, as a labelled suggestion the team still owns. Use it when someone asks "how big is this?", "roughly how much work is ABC-12?", or wants a backlog item sized. It finds the team's sizing scale at first use, picks two to five of the closest finished tickets with links, and gives a size or range with the drivers behind it and a confidence of low, medium or high, lowered and explained when the area's documents are template text. Every result is labelled a suggested size, never a date or a commitment. It writes nothing into the size field unless the user says "set it", and it refuses to overwrite an existing size unless the user asks to replace it. Produces the sizing block of the record.

★ 8
Eliyce
Eliyce/paqad-ai

refine-ticket

Chat and Claude Code: Improve one or more existing tracker tickets without losing the author's intent. Use it when someone wants a ticket read, diagnosed and tidied up ("this ticket is vague", "fix up ABC-12", "split this, it's too big"). It reads each ticket in full and snapshots it with its last-updated time, says what is wrong with evidence, and proposes a field-by-field before and after change set limited to summary, description, labels, parent, links and new child tickets on a split. It writes nothing until an explicit "apply it" bound to that exact change set, re-checks the ticket for conflicting edits just before writing, never replaces rich descriptions with plain text, never deletes or closes a ticket, and reads each ticket back after applying. Produces the existing and changes blocks of the record.

★ 8