<< All versions

Skill v1.0.0

currentAutomated scan100/100
patrickbdevaney/optime/optime-impact
──Details
PublishedNovember 20, 2026 at 03:59 PM
Content Hashsha256:61f30b0faa47364f...
Git SHA1b51b13c536c
──Files
Files (1 file, 2.7 KB)
SKILL.md2.7 KBactive
SKILL.md · 58 lines · 2.7 KB

name: optime-impact description: >- Before editing a load-bearing symbol (one with many callers, or a function/class other modules import), call optime-codeintel impact_of to see the blast radius — affected functions, the tests that cover them, and a risk level — so the edit is made with its consequences in view rather than discovered after. Use find_symbol / callers / callees / outline to navigate structurally instead of grepping, and rename_symbol (preview first) for a cross-file rename. version: 1.0.0 author: optime license: MIT metadata: optime: tags: [codeintel, impact, blast-radius, rename, optime] allowed-tools:

  • mcp__optime-codeintel__impact_of
  • mcp__optime-codeintel__callers
  • mcp__optime-codeintel__callees
  • mcp__optime-codeintel__find_symbol
  • mcp__optime-codeintel__outline
  • mcp__optime-codeintel__rename_symbol
  • mcp__optime-codeintel__index_repo

optime-impact — look before you leap on a load-bearing edit

A change to a widely-called function or a class other modules depend on can break code far from the edit site. optime-codeintel derives that blast radius structurally from an AST graph — not from a guess, and not from grep — so you can edit with the consequences in view.

When to use

  • You are about to change a function/class signature, behavior, or remove it.
  • The symbol looks load-bearing: it has many callers, or other modules import it.
  • You are about to do a cross-file rename.

For a one-off local edit to a leaf function nobody else calls, you don't need this.

How to use

  1. `impact_of(symbol)` — returns affected_functions (transitive callers), affected_tests

(the coverage you have), importing_files, and a risk level (low|medium|high|critical; wide reach with no tests = critical). Read this BEFORE editing.

  1. If the risk is high/critical, widen your plan: update the callers the report names, and run the

tests it lists after the edit.

  1. `callers` / `callees` — walk one hop of the call graph to understand how the symbol is used.
  2. `find_symbol(query)` — jump to the definition site instead of grepping.
  3. `outline(path)` — get a file's structure (classes, functions, line ranges) at a glance.
  4. `rename_symbol(old, new, preview=True)` — see every edit site first; then preview=False

to apply atomically (it only writes if every changed file still parses).

If the graph is empty, call `index_repo(repo_path)` once (AST-only — no language server needed).

The principle

The cost of reading the blast radius is one tool call; the cost of discovering it after a broken edit is a debugging session. On a load-bearing symbol, always look first.

All versions