Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/Git & Pull Requests
github avatar

Refactor Plan

github/awesome-copilotOfficial

The refactor-plan skill helps developers create detailed, sequenced plans for multi-file refactoring tasks by analyzing codebase dependencies and organizing changes into safe phases (types, implementation, tests, cleanup) with verification steps and rollback procedures. It's designed for software engineers managing complex refactors who need to minimize risk by understanding file dependencies and executing changes in the correct order. The skill solves the problem of coordinating large-scale code changes across multiple files without breaking functionality or losing track of what's been modified.

installs
13K
GitHub stars
40.5K
last updated
Aug 21, 2026
View on GitHubSave

Install

$ npx -y skills add github/awesome-copilot --skill refactor-plan --agent claude-code

Installs into .claude/skills of the current project.

Files

Refactor Plan

Create a detailed plan before making any code changes.

Instructions

  1. Do not edit files while preparing the plan.
  2. Search the codebase to understand the current state. Read enough implementation, tests, configuration, and docs to make the plan specific to the repository.
  3. Identify affected files, ownership boundaries, dependencies, and likely hidden coupling.
  4. Plan changes in a safe sequence. Prefer contracts and types first, then implementations, then callers, then tests, then cleanup.
  5. Include verification steps between phases and a final validation command.
  6. Include rollback or recovery steps for the riskiest phases.
  7. Output the complete plan using the format below.
  8. Stop after the plan and ask for confirmation before implementing. If the user already asked you to implement, still produce the plan first and wait for confirmation unless they explicitly said to continue without review after the plan.

If the request is too ambiguous to plan safely, ask concise clarifying questions instead of editing files.

Output Format

## 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?"

SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/github/awesome-copilot
Categories
Git & Pull Requests, Code Review & Quality, AI & Agent Building, Productivity & Planning, Sales & Marketing

More from github/awesome-copilot

All 318
  • Memory Merger12.8K
  • Pytest Coverage12.8K
  • Penpot Uiux Design12.8K
  • Postgresql Code Review12.6K
  • Create Implementation Plan12.6K
  • Webapp Testing12.5K
  • Architecture Blueprint Generator12.2K
  • Typescript Mcp Server Generator12.1K
  • Java Junit11.7K
  • Dotnet Design Pattern Review11.6K
  • Dotnet Upgrade11.5K
  • Apple Appstore Reviewer11.3K
  • Update Implementation Plan11.1K
  • Make Repo Contribution11.1K
  • Review And Refactor11.1K
  • Editorconfig11K
  • Csharp Async10.9K
  • Java Docs10.8K
  • Create Github Action Workflow Specification10.8K
  • Python Mcp Server Generator10.4K
  • Csharp Xunit10.3K
  • Ai Prompt Engineering Safety Review10.3K
  • Agentic Eval10.2K
  • Create Architectural Decision Record10.2K

Recommended

More Git & Pull Requests
1github avatarmemory-mergergithub/awesome-copilotMerges mature lessons from a domain memory file into its instruction file. Syntax: `/memory-merger >domain [scope]` where scope is `global` (default), `user`, `12.8Kinstalls
2github avatarpytest-coveragegithub/awesome-copilotRun pytest tests with coverage, discover lines missing coverage, and increase coverage to 100%.12.8Kinstalls
3github avatarpenpot-uiux-designgithub/awesome-copilotComprehensive guide for creating professional UI/UX designs in Penpot using MCP tools. Use this skill when: (1) Creating new UI/UX designs for web, mobile, or d12.8Kinstalls
4github avatarcreate-implementation-plangithub/awesome-copilotCreate a new implementation plan file for new features, refactoring existing code or upgrading packages, design, architecture or infrastructure.12.6Kinstalls
5github avatarwebapp-testinggithub/awesome-copilotToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing br12.5Kinstalls
6github avatararchitecture-blueprint-generatorgithub/awesome-copilotComprehensive project architecture blueprint generator that analyzes codebases to create detailed architectural documentation. Automatically detects technology 12.2Kinstalls