cleanup
Skill3 starsChanged 2 months agoMITView on GitHub
整理本次任务影响的文档、代码、生成物、临时文件和恢复状态,支持完成、阻塞或交接。检查无漂移可零修改结束,不扩展为全仓清理。
29 other projects use a version of this.
Adopted by
Most recently taken up by
- Integralist/agent-skillstheir own version, first seen Oct 4, 2026
- jesse-merhi/skillstheir own version, first seen Oct 4, 2026
- orbit-collective/orbit-skillstheir own version, first seen Oct 3, 2026
- jantichy/claudetheir own version, first seen Oct 2, 2026
- SantiagoVqz/claude-skillstheir own version, first seen Sep 23, 2026
- elfrost/ai-patchlabtheir own version, first seen Sep 22, 2026
Used with
Projects with it also use next, eval and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
VercelSkillnext
Next.js adapter for embedding emulators directly in a Next.js app via @emulators/adapter-next. Use when the user needs to embed emulators in Next.js, set up same-origin OAuth for Vercel preview deployments, create an emulate catch-all route handler, configure Auth.js/NextAuth with embedded emulators, add persistence to embedded emulators, or wrap next.config with withEmulate. Triggers include "Next.js emulator", "adapter-next", "embedded emulator", "same-origin OAuth", "Vercel preview", "createEmulateHandler", "withEmulate", or any task requiring emulators inside a Next.js app.
Also in 4 projects that use this
qtzx06Skilleval
Evaluate trained YOLO model accuracy with mAP metrics and per-class error analysis. Identifies failure cases for targeted improvement. Use after training.
Also in 3 projects that use this
MicrosoftSkillworktree
Create, reuse or clean up a dedicated git worktree for working on a pull request or a private branch. Use from any PR-scoped workflow that needs an isolated checkout to keep current code and build output untouched.
Also in 3 projects that use this
genomewalkerSkilllearn
Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.
Also in 3 projects that use this
Other versions29 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 29
- ericboy0224/learn-docker-and-k8s★ 486same name
- buildomator/buildomator★ 90same name
- mkanat/skills★ 70same name
- jantichy/claude★ 38same name
- leadgenjay/claude-skills★ 19same name
- ggombee/code-forge★ 18same name
- sauravpanda/bonsai★ 9same name
- nicolasestrem/antigravity-gemini-skills★ 8same name
- Integralist/agent-skills★ 3same name
- jesse-merhi/skills★ 3same name
19 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- autoresearchSkill
- brainstormSkill
- capability-recommenderSkill
- diagnoseSkill
- find-skillsSkill
- handoffSkill
- harness-builderSkill
- implementSkill
- planSkill
- remove-deadcode-pySkill
- researchSkill
- reviewSkill
- shipSkill
- sweepSkill
- tddSkill
- writing-for-agentsSkill
The file
Files
Knowledge Cleanup
使本次任务的记录与实际结果一致。完成、阻塞、放弃和交接都可整理,不要求先获得 ready 才能记录未完成工作。
流程
- 明确本任务/轨道及其权威入口;无持久任务记录时可直接检查本次 diff。多个独立轨道可同时 active,不修改其他轨道来凑唯一工作面。
- 只检查本次改变影响的 README、指令、接口文档、生成物和已有恢复记录。只有证据显示跨文档漂移或用户要求全量整理时扩大范围。
- 清理本任务引入的代码遗留:死代码、未用导入和依赖、被替代的旧实现、孤儿脚本与过期生成物。删除以引用证据为准,删后跑针对性检查确认行为不变;会改变行为的清理转
implement修复路径,不当作纯整理。 - 任务关闭(complete/abandoned/blocked/换轨)走退休契约四步,同一 commit 内完成:翻行 → lessons 继承(本轨道计划/Spec 的非显然经验先蒸馏,含未批准/放弃件)→ 删本轨道 plan/Spec 文档,含未批准与放弃件(git 历史即归档)→ state 同步(保留最后快照,Status 随行翻转)。删除前置=改动已 commit 进主树且 lessons 继承完成;入度守卫=只删唯一入边来自本退休轨道的文档,多入边翻指针不删;既有归档目录(docs/archive/ 类)内容一律归 needs-review 待人裁,不入可删档;ADR 不删,补 superseded-by。文档活判据=可达性(被恢复面状态文件或持久入口引用)。untracked 文件不走删除,处置出口=补 commit 或补 .gitignore 二选一。非 harness backend(tracker/existing/feature-list 等)降级映射:翻行=把 tracker 原生状态翻到对应终态,其余各步对应件(lessons、plan/Spec 文档、state)缺省即跳过该步,退休纪律不因缺件整体失效。四步按件适用:本轨道无 plan/Spec 文档 → 删除步为空;无带触发条件的非显然经验 → lessons 继承记「无新增」;翻行与 state 同步两步任何情形不省。
- 清理本任务创建且已无用途的 scratch。未知归属或仍有用途的文件保留并说明;不因为 untracked、旧日期或临时命名就删除。
- 生成物通过现有生成器更新,仅在输入变化时重建。无差异可零修改完成。本次新踩的坑(环境、流程、依赖)按 lessons 格式落笔到项目恢复面的 lessons;项目为 harness backend 而 lessons 文件不存在时,随首次落笔创建(三段式:触发 → 坑 → 正确做法),失效条目随手删。
- 报告任务状态、修改/归档、保留事项及恢复入口。不得把 cleanup 完成写成原任务已完成。
按需读取
- 计划过期:
references/doc-shelves.md。 - 临时文件归属:
references/entropy-checklist.md。 - 交接:
references/handoff-hygiene.md。 - 领域风险:
../review/references/cross-cutting-anti-patterns.md(未安装 review 时跳过此参考,按本文件流程与证据规则执行)。
Recommended next skill
- 整理完成:结束。
- 仍有已授权行为修改:
implement;未知失败:diagnose。 - 用户显式要求全仓 Python 死代码清理:
remove-deadcode-py;其他生态直接用对应工具(JS/TS knip、Godeadcode、Rust cargo-machete)。 - 用户显式要求全仓对账/盘点/大扫除,或发现跨文档漂移、用户要求全量整理:
sweep。 - 新增工作超出任务:记录后续事项,不自动执行。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

