clean-slate
适合长期项目或多代代理混乱时清理并恢复可靠知识基线。
会修改或重写项目知识文件,操作前应备份原始文件
在知识文件腐化时安全重建代理知识库,基于代码与用户意图验证事实。
当文档、路线图或代理笔记老化、互相矛盾或噪声太多无法修补时,用来安全地把项目知识库从头重建。会先询问是否备份、把现有断言与代码逐条核对,不可信的删掉并重新读取代码与用户意图来重写 AGENTS.md、ARCHITECTURE.md、ROADMAP.md。特别强调只信两样东西:代码现状和用户当下意图,且有严格的安全保护流程。
▸ 展开 SKILL.md 英文原文
Re-initializes a project's agent knowledge from scratch when the existing knowledge files (CLAUDE.md, AGENTS.md, cursor rules, architecture docs, roadmaps, old plans) have rotted, contradict the code, or accumulated too much noise to patch. Salvages still-true facts by verifying them against the code, asks the user about backup before deleting anything, re-reads the actual codebase fresh, interviews the user on the intended direction, and rebuilds strong AGENTS.md, docs/ARCHITECTURE.md, and ROADMAP.md. Use when the user asks to reset, re-initialize, or rebuild project knowledge or architecture docs, says the docs are stale or wrong, or mentions clean-slate or /clean-slate.
帮我安装这个 skill:https://raw.githubusercontent.com/silkyland/clean-slate/main/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/silkyland/clean-slate/main/SKILL.md"# Clean Slate Knowledge files rot: plans outlive their implementation, rules contradict the code, three generations of agents each left their own notes. Past a point, patching costs more than rebuilding. This skill burns it down **safely** and rebuilds from the only two sources that matter: **the code as it is, and the user's intent as they state it today.** ## Safety rules (non-negotiable) This skill deletes files. Therefore: 1. **Never delete anything before the user has confirmed BOTH the exact file list AND a backup decision.** Present the list, ask about backup (with a recommended answer), wait for explicit confirmation. No confirmation, no deletion. 2. **Never delete human