speckit-refactor

Official

Automate refactoring with validation

Authorrefactory-lang
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the process of creating and initializing a refactoring workflow, ensuring that metrics are tracked and behavior preservation is validated.

Core Features & Use Cases

  • Workflow Initialization: Sets up a new refactoring branch and generates necessary spec files.
  • Testing Gap Assessment: Prompts the user to identify and address testing gaps before baseline metrics are captured.
  • Behavior Preservation: Documents key behaviors to preserve and provides a checklist for verification.
  • Use Case: When a code smell is identified, this Skill can be invoked to automatically set up the environment for refactoring, including creating a dedicated branch, drafting the refactor specification, and outlining critical testing steps.

Quick Start

Use the speckit-refactor skill to create a refactoring workflow for the user input 'Refactor the user authentication module to improve security'.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: speckit-refactor
Download link: https://github.com/refactory-lang/refactory-template/archive/main.zip#speckit-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 223,000+ vetted skills library on demand.