acp-refactor

Community

Refactor code while preserving behavior and enforcing small, reversible steps.

Authorbravekingzhang
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps users refactor existing code to improve its structure and maintainability without altering its behavior.

Core Features & Use Cases

  • Refactoring: Simplify, modularize, deduplicate, or rename code while keeping the public behavior intact.
  • Behavior Preservation: Ensures that public APIs and input/output behavior remain unchanged.
  • Small, Reversible Steps: Encourages gradual changes to make debugging easier and minimize potential issues.
  • Use Case: When a user needs to refactor a codebase to improve its readability and maintainability without introducing new features.

Quick Start

Use the acp-refactor skill to refactor the 'main.py' file, focusing on improving the naming of variables and functions.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: acp-refactor
Download link: https://github.com/bravekingzhang/agent-coding-playbook/archive/main.zip#acp-refactor

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.