refactor

Detect code smells and generate prioritized refactoring work items.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/sachio222/based-stack --skill refactor-sachio222
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refactor
Source: https://github.com/sachio222/based-stack/tree/main/refactor
Command: npx skills add https://github.com/sachio222/based-stack --skill refactor-sachio222

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Refactor analyzes codebases to identify pervasive smells and technical debt, surface them with evidence, and convert findings into actionable refactoring work items ready for prioritization.

Core Features & Use Cases

  • Parallel smell exploration across categories to surface issues quickly.
  • Triage, clustering, and contextual prioritization to produce a structured backlog.
  • Synthesis of findings into concrete work items that guide remediation and planning.

Quick Start

Trigger the refactor skill to immediately start the analysis workflow on your target codebase.

Frequently Asked Questions about refactor

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

FAQPage Schema
How do I identify code smells and convert them into actionable refactoring work items?

To identify code smells and convert them into refactoring work items, this Skill runs parallel smell detection across your codebase, triages and clusters findings, and synthesizes them into a prioritized, structured backlog for remediation planning.

What is the best way to prioritize technical debt across multiple modules in a large codebase?

The best way to prioritize technical debt in a large codebase is using context-aware prioritization and clustering to triage detected code smells, delivering a structured backlog of concrete work items validated against code-quality categories.

Can I automate code smell detection to generate a structured refactoring backlog?

Yes, you can automate code smell detection to generate a structured refactoring backlog. The Skill orchestrates parallel exploration across categories, triages findings, and outputs actionable work items without performing any code changes.

Does this refactoring analysis tool automatically modify my source code to fix technical debt?

No, this refactoring analysis tool does not modify your source code to fix technical debt. It enforces an evidence-based workflow to surface code smells and outputs concrete work items to guide remediation, leaving code changes to developers.

How does evidence-driven refactoring triage work for backlog prioritization?

Evidence-driven refactoring triage works by running parallel smell detection, clustering related issues, and validating findings against code-quality categories to ensure every prioritized backlog item is backed by concrete codebase evidence.