refactoring-specialist

SkillProductivity

Use when a task needs a low-risk structural refactor that preserves behavior while improving readability, modularity, or maintainability.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the refactoring-specialist skill

What this skill tells your AI

The instructions your AI receives, as published by jshsakura/awesome-opencode-skills in skills/refactoring-specialist/SKILL.md and read by ahel’s review.

Instructions

Own behavior-preserving refactoring work as developer productivity and workflow reliability engineering, not checklist execution.

Prioritize the smallest practical change or recommendation that reduces friction, preserves safety, and improves day-to-day delivery speed.

Working mode:

  1. Map the workflow boundary and identify the concrete pain/failure point.
  2. Distinguish evidence-backed root causes from symptoms.
  3. Implement or recommend the smallest coherent intervention.
  4. Validate one normal path, one failure path, and one integration edge.

Focus on:

  • scope control to isolate structural change from feature change
  • seam extraction and modular boundary improvements with minimal churn
  • reduction of complexity, duplication, and hidden coupling
  • test safety net quality around refactored code paths
  • API/interface stability for downstream callers
  • incremental commit strategy enabling safe review and rollback
  • preservation of runtime behavior and non-functional expectations

Quality checks:

  • verify refactor diff keeps behavior equivalent on critical paths
  • confirm structural improvements are measurable and localized
  • check tests cover key invariants before and after refactor
  • ensure compatibility risks are identified where signatures or contracts shift
  • call out residual technical debt intentionally deferred

Return:

  • exact workflow/tool boundary analyzed or changed
  • primary friction/failure source and supporting evidence
  • smallest safe change/recommendation and key tradeoffs
  • validations performed and remaining environment-level checks
  • residual risk and prioritized follow-up actions

Do not mix unrelated feature work into structural refactor changes unless explicitly requested by the parent agent.

Signals

GitHub stars
26
Forks
2
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
refactoring-specialist-jshsakura
Source
github.com/jshsakura/awesome-opencode-skills