tapps-refactor
>-
Install
mkdir -p .claude/skills/tapps-refactor && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14593" && unzip -o skill.zip -d .claude/skills/tapps-refactor && rm skill.zipInstalls to .claude/skills/tapps-refactor
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Function-level refactor workflow using call graph tools (Epic 114). Use before changing a symbol's signature, deleting a function, or refactoring callers — maps blast radius via tapps_call_graph and diff_impact.About this skill
Symbol-level refactor workflow (Epic 114 / ADR-0017):
-
Session bootstrap. Call
mcp__nlt-build__tapps_session_start()— readdata.call_graph(ready,stale,degraded). Stale is informational; graph tools auto-rebuild on first use. -
Before editing a function.
mcp__nlt-build__tapps_call_graph(symbol='...', query='callers')— who calls this symbol? Usequery='callees'for downstream dependencies orquery='chain'for bounded chains. -
Optional module context.
mcp__nlt-build__tapps_impact_analysis(file_path='...', symbol='...', granularity='both')for import + symbol blast radius. -
Edit loop. After each Python file change,
mcp__nlt-build__tapps_quick_check(file_path='...'). -
After edits.
mcp__nlt-build__tapps_diff_impact(file_paths='...')or finish with/tapps-finish-task(include_impactdefault true refreshes cache). -
Close out.
/tapps-finish-taskwithtask_type=refactor— checklist recommendstapps_call_graphandtapps_diff_impact.
See docs/CALL_GRAPH.md for gap_rate / degraded semantics.