Skip to main content

request-refactor-plan

Creates a structured refactoring proposal as a GitHub Issue. Use when you identify code that needs refactoring and want to document the proposal with motivation, scope, and acceptance criteria.

Informações da origem

Repositório
wryenmeek/knowledgebase
Última atividade na origem
25 de abril de 2026 às 16:37
Idioma detectado do SKILL.md
inglês
Estrelas
1
Forks
0

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
request-refactor-plan
description
Creates a structured refactoring proposal as a GitHub Issue. Use when you identify code that needs refactoring and want to document the proposal with motivation, scope, and acceptance criteria.
# Request Refactor Plan ## Overview Produce a structured refactoring proposal and file it as a GitHub Issue with consistent formatting, risk assessment, and acceptance criteria. ## When to Use - Code smells or complexity identified during review - Technical debt that needs a dedicated cleanup effort - Architecture changes that require planning before execution Doc-only workflow. ## Procedure 1. **Identify the refactoring target**: specific files, modules, or patterns. 2. **Assess motivation**: why does this need refactoring? What problem does it solve? 3. **Define scope**: which files are affected? What changes are in/out of scope? 4. **Propose approach**: describe the refactoring strategy. 5. **Assess risk**: what could break? What tests cover the affected code? 6. **Write acceptance criteria**: how do you know the refactoring succeeded? 7. **File GitHub Issue** with this template: ``` ### Motivation [Why this refactoring is needed] ### Scope - Files: [list affected files] - In scope: [what changes] - Out of scope: [what doesn't change] ### Proposed Approach [Description of the refactoring strategy] ### Risk Assessment [What could break, mitigation plan] ### Acceptance Criteria - [ ] [Criterion 1] - [ ] [Criterion 2] - [ ] All existing tests pass ``` Labels: `refactor`, `enhancement` ## Verification 1. Issue created with all template sections filled. 2. Acceptance criteria are testable and specific. 3. Risk assessment identifies affected test coverage.
Ver no GitHub