スキル一覧に戻る
kishan04rajput

refactoring

by kishan04rajput

0🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: refactoring description: Improving internal code structure without changing external behavior.

Refactoring Skill

Use this skill strictly for behavior-preserving code improvements. If you need to fix a bug or add functionality, use the bug-fixing or standard coding flow instead.

Core Principles

  1. Zero Behavior Change: The code MUST produce the same output for the same input after refactoring.
  2. Small, Reversible Steps: Make incremental changes that can be easily reverted if a test fails.
  3. Clean Code Focus: Focus on readability, maintainability (DRY, SOLID), and removing technical debt.

Refactoring Process

  1. Baseline: Ensure existing tests pass. If no tests exist, write them before refactoring.
  2. Identify Smells: Long methods, dead code, logic duplication, or poor naming.
  3. Apply Pattern: Use established patterns like "Extract Method", "Rename Variable", or "Simplified Conditionals".
  4. Verify: Run tests after every small change to confirm no breakage.

[!TIP] Refactoring is a "clean as you go" process. It should make future changes easier, not change what the code does today.

スコア

総合スコア

35/100

リポジトリの品質指標に基づく評価

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

0/5
タグ

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

0/5

レビュー

💬

レビュー機能は近日公開予定です