·refactoring
>_

refactoring

Technical debt remediation and code restructuring workflow. Use when improving code structure, reducing complexity, extracting abstractions, or paying down accumulated technical debt.

10Installs·0Trend·@ar4mirez

Installation

$npx skills add https://github.com/ar4mirez/samuel --skill refactoring

How to Install refactoring

Quickly install refactoring AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/ar4mirez/samuel --skill refactoring
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: ar4mirez/samuel.

SKILL.md

View raw

Structured approach to technical debt remediation. Improve code structure while maintaining behavior through incremental, safe changes.

| Guardrail Violations | Functions >50 lines, files >300 lines | | Complexity Threshold | Cyclomatic complexity >10 | | Code Duplication | Same logic in 3+ places | | Quarterly Review | Regular technical debt assessment | | Pre-Feature | Before adding features to messy code | | Post-Incident | After bugs caused by confusing code |

| Long Method | >50 lines, multiple responsibilities | High | | Large Class | >300 lines, low cohesion | High | | Feature Envy | Method uses other class more than own | Medium | | Data Clumps | Same group of variables together | Medium | | Primitive Obsession | Overuse of primitives vs objects | Medium | | Switch Statements | Large switch blocks | Low |

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/ar4mirez/samuel --skill refactoring
Category
>_Productivity
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from ar4mirez/samuel

Quick answers

What is refactoring?

Technical debt remediation and code restructuring workflow. Use when improving code structure, reducing complexity, extracting abstractions, or paying down accumulated technical debt. Source: ar4mirez/samuel.

How do I install refactoring?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/ar4mirez/samuel --skill refactoring Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/ar4mirez/samuel

Details

Category
>_Productivity
Source
skills.sh
First Seen
2026-02-22