Skip to content
Clean Code Principles logo

Clean Code Principles

[日本語版](../../ja/03-software-design/clean-code-principles/SKILL.md)

Gaku52/claude-code-skills0installs6stars

SKILL.md

Full skill instructions

日本語版

Clean Code Principles

Clean code is code that is easy to read, easy to change, and easy to test. This skill covers everything about code quality, from naming conventions, function design, and SOLID principles to refactoring techniques and code review culture.

Target Audience

  • Engineers who want to improve their code quality
  • Tech leads looking to establish team coding standards
  • Anyone who wants to learn refactoring techniques

Prerequisites

  • Hands-on experience with at least one programming language
  • Basic knowledge of design patterns

Learning Guide

00-fundamentals — Core Principles

#FileDescription

01-practices — Practical Techniques

#FileDescription

02-refactoring — Refactoring

#FileDescription

03-team — Team Quality

#FileDescription

Quick Reference

Clean Code Checklist:
  ✓ Use intention-revealing names
  ✓ Keep functions under 20 lines with no more than 3 parameters
  ✓ One responsibility per function
  ✓ Reduce nesting with early returns
  ✓ Replace magic numbers with named constants
  ✓ Prefer self-documenting code over comments

References

  1. Martin, R. "Clean Code." Prentice Hall, 2008.
  2. Fowler, M. "Refactoring." Addison-Wesley, 2018.
  3. Feathers, M. "Working Effectively with Legacy Code." Prentice Hall, 2004.