Agent Skills
› wibus-wee/see
› no-comments
no-comments
GitHub用于清理代码中的冗余注释、死工作区解释和AI痕迹,保留必要约束,将约束转化为类型或测试,提升代码自文档化能力。
触发场景
清理代码库时
审查代码差异(diff)时
安装
npx skills add wibus-wee/see --skill no-comments -g -y
SKILL.md
Frontmatter
{
"name": "no-comments",
"description": "Remove redundant comments, dead workaround explanations, and AI tells from code while preserving necessary constraints. Use when cleaning up code or diffs."
}
No Comments
- Identify comments that explain obvious code, restate syntax, or explain temporary workarounds that should be deleted.
- Distinguish legitimate constraints (hard external requirements, regulatory/spec references, non-obvious invariants) from redundant explanations.
- Convert valid constraint comments into types, tests, assertions, or lints whenever possible.
- Delete redundant commentary, commented-out dead code, and speculative notes.
- Verify that code remains readable and self-documenting through clear naming and small, focused functions.
版本历史
- b47adae 当前 2026-11-26 00:10


