·python-clean-code
</>

python-clean-code

Use when writing, fixing, editing, reviewing, or refactoring any Python code. Enforces Robert Martin's complete Clean Code catalog—naming, functions, comments, DRY, and boundary conditions.

11Installs·1Trend·@ertugrul-dmr

Installation

$npx skills add https://github.com/ertugrul-dmr/clean-code-skills --skill python-clean-code

How to Install python-clean-code

Quickly install python-clean-code AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/ertugrul-dmr/clean-code-skills --skill python-clean-code
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: ertugrul-dmr/clean-code-skills.

SKILL.md

View raw

Enforces all Clean Code principles from Robert C. Martin's Chapter 17, adapted for Python.

Python-Specific (P1-P3) These adapt the Java-specific rules (J1-J3) to Python conventions:

| Comments | C1 | No metadata (use Git) | | | C3 | No redundant comments | | | C5 | No commented-out code | | Functions | F1 | Max 3 arguments | | | F3 | No flag arguments | | | F4 | Delete dead functions | | General | G5 | DRY—no duplication | | | G9 | Delete dead code | | | G16 | No obscured intent | | | G23 | Polymorphism over if/else |

Use when writing, fixing, editing, reviewing, or refactoring any Python code. Enforces Robert Martin's complete Clean Code catalog—naming, functions, comments, DRY, and boundary conditions. Source: ertugrul-dmr/clean-code-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/ertugrul-dmr/clean-code-skills --skill python-clean-code
Category
</>Dev Tools
Verified
First Seen
2026-02-25
Updated
2026-03-11

Browse more skills from ertugrul-dmr/clean-code-skills

Quick answers

What is python-clean-code?

Use when writing, fixing, editing, reviewing, or refactoring any Python code. Enforces Robert Martin's complete Clean Code catalog—naming, functions, comments, DRY, and boundary conditions. Source: ertugrul-dmr/clean-code-skills.

How do I install python-clean-code?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/ertugrul-dmr/clean-code-skills --skill python-clean-code Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/ertugrul-dmr/clean-code-skills