Skill v1.0.0
currentAutomated scan100/100name: 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
- `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.
- If the risk is high/critical, widen your plan: update the callers the report names, and run the
tests it lists after the edit.
- `callers` / `callees` — walk one hop of the call graph to understand how the symbol is used.
- `find_symbol(query)` — jump to the definition site instead of grepping.
- `outline(path)` — get a file's structure (classes, functions, line ranges) at a glance.
- `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.