refactoring-planner
Use when the user wants a step-by-step refactoring plan that improves internal quality without changing external behavior. Triggers include "refactor this"…
от codejunkie99★ 16 звёзд на GitHub
Установить refactoring-planner в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Refactoring Planner
When the user supplies code, produce a behavior-preserving refactor plan with before/after snippets.
Variables
[PASTE CODE]
Prompt Template
This code needs refactoring:
[PASTE CODE]
Analyze:
- What are the top 3 code quality issues? (duplicated logic, mixed responsibilities, unnecessary complexity)
- For each issue: explain WHY it is a problem, not just that it exists
- Propose a refactoring plan with specific steps in order
- For each step: show the before and after code
- Verify that the refactored code maintains identical external behavior
- Estimate the impact: how much does this improve maintainability, readability, and testability?
Do NOT change external behavior. Internal improvement only.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл refactoring-planner?
Use when the user wants a step-by-step refactoring plan that improves internal quality without changing external behavior. Triggers include "refactor this", "clean this up", "improve this code".
Как установить скилл refactoring-planner?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл refactoring-planner запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…