request-refactor-plan

Guide GitHub repository refactor planning through structured interviews and issue filing.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of creating comprehensive refactor plans by guiding users through an organized workflow.

Core Features & Use Cases

  • User Interview Guidance: Walks through a structured interview process to understand the refactor requirements.
  • Codebase Verification: Assists in reviewing the codebase to ensure assertions are valid.
  • Options Exploration: Offers other refactor options for the user to consider.
  • Implementation Scope: Helps define the exact scope of the refactor.
  • Test Coverage Analysis: Assesses current test coverage and gathers user's testing plans.
  • Incremental Plan Creation: Splits the refactor into a series of tiny commits.
  • GitHub Issue Creation: Files the refactor plan as a GitHub issue with a standardized template.

Quick Start

To create a refactor plan, initiate the request-refactor-plan skill.

Frequently Asked Questions about request-refactor-plan

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

FAQPage Schema
How do I create a refactor plan for my codebase?

Creating a refactor plan involves conducting a structured interview to gather requirements, checking codebase coverage, proposing options, and filing the plan as a GitHub issue. This structured approach ensures all refactor requirements are documented and tracked properly.

What is the best way to document a code refactoring strategy?

The best way to document a code refactoring strategy is using markdown to record the implementation scope, test coverage analysis, and incremental commit steps. Filing this documentation as a standardized GitHub issue ensures the strategy is accessible and trackable for your team.

How do you assess test coverage before starting a refactor?

You assess test coverage before a refactor by reviewing the codebase to validate assertions and gathering your testing plans. This coverage analysis confirms the existing tests are sufficient to safely support the proposed code quality improvements.

Can I file a refactoring plan directly as a GitHub issue?

Yes, you can file a refactoring plan directly as a GitHub issue. The process generates a standardized template using markdown that documents the implementation scope and incremental commits, directly populating the issue tracking system for project visibility.

Do I need an existing testing plan before defining a refactor scope?

You need an existing testing plan when defining a refactor scope to ensure codebase changes are safe. The planning process assesses current test coverage and gathers your testing plans to validate that assertions are correct before splitting the refactor into commits.

Why split a refactoring task into tiny incremental commits?

Splitting a refactoring task into tiny incremental commits ensures the implementation scope remains manageable and reduces risk. This approach allows for safer code quality improvements by making each step verifiable against the test coverage analysis defined in the plan.