clean-slate

仓库创建 2026年7月6日最近提交 21 天前SkillHot 收录 21 天前
▸ 精选理由

适合长期项目或多代代理混乱时清理并恢复可靠知识基线。

▸ 风险提示

会修改或重写项目知识文件,操作前应备份原始文件

这个 Skill 做什么

在知识文件腐化时安全重建代理知识库,基于代码与用户意图验证事实。

当文档、路线图或代理笔记老化、互相矛盾或噪声太多无法修补时,用来安全地把项目知识库从头重建。会先询问是否备份、把现有断言与代码逐条核对,不可信的删掉并重新读取代码与用户意图来重写 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 开发管理知识重建项目重置事实验证通用
0
Stars
0
Forks
1
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/silkyland/clean-slate/main/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/silkyland/clean-slate/main/SKILL.md"
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
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有