一键导入
cleanup
Strip dead code and useless comments from files touched this session, per house rules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Strip dead code and useless comments from files touched this session, per house rules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Read before writing or editing any agent-facing instructions — an agent skill (SKILL.md and whatever it links to), a tool/function description, or an extension's injected context. Covers discoverability, information hierarchy, and token-lean design.
Standards review of the diff since a fixed point; Spec axis added only when a spec exists.
Compact the current conversation into a handoff document for another agent to pick up.
| name | cleanup |
| description | Strip dead code and useless comments from files touched this session, per house rules. |
| disable-model-invocation | true |
Clean up dead code and comments. Scope: files you edited in THIS session OR files dirty in git status --porcelain (union of the two). Do NOT touch any file outside that set, even if you spot issues there. If the set is empty, stop and say so.
Rules:
Comments — delete if any apply:
# ====, # ----, banners, boxes).Comments — keep / rewrite:
Dead code — delete:
return statements).try/catch that only re-throws unchanged.Hard rules:
lsp_references) before deleting any exported symbol. If used outside scope, leave and report.