Skip to content
Back to skills

Request Refactor Plan

ASecurity

Use when planning a refactor, requesting a refactoring RFC, or breaking refactors into commits

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
ai-agentstestingrefactoringgit

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add LoopyLuci/Skills --skill request-refactor-plan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Request Refactor Plan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Request Refactor Plan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/loopyluci-request-refactor-plan/badge)](https://www.skillsdirectory.com/skills/loopyluci-request-refactor-plan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: request-refactor-plan
description: Use when planning a refactor, requesting a refactoring RFC, or breaking refactors into commits
tags: [refactoring, planning, commits, GitHub, RFC]
related_skills: [improve-codebase-architecture, to-spec, codebase-design]
---

# Request Refactor Plan

Create a detailed refactor plan with tiny, safe commits via user interview, then file it as a GitHub issue. Follow Martin Fowler's advice: make each refactoring step as small as possible, so you can always see the program working.

## Steps

1. Ask the user for a long, detailed description of the problem and any potential ideas for solutions.
2. Explore the repo to verify their assertions and understand the current state.
3. Ask whether they have considered other options, and present alternatives.
4. Interview the user about the implementation. Be extremely detailed and thorough.
5. Hammer out the exact scope: what to change and what not to change.
6. Check for test coverage in the affected area. If insufficient, ask about testing plans.
7. Break the implementation into a plan of tiny commits.
8. Create a GitHub issue with the refactor plan template.

## Common Pitfalls

- **Skipping codebase verification**: Always verify the user's assertions about the codebase before planning. Misunderstandings compound into wrong plans.
- **Commits that are too large**: Each commit should leave the codebase in a working state. If a commit description spans multiple concerns, it is too big.
- **Insufficient test coverage**: Do not plan refactors in areas without test coverage without asking about testing strategy.

## Verification Checklist

- [ ] User's assertions verified against actual codebase
- [ ] Alternative options discussed with user
- [ ] Test coverage assessed for affected areas
- [ ] Implementation broken into tiny, working commits
- [ ] GitHub issue created with the refactor plan

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.