360 Secure SkillHub
360 安全技能中心

clean-code

该 Skill 提供 Robert C. Martin 风格的整洁代码规则,用于在改进日常代码时处理可读性、命名、函数设计、职责划分、注释、错误处理与测试等问题。使用时先读取同目录的精简规则文件,必要时再参考更完整的规则文件作为深入依据。

分类:开发
ciembor
热度 0.00
最近更新 2026-10-18 23:16:19

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add ciembor/agent-rules-books/clean-code
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
clean-code
description
Apply Robert C. Martin-inspired clean code rules when improving readability, naming, function design, responsibilities, or testable everyday code.
license
MIT

Clean Code Skill

Use this skill when a task involves everyday implementation quality, naming, small functions, readable control flow, responsibilities, comments, errors, or tests.

Before making design or code decisions, read and apply clean-code.mini.md. Use clean-code.md only as a deeper reference when the mini rules are not enough for the current code-quality tradeoff.