/iasiv5-skills:cleanup 请说明要沉淀的任务、范围或收尾目标;可留空from iasiv5-skills
在任务完成后,对仓库内长期知识做深度整理、沉淀与规范审计。仅在用户明确要求 cleanup、最终沉淀、长期知识同步、收尾整理,或明确要求检查仓库规则执行情况时触发;不要用于中途续做、普通总结、状态同步或实现过程中的正常文档更新。默认保守触发,强制 cleanup 也不默认写入用户记忆。
Ships in iasiv5-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
这个 skill 用于把已经稳定下来的任务结论,整理成可长期复用的仓库内知识,并按需核对仓库规则是否被实践遵守。
它的职责是做终态的知识清理、去重、校正、沉淀,以及规则层的可核验一致性审计。
在以下场景使用这个 skill:
/cleanup、cleanup、做最终沉淀、更新长期知识、整理长期记忆检查规范、审计规则、规范体检、audit the rules,且对象是仓库规则、长期文档、指令、skill / agent / prompt / hook 等长期资产默认按显式长期沉淀或规则审计意图触发。 仅因为“当前阶段差不多做完了”,不足以自动进入 cleanup。
软提醒:当语义出现“阶段完成、适合沉淀”的信号(如“这个阶段做完了”“可以交给别人了”“新人能直接上手了”“准备收尾”)时,不自动执行 cleanup,只提示用户现在适合做一次。
以下请求默认不要使用这个 skill(routing 判别——判断请求是否 cleanup 形,与下面硬约束的执行纪律不同轴,非重复):
如果用户只是要把当前工作续接到下一 chat,优先使用 handoff。
handoff 负责会话连续性cleanup 只负责终态长期知识沉淀同样是改文档:
开始前先确认:
handoff)🛑 稳定门不满足时,不要直接进入正常 cleanup——先告诉用户当前任务还不够稳定,或改用 handoff。
🔴 CHECKPOINT(稳定门不满足 + 用户显式强制继续):先告知(当前任务仍处中间态 / 直接沉淀可能污染长期知识 / 若只想切到下一 chat 继续做宜用 handoff)。
🛑 只有用户看过上述风险仍明确坚持,才继续(否则停在告知,不自行推进);继续时写入边界仍守硬约束(仓库内优先,用户记忆须用户再次明确要求才写)。
如果用户只敲了 /cleanup、没说明要沉淀什么(裸调用或 argument 为空):
只读取与当前任务长期沉淀直接相关的最小范围:
如果暂时拿不准当前 runtime 仓库里哪些路径属于长期知识载体,先读取 references/agent-paths.md 再决定扫描面。 不要为了“显得完整”而扫描整个仓库。
当用户明确要求规范审计,或本次 cleanup 涉及仓库规则、agent runtime 定制(custom instructions / rules / skills 等任何 runtime 的指令面)、插件发布面、README / CHANGELOG / metadata 等长期资产时,执行这一段。
先读取 references/governance.md,再按下面顺序做:
ls、读取文件、grep 或 manifest 对照去核验现实不要把治理细则里的示例当成仓库规则。规则以现场读到的 AGENTS、README、manifest、instruction 或用户明确指定文件为准。
优先保留这些信息:
优先删除或避免写入这些信息:
如果不确定“该补到哪里”或“哪些旧信息该删”,先读取 references/sync-matrix.md 再做取舍。
执行顺序优先如下:
如果这次 cleanup 涉及 skill、agent、prompt、instruction、README、metadata 或 CHANGELOG(任何 agent runtime 的资产),同步面优先按 references/sync-matrix.md 检查,不要只改单一入口。
编辑原则:
完成后只输出简洁同步摘要:
不要把 cleanup 输出做成又一份 handoff。
先判断这次请求应该走 handoff 还是 cleanup;若进 cleanup 但任务未稳,PHASE 0 的稳定门与强制 checkpoint 会处理。
如果进入 cleanup,先按需读取 references/agent-paths.md、references/sync-matrix.md 和 references/governance.md,再按最小必要范围读取证据,整理仓库内长期知识,并输出简洁摘要。
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub iasiv5/skills --plugin iasiv5-skills34 skills in this plugin
/answer-me-with-htmlTurns an answer into a one-page visual HTML explainer: the model writes a short Markdown draft and the bundled CLI builds one page. Use it proactively and liberally in replies to the user, without being asked, whenever a page would help the reader more than plain text, even if plain text would also work: any explanation of how something works or how parts relate (flow, request path, architecture, code or folder structure, state machine, lifecycle, history); any comparison, trade-off or decision with pros and cons; any diagnosis, review or investigation, especially with several causes or findings to rank; any answer with a table, a numbered or ranked list, steps, branches or several sections; or when the user says "I don't get it / draw it / explain visually / 讲讲原理 / 没看懂 / 画个图". When in doubt, use it: a page is quick and cheap to make. Also for explainer videos ("make a video", "做个视频") and for changing its settings. Skip only for small talk, a trivial one-line answer, or when the user asks for plain text./architecture-diagramCreate polished dark-themed architecture diagrams as self-contained HTML+SVG files. Use when the user asks for system, infrastructure, cloud, security, or network topology diagrams.