clean-code

Review code against Robert C. Martin's Clean Code principles.

1|1|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/Dbillionaer/wholesaile --skill clean-code-dbillionaer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code
Source: https://github.com/Dbillionaer/wholesaile/tree/main/skills/clean-code
Command: npx skills add https://github.com/Dbillionaer/wholesaile --skill clean-code-dbillionaer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers write, review, and refactor code to meet high standards of quality, readability, and maintainability, reducing technical debt and improving collaboration.

Core Features & Use Cases

  • Code Quality Principles: Enforces best practices for naming, functions, comments, formatting, and error handling based on Robert C. Martin's "Clean Code".
  • Refactoring Guidance: Provides a checklist and heuristics to identify and address code smells like rigidity, fragility, and complexity.
  • Use Case: When reviewing a complex function, use this Skill to identify areas that violate the Single Responsibility Principle or have overly long parameter lists, suggesting improvements for clarity.

Quick Start

Use the clean-code skill to review the provided Python function for adherence to the principles of clean code.

Frequently Asked Questions about clean-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review my code for maintainability and readability best practices?

Code refactoring improves maintainability by addressing code smells like rigidity and complexity using actionable heuristics and checklists based on the Single Responsibility Principle to ensure high software quality.

What are the best practices for function design and naming conventions in software development?

Best practices for function design and naming conventions involve creating small, focused functions that adhere to the Single Responsibility Principle, avoiding long parameter lists, and using clear names to enhance overall readability.

Does this clean code guidance cover error handling strategies and unit testing?

You should use clean code refactoring checklists when reviewing complex functions to identify and fix code smells like fragility or overly long parameter lists, ensuring the code meets high maintainability standards.

When should I use a refactoring checklist to address code smells?

You should use a refactoring checklist to address code smells when reviewing complex functions, identifying violations of the Single Responsibility Principle, and tackling rigidity, fragility, or complexity in your software.

Can I apply these clean code principles to any programming language like Python?

Yes, you can apply these clean code principles to any programming language including Python, as they focus on universal object-oriented principles, formatting standards, and error handling rather than language-specific syntax.