Skip to content
Back to skills

Code Impact

ASecurity

What breaks if a file or symbol changes: its consumers, their tests, and their churn

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 17, 2026
ai-agentsgobashgitapi

Works with

  • api

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add ku5ic/claude-kit --skill code-impact --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Impact?

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

Security grade badge for Code Impact
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ku5ic-code-impact/badge)](https://www.skillsdirectory.com/skills/ku5ic-code-impact)

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: code-impact
description: What breaks if a file or symbol changes: its consumers, their tests, and their churn
argument-hint: "<file path> [symbol]"
allowed-tools:
  - Bash(gh pr diff *)
  - Bash(gh pr view *)
  - Bash(glab mr diff *)
  - Bash(glab mr view *)
  - Bash(git log *)
  - Bash(kit blast-radius *)
  - Bash(kit git-base *)
  - Bash(kit scratch-dir *)
---

# /code-impact

What breaks if a file or symbol changes: its consumers, the tests covering each, and how often each moves. With no argument, ask for the file before anything else.

Loading this skill isn't enough. Before the step a row names, read its file.

| Before             | Read                                       |
| ------------------ | ------------------------------------------ |
| Writing the report | [reference/report.md](reference/report.md) |

## Consumers

1. Resolve the argument to a tracked file. A loose name gets searched with `fd`, and the substitution goes in the report header. Several matches: ask which, listing them. None: say so and stop.
2. Consumers: `kit blast-radius <file> [symbol]`. Each row is a consumer with its line, `source` or `test`, and how it matched. Past 50 rows it prints "... N more": count from its header line and say so. Exit 2 (no scanner for the language, or no `ast-grep`): say so in the report and find consumers with `rg -w` on the target's module name and exported names.
3. `rg` for the target's file name and exported names outside `kit blast-radius`'s hits, and list what turns up under Caveats.

4. A consumer that is itself a shared module (more than 5 consumers of its own) gets one more hop, listed under it. Never more than one.

## Tests and churn

For each source consumer:

- **Tests**: the test files that reach it, by `kit blast-radius <consumer>`. None is a finding.
- **Churn**: `git log --since=6.months --format=%h -- <consumer> | wc -l`.
- For the target itself: `git log --since=6.months --format='%h %ad %s' --date=short -- <target> | head -15`, read for why it keeps changing.

Then read the target's exported surface and each consumer's call site for what the consumer relies on beyond the signature.

## Report

Write to the path `kit scratch-dir impact <target-slug>` prints, raw files in a sibling folder named after it without `.md`. The shape is [reference/report.md](reference/report.md).

## Reply

The report path, the consumer count, and the first consumer to check.

## Out of scope

- Changing the code, or proposing a refactor.
- Runtime consumers outside the repo (other services, published package users), named in Caveats only when the target is a public API.

Arguments: `$ARGUMENTS`

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 ai-agents →

Comments

Loading comments…

Newsletter

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