Skip to main content
在 Manus 中运行任何 Skill
一键导入

python-clean-code

星标4
分支1
更新时间2026年7月1日 14:48

Enforce Clean Code Developer (CCD) architecture and software quality principles when writing or refactoring Python code. Apply automatically whenever you generate new Python code, refactor existing Python, design modules or class hierarchies, or review Python architecture — even when the user doesn't mention "clean code" or "architecture" explicitly. Covers all four CCD grades: Orange (SRP, SoC, SLA, conventions), Yellow (ISP, DIP, LSP, information hiding, least astonishment), Green (OCP, Tell Don't Ask, Law of Demeter), Blue (YAGNI, design-first, component orientation). Triggers on: "write a class", "add a service", "refactor this", "how should I structure", "implement feature X", and any Python file editing task.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
2 个文件
SKILL.md
readonly