unstablebuild/rune/code-refactoring
- community
Checking that the SKILL.md file is still in the repository.
Rename symbols across the workspace, discover available code actions and quick fixes, and format files or ranges using the language server. Use instead of find-and-replace when renaming a function, variable, or type. Activated by runectl lsp rename, code-actions, or formatting.
Install
npx vskill@latest install unstablebuild/rune/code-refactoringSKILL.md
Code Refactoring
Language-aware refactoring via runectl lsp.
runectl lsp prepare-rename
Prepare for rename operation — check if rename is valid.
Example — check if bashTool can be renamed:
Returns the symbol's range and current name. Always call this before rename to confirm the symbol is renameable.
runectl lsp rename
Rename a symbol across the workspace, updating all references.
Example — preview renaming bashTool to bashExecutor:
The dry run shows 5 edits would be made in bash.go. Without --dry-run, the rename is applied immediately. Always use --dry-run first to preview the scope of changes.
runectl lsp code-actions
List code actions at a position — refactorings and quick fixes.
Example — discover actions at line 114 of bash.go:
Each action shows [kind] "title". Use code-actions edits to get the actual edits an action would apply.
runectl lsp formatting
Format an entire document.
Use instead of go fmt. Supports --dry-run to preview changes before applying.
runectl lsp range-formatting
Format a specific range within a document.
Use to format just a section of code. Same flags as formatting.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcmd/rune-agent/skills/code-refactoring/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/unstablebuild/rune/code-refactoring)