ワンクリックで
clean-code
Routes to Clean Code sub-skills for naming, functions, comments, and error handling based on Robert C. Martin's Clean Code
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Routes to Clean Code sub-skills for naming, functions, comments, and error handling based on Robert C. Martin's Clean Code
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when deciding whether, how, or where to write code comments — applies Clean Code comment principles
Use when designing or reviewing exception handling, error boundaries, or error propagation patterns — applies Clean Code error handling principles
Use when designing, reviewing, or refactoring functions — applies Clean Code function principles for small, focused, well-argumented functions
Use when choosing names for variables, functions, classes, or modules — applies Clean Code naming principles for clear, intention-revealing identifiers
Detects code smells and recommends specific refactorings. Covers the 22 canonical code smells from Fowler's Refactoring with Python examples.
Techniques for breaking down and reorganizing methods: Extract Method, Inline Method, Replace Temp with Query, Introduce Explaining Variable, Split Temporary Variable, Replace Method with Method Object, Substitute Algorithm. All with Python before/after examples.
| name | clean-code |
| description | Routes to Clean Code sub-skills for naming, functions, comments, and error handling based on Robert C. Martin's Clean Code |
Based on Robert C. Martin's Clean Code: A Handbook of Agile Software Craftsmanship.
Trigger on:
Do NOT trigger on:
| Topic | Skill | Use When |
|---|---|---|
| Naming | clean-code:naming | Variables, functions, classes, modules need clear names |
| Functions | clean-code:functions | Designing or reviewing function size, arguments, structure |
| Comments | clean-code:comments | Deciding when/how to comment code |
| Error Handling | clean-code:error-handling | Designing exception strategy and error boundaries |
Distilled from Clean Code by Robert C. Martin. Full extracted content: output/clean-code/SKILL.md.