Skip to content
Back to skills

Plan Refactoring

ASecurity

Identify highest-ROI refactoring targets

  • 25 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 14, 2026
developmentgobashrefactoring

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add panbanda/omen --skill plan-refactoring --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plan Refactoring?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Plan Refactoring
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/panbanda-plan-refactoring/badge)](https://www.skillsdirectory.com/skills/panbanda-plan-refactoring)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: plan-refactoring
description: Identify highest-ROI refactoring targets
usage: /plan-refactoring [path]
arguments:
  - name: paths
    description: Paths to analyze
    required: false
    default: "."
---

# Plan Refactoring Skill

Find the refactoring targets in: `{{.paths}}`

## Quick Start

```bash
# Get a quick structural overview before deciding what to refactor
omen -f json outline --compact --top 50

# Find hotspots (high churn + complexity)
omen -f json hotspot --top 10

# Find code clones
omen -f json clones

# Find acknowledged debt
omen -f json satd | jq '.items[] | select(.category == "design")'

# Assess blast radius before refactoring a specific symbol
omen -f json impact <symbol-name> --depth 2
```

## Priority Matrix

| Finding | Effort | ROI |
|---------|--------|-----|
| Hotspot with clones | Medium | High |
| God component | High | High |
| Isolated clone | Low | Medium |
| Low-churn debt | Low | Low |

## Effort Guide

- Extract function: 30min - 2hr
- Split class: 2hr - 1 day
- Break cycle: 1-3 days
- Extract module: 1-2 weeks

## Sequencing

1. Quick wins: hotspot and low complexity.
2. Clone extraction.
3. God components (a dedicated sprint).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.