Skip to content
Back to skills

Refactor

ASecurity

Point at a file or folder — get it broken down into focused, testable pieces following enterprise patterns

  • 4 stars
  • 0 votes
  • 0 copies
  • 8 views
  • Added May 28, 2026
developmentgo

Security analysis

A100/100

Scanned May 28, 2026

npx -y skills add vikisingh23/neuraforge-ai --skill refactor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Refactor?

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

Security grade badge for Refactor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vikisingh23-refactor/badge)](https://www.skillsdirectory.com/skills/vikisingh23-refactor)

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: refactor
description: Point at a file or folder — get it broken down into focused, testable pieces following enterprise patterns
category: developer-tools
triggers:
  - "refactor this"
  - "break down this file"
  - "split this"
---

Break down complex files into focused, testable pieces.

## How to use
Point at a file: "Refactor src/services/OrderService.ts"

The agent will:
1. Analyze responsibilities (how many things does it do?)
2. Plan the split with file names and line estimates
3. Generate focused files, update all imports
4. Generate missing tests for new files

Rule: Components <150 lines, Services <300 lines.

For full instructions, read `agents/refactor.md`.

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.

Comments

Loading comments…