什么是 clean-functions?
在编写、修复、编辑或重构 Python 函数时使用。强制执行干净代码原则——最多 3 个参数、单一责任、无标志参数。 来源:ertugrul-dmr/clean-code-skills。
在编写、修复、编辑或重构 Python 函数时使用。强制执行干净代码原则——最多 3 个参数、单一责任、无标志参数。
通过命令行快速安装 clean-functions AI 技能到你的开发环境
来源:ertugrul-dmr/clean-code-skills。
More than 3 arguments means your function is doing too much or needs a data structure.
Boolean flags mean your function does at least two things.
If it's not called, delete it. No "just in case" code. Git preserves history.
在编写、修复、编辑或重构 Python 函数时使用。强制执行干净代码原则——最多 3 个参数、单一责任、无标志参数。 来源:ertugrul-dmr/clean-code-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/ertugrul-dmr/clean-code-skills --skill clean-functions在编写、修复、编辑或重构 Python 函数时使用。强制执行干净代码原则——最多 3 个参数、单一责任、无标志参数。 来源:ertugrul-dmr/clean-code-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/ertugrul-dmr/clean-code-skills --skill clean-functions 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/ertugrul-dmr/clean-code-skills