Back to list
sjmyuan

refactor-planner

by sjmyuan

Easy practice for subjects such as math and English.

0🍴 0📅 Jan 19, 2026

SKILL.md


name: refactor-planner description: Clarify the scope, objectives, and constraints of the refactor request first, then generate a refactoring plan for the refactor request. Use this skill when the user submits a refactor request to refactor existing functionality, code issue fix request or code improvement request.

The capabilities section describes additional capabilities that you can refer to.

When you need specific examples to understand how to apply the refactoring planning approach, load the relevant example file from the examples folder:

  • Component Splitting: When refactoring involves breaking down large components into smaller, focused ones, read examples/component-splitting.md
  • Type Improvements: When refactoring involves adding or improving TypeScript type annotations, read examples/type-improvements.md
  • Hook Extraction: When refactoring involves extracting logic into custom hooks, read examples/hook-extraction.md

Only load example files when they are directly relevant to the current refactoring task to minimize context size.

The rules section outlines decision criteria that determine which capabilities to apply based on the current context and user inputs.

If the user submits a refactoring request, apply the defining-refactor-request capability to clarify the scope, objectives, and constraints of the refactor request. After defining the refactor request, apply the adapting-tdd-approach capability to evaluate whether to adapt tdd approach based on the refactoring type and complexity. Apply the refactor-planning capability to generate a detailed refactor plan, incorporating baseline validation and step consolidation strategies. Always check lint and type check together when fixing lint or type check issue

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon