Skip to content

Coding Agent Skills

Refactor Planner Claude Skill Template

Ask Claude to design a safe refactor plan before changing shared modules or tangled code paths.

refactorarchitecturetechnical debtplanning

coding

Refactor Planner

Ask Claude to design a safe refactor plan before changing shared modules or tangled code paths.

  • · Defines a low-risk sequence
  • · Preserves public behavior
  • · Highlights rollback points
View SKILL.md
---
name: refactor-planner
description: Ask Claude to design a safe refactor plan before changing shared modules or tangled code paths.
---

# Refactor Planner

## When To Use
Use before large rewrites, dependency cleanup, file moves, or abstraction changes.

## What Claude Should Optimize For
- Defines a low-risk sequence
- Preserves public behavior
- Highlights rollback points

## Workflow
1. Map current responsibilities.
2. Find hidden callers and contracts.
3. Split the work into reviewable steps.
4. Name validation checks for each step.

## Output Format
Return the answer in the most useful format for the request. Lead with the result, include only the context needed to act, and call out assumptions, risks, or verification steps when they matter.

## Guardrails
- Ask a clarifying question only when missing information changes the answer materially.
- Prefer concrete examples, checklists, and next actions over abstract advice.
- Keep the response concise unless the user asks for depth.
- Do not invent facts, sources, metrics, or code behavior.

## Tags
- refactor
- architecture
- technical debt
- planning
refactorarchitecturetechnical debtplanning

How to use this Claude skill template

  1. 1. Copy the SKILL.md template above.
  2. 2. Paste it into your Claude skill file, project instruction, or reusable prompt workspace.
  3. 3. Customize the workflow, guardrails, and output format for your project.
  4. 4. Ask Claude to use the skill whenever the trigger matches your task.

次のプロンプトをワンクリックで直す

無料の Chrome AIプロンプト強化拡張機能をインストールして、すぐに差を実感してください。

1日5件の無料プロンプト。クレジットカード不要。11のAIツールで動作。

無料インストール — 次のプロンプトを直す