一键导入
clean-correction-gate
Pause before overwriting existing content so destructive edits stay clean, explicit, and free of correction-history bleed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Pause before overwriting existing content so destructive edits stay clean, explicit, and free of correction-history bleed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Run a focus-protecting daily review of INBOX.md and external capture packets.
Activates when the user is prototyping, building greenfield projects, or explicitly working pre-MVP. Trigger phrases: "we're just prototyping", "greenfield", "pre-MVP", "from scratch", "new project", "spike", "throw it away", "rewrite not refactor", "stop shimming", "just break it". Deactivation: "exit prototype mode", "stop prototype mode".
Route work into the correct artifact layer in a repo that uses repo-template.
Iteratively refine an artifact through a structured neutral-subagent review loop until convergence. Trigger on "sharpen", "sharpen the tip", "let's sharpen this", or similar phrasing.
Run recurring upstream intake review inside the repo-template scaffold.
基于 SOC 职业分类
| name | clean-correction-gate |
| description | Pause before overwriting existing content so destructive edits stay clean, explicit, and free of correction-history bleed. |
| argument-hint | Target artifact and proposed replacement content |
Use this skill before replacing, deleting, or rewriting content that already exists.
Use it with:
This skill keeps document content clean when a user corrects or redirects an earlier draft.
Its job is to stop correction-history bleed such as writing A (not B) into the durable artifact
instead of writing only A.
additive means writing into empty space or creating a new target. Proceed without a confirmation gate.
destructive means replacing, removing, moving, or rewriting content that already exists. Read first, then confirm before writing.
When in doubt, treat the operation as destructive.
Read the current target state.
Classify the write.
Gate destructive edits before writing.
[path/to/file] - line [A] to [B] :
"""
[existing content excerpt]
"""
replacing with :
"""
[new content excerpt]
"""
continue? yes / no / show full diff
Handle the response.
yes: perform the write, then confirm briefly in chat.no: do not write; wait for new instruction.show full diff: present the full before/after diff, then re-present the confirmation gate.Write cleanly after confirmation.
as corrected, instead of the previous version, or not B.Escalate instead of guessing when: