refactor
80 / 100 · Low risk
Fine to try.
Execute high-risk refactors of large or intertwined components: investigation, phased planning, and atomic-commit execution with subagent fan-out and worktree isolation. Use for /refactor-investigate, /refactor-plan, /refactor-execute, or a request to split a complex hook, decompose a singleton, or extract from a monolith.
What this skill can do
Connects to the internet
Downloads and installs other software
Other copies in this repository
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'refactor' ] || [ -L ~/.agents/skills/'refactor' ]; then echo 'A skill folder named refactor already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/grafana/grafana-pathfinder-app' "$d" && git -C "$d" checkout --quiet '4d7cdd7f00139a995922a738ffe980c343c52f0b' -- '.cursor/skills/refactor' && mkdir -p ~/.agents/skills && cp -R "$d"/'.cursor/skills/refactor' ~/.agents/skills/'refactor' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'refactor' ~/.claude/skills/'refactor' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/grafana/grafana-pathfinder-app/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-12 | 4d7cdd7 | 80 |
| 2026-11-08 | 84b3c0e | 80 |