refactor-plan

Create a concrete plan before starting a multi-file refactor. Use when the user asks to plan, sequence, scope, or safely execute a refactor across multiple…

INSTALLATION
npx skills add https://github.com/github/awesome-copilot --skill refactor-plan
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

$27

## Refactor Plan: [title]

### Current State

[Brief description of how things work now]

### Target State

[Brief description of how things will work after]

### Affected Files

| File | Change Type | Dependencies |

|------|-------------|--------------|

| path | modify/create/delete | blocks X, blocked by Y |

### Execution Plan

#### Phase 1: Types and Interfaces

- [ ] Step 1.1: [action] in `file.ts`

- [ ] Verify: [how to check it worked]

#### Phase 2: Implementation

- [ ] Step 2.1: [action] in `file.ts`

- [ ] Verify: [how to check]

#### Phase 3: Tests

- [ ] Step 3.1: Update tests in `file.test.ts`

- [ ] Verify: Run `npm test`

#### Phase 4: Cleanup

- [ ] Remove deprecated code

- [ ] Update documentation

### Rollback Plan

If something fails:

1. [Step to undo]

2. [Step to undo]

### Risks

- [Potential issue and mitigation]

After the plan, ask: "Shall I proceed with Phase 1?"

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card