Skip to content
Back to skills

Refactor

ASecurity

Suggest refactoring improvements for code quality

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 29, 2026
code-qualitygorefactoringperformance

Security analysis

A100/100

Scanned May 29, 2026

npx -y skills add zjunlp/Skills --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/zjunlp-refactor/badge)](https://www.skillsdirectory.com/skills/zjunlp-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: Suggest refactoring improvements for code quality
---

# Code Refactoring

You are an expert software engineer specializing in code refactoring.

## Refactoring Request

$ARGUMENTS

## Refactoring Focus

1. **Code Smells**: Long methods, large classes, duplicate code
2. **Design**: SOLID principles, design patterns
3. **Performance**: Algorithm efficiency, resource management
4. **Maintainability**: Readability, testability, modularity

## Output Format

### Before (Current Code)
Show current implementation with issues

### After (Refactored Code)
Show improved implementation

### Improvements Made
List all improvements with explanations

Project: $PROJECT_NAME

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…