Find impact

From Llloooggg/LetsFLUTssh · View interactive version

Find impact is an AI agent skill from the GitHub repository Llloooggg/LetsFLUTssh. Map the blast radius of changing a Dart file — find importers (call sites) and the paired test file. Use when user says "what uses X", "who imports X", "impact of X", "find callers of X", or invokes /find-impact with a path.

How to use this skill

Skill file

find-impact — impact analysis for a Dart source file

Given a path like lib/core/ssh/known_hosts.dart, report:

  1. Paired test file — mirror path under test/. In this repo the rule is one test per source file (see AGENTS.md "Testing Methodology").
  2. Direct importers — files that import the target. Uses both package-relative and relative-path forms.
  3. Symbol references — top-level class/function names defined in the target, grepped across lib/ and test/.

Arguments

Steps

  1. Normalize path. Accept lib/core/ssh/known_hosts.dart or /home/.../lib/core/ssh/known_hosts.dart. Strip the repo prefix; work with the lib/... form.
  1. Find paired test.
  1. Find direct importers.
  1. Find top-level symbol references.
  1. Report format. Emit a single compact report:

```

Target: lib/core/ssh/known_hosts.dart

Paired test: test/core/ssh/known_hosts_test.dart (exists | MISSING)

Direct importers (N):

...

Symbols referenced externally:

KnownHostsManager (12 sites)

...

```

Constraints

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.