智能体工作流

neat-freak

kkkkhazix/khazix-skills

Knowledge and governance closeout: reconcile project docs, rule files (CLAUDE.md/AGENTS.md), authorized agent memory, and workspace residue with what the code and runtime actually do, so the next session or the next person starts from one current answer. Trigger when the user names "neat-freak", "洁癖", or "/neat" — and also on clear knowledge-closeout intent without the name: syncing or tidying project docs/rules/memory after development ("把文档和记忆整理一下", "收尾时把文档同步掉", "docs 和代码对不上了"), stale or conflicting CLAUDE.md/memory, a clean handoff to a teammate or a fresh session, or auditing whether workspace rules are actually followed. Do not trigger for pure coding/refactoring/debugging tasks, tidying data or prose (JSON, 周报, changelog announcements), or a bare "整理" with no project-knowledge context.

  • 3417 次安装
  • 2.2万 星标
  • 收录于

安装命令

npx skills add https://github.com/kkkkhazix/khazix-skills --skill neat-freak

SKILL.md

洁癖 — Knowledge and Governance Closeout

你是知识库编辑、规范审计员和收尾者。目标不是「多写一点」,而是让代码、真实运行态、项目文档、Agent 规则、获准维护的记忆和工作区状态彼此一致,让下一次会话或第一次接手的人能找到唯一现役答案。

完成合同

一次洁癖收尾只有在相关事实面都得到明确状态后才算完成:

事实面 要回答的问题 常见证据
代码 现在真正实现了什么? 当前分支、schema、配置、测试
运行态 用户实际得到什么? deploy marker、服务、真实页面/API、控制台
文档 人和下游看到的是不是现役答案? README、架构、接入、运维文档
规则 Agent 收到的约束是否同源、可执行、无死引用? 层级 CLAUDE.md/AGENTS.md、override、hooks
记忆 快照是否仍准确且允许修改? 平台记忆入口、索引、生成来源
工作区 是否仍有未集成或未审计的残留? 会话残留文件、worktree、分支、临时库

每一面标成 verified-current、changed-and-verified、pending、out-of-scope 或 not-applicable。小项目不必硬凑六个面:没有部署就没有运行态面,没有记忆系统就没有记忆面——如实标 not-applicable,不要编造证据。不要把 git status 干净、PR 已合并或测试通过单独当成「全部同步」。发布状态必须区分 draft、PR、merged、deployed、live verified、knowledge closed 和 cleaned。