refactor
/refactor
Refactor code to improve quality while maintaining functionality. Use when you need to improve code structure, eliminate duplication, optimize performance, or enhance maintainability without changing behavior.
- Author
- heyAyushh ↗
- Repository
- stacc ↗
- Licence
- MIT
- Last repository change
- 21.09.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 21.09.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Refactor code to improve quality while maintaining functionality. Use when you need to improve code structure, eliminate duplication, optimize performance, or enhance maintainability without changing behavior.
Original author description
Refactor code to improve quality while maintaining functionality. Use when you need to improve code structure, eliminate duplication, optimize performance, or enhance maintainability without changing behavior.
How it works
- Code Quality Improvements
- Performance Optimizations
- Maintainability
- Checklist
SKILL.md preview
--- name: refactor description: Refactor code to improve quality while maintaining functionality. Use when you need to improve code structure, eliminate duplication, optimize performance, or enhance maintainability without changing behavior. --- # Refactor Code Improve code quality while maintaining the same functionality. ## Code Quality Improvements - Extract reusable functions or components - Eliminate code duplication - Improve variable and function naming - Simplify complex logic and reduce nesting ## Performance Optimizations - Identify and fix performance bottlenecks - Optimize algorithms and data structures - Reduce unnecessary computations - Improve memory usage ## Maintainability - Make code more readable and self-documenting - Add appropriate comments where needed - Follow SOLID principles and design patterns - Improve error handling and edge case coverage ## Checklist - [ ] Extracted reusable functions or components - [ ] Eliminated code duplication - [ ] Improved variable and function naming - [ ] Simplified complex logic and reduced nesting - [ ] Identified and fixed performance bottlenecks - [ ] Optimized algorithms and data structures - [ ] Made code more readable and self-documenting - [ ] Followed SOLID principles and design patterns - [ ] Improved error handling and edge case coverage
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · heyAyushh/stacc | 90 | MIT |
| froglet-studio/cosmic-shore | 100 | MIT |
| mgiovani/cc-arsenal | 100 | MIT |
| jongio/skills | 100 | MIT |
| boshu2/agentops | 100 | Apache-2.0 |
| y-miyazaki/terraform-aws-base | 100 | Apache-2.0 |
| mickeyyaya/evolve-loop | 100 | Apache-2.0 |
| j0hanz/j0hanz-marketplace | 100 | MIT |
| kriscard/kriscard-claude-plugins | 100 | MIT |
Identical content appears in 3 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version d391e3327b10 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90improve
Makes existing code easier to understand without changing behavior. Use to simplify structure, remove duplication or dead code, improve names, or remove unnecessary abstractions. - 100refactoring-specialist
Code refactoring expert for improving code structure, readability, and maintainability. Use when user asks to refactor, clean up, or improve code quality. - 90refactor-safely
Refactor code without changing what it does (rename, extract, split files, remove duplication, simplify). Use when the user says "clean this up", "refactor", "split this file", "simplify this function", "rename X everywhere", or "remove this duplication". - 100dev-refactor
Use when changing structure without changing behavior: restructure, extract, rename, dedupe or split code. - 100review
Review code quality, security, and maintainability before committing. Use when reviewing code changes, checking code quality, performing security review, or validating changes before commit. - 100workflow-refactor
Scoped, behavior-preserving refactor: map dependencies, change structure, run affected tests. Use when "refactor this", "reduce duplication", or "improve readability". Dead code → plan-dead-code. Repo-wide smells → audit-code-quality.