ワンクリックで
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 ページを確認してインストールできます。
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.
SOC 職業分類に基づく
| 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.