refactor

Automate multi-round code refactoring with test and lint verification.

5|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/kzytateishi/spikeee-plugins-marketplace --skill refactor-kzytateishi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refactor
Source: https://github.com/kzytateishi/spikeee-plugins-marketplace/tree/main/plugins/dev-workflow/skills/refactor
Command: npx skills add https://github.com/kzytateishi/spikeee-plugins-marketplace --skill refactor-kzytateishi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams improve code quality by coordinating structured, multi-round refactoring across changed files, ensuring consistency and traceability.

Core Features & Use Cases

  • Enforces a three-round refactoring protocol: structural improvements, readability enhancements, and convention compliance.
  • Identifies changed files from the base branch, runs tests and lint after each round, and generates a before/after report.
  • Supports non-interactive operation and safe, incremental updates to large codebases with minimal behavioral changes.

Quick Start

Run the refactor skill on your current branch to start the iterative 3-round process and generate a before/after report.

Frequently Asked Questions about refactor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate code refactoring across changed files on a feature branch?

Automated code refactoring on a feature branch identifies changed files from the base branch and applies a structured, multi-round protocol to improve code quality while preserving existing behavior.

What is the best way to enforce structural, readability, and convention compliance during refactoring?

Enforcing structural, readability, and convention compliance during refactoring requires a three-round iterative protocol that systematically addresses each architectural aspect to ensure maintainability.

How do I verify code quality and maintain behavior when running iterative refactoring?

To verify code quality during iterative refactoring, run project-specific test and lint commands after each round to ensure no behavioral changes are introduced.

Does automated refactoring support non-interactive operation for large codebases?

Automated refactoring supports non-interactive operation, enabling safe, incremental updates to large codebases with minimal behavioral changes.

How do I track code quality improvements after a multi-round refactoring process?

Track code quality improvements after multi-round refactoring by generating a before/after report that details the structural, readability, and convention changes applied.

When should I use an iterative refactoring protocol instead of manual code review?

Use an iterative refactoring protocol when you need structured, traceable, and multi-round improvements across changed files, ensuring consistency that manual code review alone cannot guarantee.