Agent skill
clean-code-principles
Stars
5
Forks
0
Install this agent skill to your Project
npx add-skill https://github.com/Gaku52/claude-code-skills/tree/main/ja/03-software-design/clean-code-principles
SKILL.md
クリーンコード原則
クリーンコードは読みやすく、変更しやすく、テストしやすいコード。命名規則、関数設計、SOLID 原則、リファクタリングテクニック、コードレビュー文化まで、コード品質の全てを解説する。
このSkillの対象者
- コード品質を向上させたいエンジニア
- チームのコーディング規約を整備したいリード
- リファクタリングの技法を学びたい方
前提知識
- 何らかのプログラミング言語の実務経験
- 基本的な設計パターンの知識
学習ガイド
00-fundamentals — 基礎原則
| # | ファイル | 内容 |
|---|
01-practices — 実践テクニック
| # | ファイル | 内容 |
|---|
02-refactoring — リファクタリング
| # | ファイル | 内容 |
|---|
03-team — チーム品質
| # | ファイル | 内容 |
|---|
クイックリファレンス
クリーンコードチェックリスト:
✓ 意図が明確な命名
✓ 関数は20行以内、引数は3個以下
✓ 1関数1責任
✓ 早期リターンでネスト削減
✓ マジックナンバーは定数化
✓ コメントより自己文書化コード
参考文献
- Martin, R. "Clean Code." Prentice Hall, 2008.
- Fowler, M. "Refactoring." Addison-Wesley, 2018.
- Feathers, M. "Working Effectively with Legacy Code." Prentice Hall, 2004.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
computer-science-fundamentals
A comprehensive guide covering the fundamentals of computer science. From hardware internals and data representation to algorithms, data structures, computation theory, programming paradigms, and software engineering basics — a systematic guide to all the CS foundations every engineer needs.
5
0
Explore
operating-system-guide
5
0
Explore
programming-language-fundamentals
5
0
Explore
algorithm-and-data-structures
5
0
Explore
linux-cli-mastery
5
0
Explore
aws-cloud-guide
5
0
Explore
Didn't find tool you were looking for?