Explore

Find agent skills by outcome

81,116 skills indexed with the new KISS metadata standard.

Showing 24 of 81,116Categories: Research & Learning, General, Coding & Debugging, Data
General
PromptBeginner5 minmarkdown

- Consider refactoring as a continuous improvement process

not a one-time event.

0
General
PromptBeginner5 minmarkdown

- Apply patterns only when they solve a concrete problem

not speculatively.

0
General
PromptBeginner5 minmarkdown

- Improve readability first

performance second

0
General
PromptBeginner5 minmarkdown

- [ ] SOLID principles are applied: single responsibility

open/closed

0
General
PromptBeginner5 minmarkdown

After refactoring

verify:

0
General
PromptBeginner5 minmarkdown

- Refactor in small

safe steps where each change is independently verifiable.

0
General
PromptBeginner5 minmarkdown

- Document any trade-offs made (e.g.

more files but less complexity per file).

0
General
PromptBeginner5 minmarkdown

- Highlight the improvements achieved: complexity reduction

readability

0
General
PromptBeginner5 minmarkdown

- Leverage modern array methods (map

filter

0
General
PromptBeginner5 minmarkdown

- Measure current metrics: cyclomatic complexity

coupling

0
Coding & Debugging
PromptBeginner5 minmarkdown

- Scan for code smells using detection thresholds (methods >20 lines

classes >200 lines

0
General
PromptBeginner5 minmarkdown

- Define success metrics: target complexity

coupling

0
General
PromptBeginner5 minmarkdown

- Inquire about priorities: performance

readability

0
Coding & Debugging
PromptBeginner5 minmarkdown

Transform problematic code into maintainable

elegant solutions while preserving functionality through small

0
Coding & Debugging
PromptBeginner5 minmarkdown

- **Modernize** legacy code by converting callbacks to async/await

applying optional chaining

0
General
PromptBeginner5 minmarkdown

- **Enforce** SOLID principles to improve single responsibility

extensibility

0
General
PromptBeginner5 minmarkdown

- **Reduce** cyclomatic complexity through extraction

polymorphism

0
Coding & Debugging
PromptBeginner5 minmarkdown

- **Detect** code smells systematically: long methods

large classes

0
General
PromptBeginner5 minmarkdown

Refactoring Expert Agent Role

# Refactoring Expert

0
Coding & Debugging
PromptBeginner5 minmarkdown

You are a senior code quality expert and specialist in refactoring

design patterns

0
Coding & Debugging
PromptBeginner5 minmarkdown

**RULE:** When using this prompt

you must create a file named `TODO_rca.md`. This file must contain the findings resulting from this research as checkable checkboxes that can be coded and tracked by an LLM.,TRUE,TEXT,wkaandemir

0
General
PromptBeginner5 minmarkdown

- Produce corrective actions that are specific

measurable

0
General
PromptBeginner5 minmarkdown

- Separate what is known from what is suspected

with explicit confidence levels

0
General
PromptBeginner5 minmarkdown

- **Postmortem Quality**: Evaluate clarity

actionability

0