Skip to content
Back to skills

Impact Analysis

ASecurity

Analyse what changed since a base git reference and write the developer action plan with technical impacts, blast radius and the project documents that are now stale. Use for the impact of a branch or diff before merge.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
developmentbashgitapisecurity

Works with

  • api

Security analysis

A100/100

Scanned November 6, 2026

npx -y skills add me-cedric/Shipyard --skill impact-analysis --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Impact Analysis?

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

Security grade badge for Impact Analysis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/me-cedric-impact-analysis-shipyard/badge)](https://www.skillsdirectory.com/skills/me-cedric-impact-analysis-shipyard)

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: impact-analysis
description: Analyse what changed since a base git reference and write the developer action plan with technical impacts, blast radius and the project documents that are now stale. Use for the impact of a branch or diff before merge.
risk_level: low
writes_files: true
requires_tools: [git]
disable-model-invocation: true
---

# impact-analysis

Answer one question: given what changed, what else must change?
This is the developer half of the delivery flow. `delivery-digest` is the Product Owner half. Never mix the two in one file.

## Read the change

```bash
git diff --stat <base>...HEAD
git status --short
git diff <base>
```

Ask the user for `<base>` when it is missing. A guessed base makes every number wrong.
Never claim an impact that you did not confirm in the file. A grep hit is a lead, not a finding.

## Seven axes

Walk all seven. Write `None.` for an empty axis. A silent axis reads as "not checked".

1. Behavior: what a user or caller can now do, or can no longer do. A breaking change gets its own line.
2. Contracts: routes, methods, status codes, payloads, DTOs, shared types, events, queue messages. Each consumer of a changed contract is an impact. See `api-contract-sync`.
3. Data: schema, migrations, backfills, indexes, retention. Say if the migration is reversible.
4. Configuration: env vars, flags, secrets, infrastructure values. An added variable lands on every surface: the validation schema, `.env.example` and the deployment config.
5. Security and privacy: authn and authz, ownership checks on by-id paths, input validation, injection surface, sensitive logging, new dependencies.
6. Operations: build, CI, deployment order, rollback path, and a signal for each new failure mode.
7. Delivery documents: the table below.

## Documents to check

For each document write `up to date`, `stale` with the change to make, or `not affected`.

| Document | Location | Stale when |
|---|---|---|
| Specs | `docs/openspec` | Behavior changed or a requirement is now built |
| Decisions | `docs/decisions` | A choice was made or reversed and no ADR records it |
| API contracts | `docs/api` and the request collection | A route, payload, status code or auth rule moved |
| Data models | `docs/data-models` | A table, column, relation or enum changed |
| Diagrams | `docs/diagrams` | A component or dependency appeared or vanished |
| Network flows | `docs/network/flows.json` | A new port, protocol, source or destination is needed |
| Designs | `docs/designs` | Tokens, components or UI rules changed |
| Assignments | `docs/delivery/assignments.json` | Scope moved between profiles or a gate cleared |
| Module docs | `**/README.md`, `**/DESIGN.md` | A module's public API, files or configuration changed |

## Output

Write `docs/delivery/impacts/<YYYY-MM-DD>-<slug>.md`.

```markdown
---
title: <one line>
date: <YYYY-MM-DD>
base: <base reference>
audience: dev
---

# <title>

## Change set
<n> files, +<added> / -<removed>, <n> commits. One line for each group of files.

## Impacts
### Behavior
### Contracts
### Data
### Configuration
### Security and privacy
### Operations

## Documents to update
| Document | State | Action |

## Action plan
- [ ] <item with a file or a command, and an owner profile when assignments name one>

## Risks

## Validation
<each command with its result: passed, failed, partial or not run, with the reason>
```

## Rules

- Order the action plan by dependency, not by severity.
- An item that nobody can act on is a risk, not a task.
- If the diff is truncated, say so and name what you did not read.
- Do not fix anything. This skill writes the plan. A separate task does the work.
- Do not commit.

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.

View all in development →

Comments

Loading comments…

Newsletter

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