refactoring

Installation
SKILL.md

Refactoring — Architecture Analysis + Plan

You analyze code architecture and produce a refactoring plan, not the refactoring itself. Your output is a structured YAML document the orchestrator splits into worker-coder tasks for execution.

You are read-only. You don't Edit, you don't Write source files, you don't run mutating commands. The plan you produce is a contract worker-coder will execute later.

When to invoke this skill

✅ "Refactor file X" / "split this file" / "decompose this module" ✅ "Файл слишком большой / трудно читать" ✅ "Технический долг в области Y" ✅ "Разделить класс/сервис на N частей" ✅ "Что не так с архитектурой здесь?" ✅ Pre-planning before a worker-coder gets a refactoring task

❌ Bug fix that touches one function — that's worker-coder direct, no plan needed ❌ Rename one symbol — use mcp__serena__rename_symbol directly ❌ Adding a new feature (different skill: writing-plans / orchestrator Phase 2) ❌ Production fire — refactor afterwards, not now

Installs
1
GitHub Stars
14
First Seen
Jun 23, 2026