Skip to content
Back to skills

2519 Refactoring 54fced22

ASecurity

After TDD cycle, look for: - **Duplication** → Extract function/class - **Long methods** → Break into private helpers (keep tests on public interface) - **Shallow modules** → Combine or deepen - **Feature envy** → Move logic to where data lives - **Primitive obsession** → Introduce value objects - **Existing code** the new code reveals as problematic

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
code-quality

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2519-refactoring_54fced22 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2519 Refactoring 54fced22?

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

Security grade badge for 2519 Refactoring 54fced22
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2519-refactoring-54fced22/badge)](https://www.skillsdirectory.com/skills/tools-only-2519-refactoring-54fced22)

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

SKILL.md
# Refactor Candidates

After TDD cycle, look for:

- **Duplication** → Extract function/class
- **Long methods** → Break into private helpers (keep tests on public interface)
- **Shallow modules** → Combine or deepen
- **Feature envy** → Move logic to where data lives
- **Primitive obsession** → Introduce value objects
- **Existing code** the new code reveals as problematic

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…

Newsletter

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