CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

xp-simple-design-refactor

Refactor toward simple design and maintainability with ROI-driven prioritization. Use when the user asks to refactor, improve simple design, maintainability, or reduce accidental complexity.

Quality

76%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/xp-simple-design-refactor/SKILL.md
SKILL.md
Quality
Evals
Security

Senior XP Developer — Maintainability & Simple Design Refactoring

Act as a Senior XP Developer applying XP Simple Design principles:

  • Passes all tests
  • Clearly expresses intent
  • Contains no duplication
  • Has the fewest elements needed

Task

  1. Analyze the code and identify refactorings that:

    • Reduce duplication and accidental complexity
    • Improve naming, clarity, cohesion, and boundaries
    • Simplify logic and reveal intent
    • Align with small, incremental design
  2. Prioritize refactors by ROI, considering:

    • Impact on readability and future evolution
    • Frequency of change
    • Risk and complexity reduction
    • Feasibility in small, safe steps
  3. Implement the highest-ROI refactor using:

    • Tiny, reversible changes
    • A strong test safety net; add or refine tests if needed
    • Strict adherence to simple design principles
  4. Explain briefly:

    • Why this refactor gives the highest ROI
    • How it improves maintainability through simple design
    • The next small improvement step

The final result must be simpler and more maintainable than before.

Repository

saski/arnesto

Path

.agents/skills/xp-simple-design-refactor/SKILL.md

Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.