# Change Impact Analysis

> Analyze an existing YAML engineering ticket against its codebase and return an evidence-backed impact mapping. Use before planning or coding to identify affected code, interfaces, data, tests, risks, and open decisions. Do not create tickets, plans, or production changes.

- Skill: `lnscc/change-impact-analysis` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add lnscc/change-impact-analysis`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lnscc/change-impact-analysis/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Lnscc (https://skillmd.com/u/lnscc)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/lnscc/change-impact-analysis

---


# Change Impact Analysis

Map the ticket to the smallest evidence-backed set of affected areas.

## Analysis

1. Require an existing ticket; do not replace it with a prompt, diff, or plan.
2. Read repository guidance, the ticket, and only relevant architecture context.
3. Locate concrete entry points, then trace relevant callers, callees, shared
   types, persisted data, configuration, generated code, and tests.
4. Classify each impact as:
   - **direct**: required for the requested behavior;
   - **indirect**: connected to a direct impact;
   - **conditional**: depends on an explicit design choice.
5. Cite paths and symbols. Mark findings **confirmed**, **inferred**, or
   **unknown**, and explain non-obvious dependency paths.
6. Include compatibility, migrations, authorization, validation, caching,
   asynchronous work, observability, deployment, or generated artifacts only
   when relevant.
7. Record assumptions, ticket conflicts, risks, and unresolved decisions. Do not
   invent product behavior or prescribe unnecessary abstractions.

## Output

Use the repository schema when available. Otherwise return:

```yaml
impact:
  summary: Expected blast radius and main risk
  assumptions: []
  ticketIssues: []
  files:
    - path: src/example.ts
      scope: direct
      confidence: confirmed
      reason: Why it is affected
      expectedChange: What changes
  modules: []
  interfaces: []
  data: []
  dependencies: []
  verification: []
  operations: []
  risks: []
  decisions: []
  unknowns: []
```

Use the same `scope`, `confidence`, `reason`, and `expectedChange` fields
for other affected elements. Keep the mapping proportional and avoid unsupported
file inventories.

Return the mapping without writing for read-only requests. When asked to update
the ticket, replace only its top-level `impact` mapping, preserve all other
fields, and validate the YAML. Never create a separate impact file or modify
production code.

