Individual skill
cs-clean-code
整理代码、重构、审查实现、修复已定位问题或同步开发文档时使用。聚焦需求与业务行为、最小修改和本地验证;Git 或部署收尾由 cs-ending-time 处理。
cs-clean-code/SKILL.md
Source commit e63cb26e58e2b307e3ff9a0ad834d3c1b1b65a90
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Not checked yet
- Last checked
- Nov 8, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 208
- Repository last updated
- Nov 7, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 2,621 bytesagents/openai.yamlasset · 311 bytesreferences/review-checklist.mddoc · 3,281 bytes
Read excerpt
<!-- CS Skills · 陈硕 | https://github.com/ChenShuo2004/cs-skills -->
# CS Clean Code
让实现符合需求,降低维护成本。保留现有框架、公共接口与用户改动;不为风格一致重写可用模块。
## 先定位再修改
读取拥有该行为的代码、相关项目指令、测试和错误证据。Bug 先复现或找到可追溯的失败路径,再解释原因和最小修复。
明确请求是审查还是修改:只要求 review 时给发现,不自动修复;要求整理、修复时直接执行。可推断的命名、目录和实现细节自行决定。
## 按风险选择工作量