S

safe-refactor

by @juliusbrusseev
4.8(120)

コードを再構築する際に動作を保持します。このスキルは、構造編集の前に動作保存境界を定義し、検証を確立します。抽出、統合、所有権移動、クリーンアップをサポートし、中間状態をビルド可能かつテスト可能に保ちます。変更後に同じ証明を実行して動作が一致することを確認し、リグレッションや潜在的なバグを大幅に削減します。

code-refactoringbehavior-preservationverificationrefactoring-safetyGitHub
インストール方法
npx skills add https://github.com/juliusbrussee/caveman --skill safe-refactor
compare_arrows

Before / After 効果比較

1 组
使用前

開発者は動作検証の境界なしに手動でリファクタリングを行うため、インターフェースや順序を壊し、問題が後で表面化して長時間の手戻りやデバッグが発生し、納期に影響していました。

使用後

このスキルは構造編集前に検証を確立し、所有権の境界を一度に一つ移動し、中間状態をテスト可能に保つことで、動作の一貫性を確保し、手戻り時間を大幅に削減して効率を向上させます。

SKILL.md

Safe refactor

Define behavior-preservation boundary and establish verification before structural edits.

  • Keep feature changes outside refactor.
  • Move one ownership boundary at a time.
  • Preserve public interfaces, failure behavior, ordering, and compatibility unless explicitly scoped.
  • Keep intermediate states buildable and testable.
  • Avoid dependency or configuration growth without correctness need.

Run same proof after change. Stop when behavior matches and requested structure is achieved.

ユーザーレビュー (0)

レビューを書く

効果
使いやすさ
ドキュメント
互換性

レビューなし

統計データ

インストール数104.1K
評価4.8 / 5.0
バージョン
更新日2026年10月24日
比較事例1 件

ユーザー評価

4.8(120)
5
37%
4
43%
3
13%
2
5%
1
2%

この Skill を評価

0.0

対応プラットフォーム

🤖claude-code

タイムライン

作成2026年8月13日
最終更新2026年10月24日
🎁 Agent 知識カード
アンケート