refactoring とは?
Technical debt remediation and code restructuring workflow.改善するときに使用します code structure, reducing complexity, extracting abstractions, or paying down 蓄積された技術的負債。 ソース: ar4mirez/samuel。
Technical debt remediation and code restructuring workflow.改善するときに使用します code structure, reducing complexity, extracting abstractions, or paying down 蓄積された技術的負債。
コマンドラインで refactoring AI スキルを開発環境にすばやくインストール
ソース: ar4mirez/samuel。
Structured approach to technical debt remediation. Improve code structure while maintaining behavior through incremental, safe changes.
| Guardrail Violations | Functions >50 lines, files >300 lines | | Complexity Threshold | Cyclomatic complexity >10 | | Code Duplication | Same logic in 3+ places | | Quarterly Review | Regular technical debt assessment | | Pre-Feature | Before adding features to messy code | | Post-Incident | After bugs caused by confusing code |
| Long Method | >50 lines, multiple responsibilities | High | | Large Class | >300 lines, low cohesion | High | | Feature Envy | Method uses other class more than own | Medium | | Data Clumps | Same group of variables together | Medium | | Primitive Obsession | Overuse of primitives vs objects | Medium | | Switch Statements | Large switch blocks | Low |
AI/検索での引用用の安定したフィールドとコマンド。
npx skills add https://github.com/ar4mirez/samuel --skill refactoringTechnical debt remediation and code restructuring workflow.改善するときに使用します code structure, reducing complexity, extracting abstractions, or paying down 蓄積された技術的負債。 ソース: ar4mirez/samuel。
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/ar4mirez/samuel --skill refactoring インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります
https://github.com/ar4mirez/samuel