Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

refactoring-safely

БесплатноБез исполняемых скриптовНе проверен

Use when refactoring code - tracks the refactor in task docs and preserves behavior through small verified changes

withzombiesот withzombies★ 81 звезда на GitHub

Об этом скилле

This skill was ported from Claude Code. In Codex: - "Skill tool" means read the skill's `SKILL.md` from disk. - "TodoWrite" means create and maintain a checklist section in your response. - "Task()" means `spawn_agent` (dispatch in parallel when needed). - Claude-specific hooks and slash commands are not available; skip those steps. Refactor in small truth-preserving steps. Keep the refactor tracked in task docs and stop if behavior starts drifting. MEDIUM FREEDOM - Keep the change→test→document loop strict, but adapt the exact refactor pattern to the codebase. 1. Create or resume a refactor task directory 2. Capture invariants and risks in `plan.md` 3. Make one small change at a time 4. Run tests between steps 5. Update `context.md` and `tasks.md` - Behavior should stay the same - The current design is painful to change - You need a deliberate, reversible refactor path ## 1. Track the refactor

Use task docs to capture:

  • invariants that must not change
  • risks
  • target design

2. Refactor in tiny steps

Each step should be small enough to explain and verify on its own.

3. Verify every step

Run the smallest relevant tests after each change.

4. Keep docs current

Update discoveries, remaining risks, and next slices as the refactor unfolds.

Установить refactoring-safely в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlresources/refactoring-patterns.md

FAQ

Что делает скилл refactoring-safely?

Use when refactoring code - tracks the refactor in task docs and preserves behavior through small verified changes

Как установить скилл refactoring-safely?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл refactoring-safely запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить refactoring-safely с