request-refactor-plan

Create a refactoring plan with tiny commits and a GitHub issue.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Amfsa-tech/task-hub-backend --skill request-refactor-plan-amfsa-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: request-refactor-plan
Source: https://github.com/Amfsa-tech/task-hub-backend/tree/main/skills/request-refactor-plan
Command: npx skills add https://github.com/Amfsa-tech/task-hub-backend --skill request-refactor-plan-amfsa-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams plan safe, incremental refactors by translating user needs into a detailed plan of tiny commits and an actionable GitHub issue.

Core Features & Use Cases

  • Interview-driven refactor planning: gathers user goals and constraints to define the scope.
  • Tiny-commit roadmapping: breaks the refactor into the smallest possible, testable steps.
  • RFC and issue generation: outputs a structured GitHub issue with rationale, acceptance criteria, and risk considerations.
  • Risk management and test planning: identifies gaps in tests and suggests coverage to ensure reliability.

Quick Start

Describe the refactor goal and constraints, and I will generate a tiny-commit plan and create a GitHub issue.

Frequently Asked Questions about request-refactor-plan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I plan a safe code refactor with tiny commits?

Plan a safe code refactor by interviewing stakeholders to define scope, assessing test coverage, and breaking the work into tiny, testable commits. This approach mitigates risk and generates a structured GitHub issue to track incremental changes.

What is the best way to write an RFC for a complex software migration?

Writing an RFC for a complex software migration involves gathering user goals, identifying test gaps, and structuring the plan into incremental steps. This ensures risk management and produces an actionable issue with clear acceptance criteria.

How do you break down a large refactor into testable steps?

Breaking down a large refactor involves conducting user interviews to define constraints and mapping the work into the smallest possible testable steps. This creates a structured roadmap that ensures reliability through incremental commits.

Can I generate a GitHub issue automatically for tracking an incremental migration?

You can generate a GitHub issue for tracking an incremental migration by defining the refactor scope and risk considerations. The issue includes rationale, acceptance criteria, and a tiny-commit roadmap to guide the structured work.

Why should I use tiny commits for complex refactoring?

Tiny commits ensure that each step of a complex refactoring is testable and independently verifiable, reducing overall risk. This method allows teams to manage test coverage gaps and maintain reliability during incremental migrations.

What limitations exist when planning an incremental refactor without stakeholder interviews?

Planning an incremental refactor without stakeholder interviews limits the ability to accurately define scope and user constraints. Skipping this step risks missing critical test coverage gaps and producing an incomplete migration plan.