Skip to main content
Back to registry

code-refactoring

supercent-io/skills-template

Installs10
Install command
npx skills add https://github.com/supercent-io/skills-template --skill code-refactoring
Security audits
Gen Agent Trust HubPASS
SocketFAIL
SnykPASS
About this skill
Before (long function) : After (method extraction) : Before (duplication) : After (extract common logic) : Before (long if-else) : After (polymorphism) : Before (many parameters) : After (grouped into object) : Single Responsibility : Fully understand current behavior before refactoring: Cause : Behavior change occurred Solution : Revert and isolate the change, then retry Cause : Multiple responsibilities mixed in one function Solution : Extract into smaller units with clear boundaries Cause : Inefficient abstraction introduced Solution : Profile and optimize the hot path #refactoring #code-quality #DRY #SOLID #design-patterns #clean-code - Code review : Discovering complex or duplicated code - Before adding new features : Cleaning up existing code - After bug fixes : Removing root causes - Resolving technical debt : Regular refactoring - Test first : Write tests before refactoring - Small steps : Change one thing at a time - Behavior preservation : No functional changes - Multiple tasks simultaneously : No refactoring + feature addition at the same time - Refactoring without tests : Risk of regression - Boy Scout Rule : Leave code cleaner than you found it - Refactoring timing : Red-Green-Refactor (TDD) - Incremental improvement : Consistency over perfection - Behavior preservation : Refactoring involves no functional changes - Small commits : Commit in focused units - Round...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does code-refactoring do?

code-refactoring is listed in SkillJury, but the source summary is still sparse.

Is code-refactoring good?

code-refactoring does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does code-refactoring work with?

code-refactoring currently lists compatibility with Agent compatibility has not been published yet..

What are alternatives to code-refactoring?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install code-refactoring?

npx skills add https://github.com/supercent-io/skills-template --skill code-refactoring

Related skills

More from supercent-io/skills-template

Related skills

Alternatives in Software Engineering