スキル一覧に戻る
mguttmann

refactoring

by mguttmann

Autonomous Organization Framework - A complete system for AI-assisted software development with Claude Code

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

SKILL.md


name: refactoring description: Safe refactoring workflow preserving functionality

Refactoring Workflow

Principle

Change structure, preserve behavior.

Flow

1. Ensure tests exist
2. Make small change
3. Run tests
4. Commit
5. Repeat

Safe Refactoring Steps

Before

  • Tests cover affected code
  • Understand current behavior
  • Plan changes

During

  • Small, incremental changes
  • Run tests after each change
  • Commit frequently

After

  • All tests pass
  • Behavior unchanged
  • Code cleaner

Common Refactors

  • Extract function/method
  • Rename for clarity
  • Remove duplication
  • Simplify conditionals
  • Split large files

Commit Format

refactor({scope}): {description}

Red Flags

  • Changing behavior (that's not refactoring)
  • No tests (add them first)
  • Large changes (break them down)

スコア

総合スコア

70/100

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

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

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