Cursor / Claude Code / Codex can spit out 47 markdown files in one afternoon — but your PRD got rewritten three times, your module specs each invented their own format, and most plans were never read again. LLMs aren't unreliable. They just have no schema to follow. docs-cockpit gives every AI-written doc one frontmatter schema, validates on disk-write, and turns your docs folder into a single-file kanban dashboard. Cursor / Claude Code / Codex 一下午能产出 47 个 markdown 文件,但 PRD 改过三版、module spec 各自为政、plan 写完没人回看—— 大模型不是不靠谱,是没人给它定规范。 docs-cockpit 用一份 frontmatter schema 约束所有 AI 写的 md,落盘前自动校验,文档目录一键变成单文件可视化看板。
Why you need it 为什么 AI 时代需要它
It's that LLMs invent a new format every time you ask. No schema = AI is the least reliable teammate you've ever had. You don't need more management tools — you need one spec AI is forced to obey. 是大模型每次写文档的字段、命名、格式都不一样——没有 schema 约束,AI 是最不可靠的"同事"。 你需要的不是更多管理工具,是一份规范让 AI 强制对齐。
plan-01.md uses status: in-progress, plan-02.md uses state: doing, plan-03.md has no status field at all.
每次问 AI "怎么写这个 plan",它都给你一套新格式。status: 进行中,plan-02.md 用 state: in-progress,plan-03.md 干脆没有状态字段。
docs-cockpit-author skill before writing anything — required fields, naming rules, status enum all defined there.
AI doesn't invent rules. It executes them.
AI 写任何文档前,先读一份 docs-cockpit-author skill——里面规定了所有必填字段、命名规则、状态枚举。
AI 不再发明规则,它执行规则。
progress: 60 and status: done. The contradiction is invisible to your eyes.validate_meta(). Status × progress invariant fails — immediate error:❌ M07.md · status:done conflicts with progress:60
每次 build 跑 validate_meta(),状态 × 进度的不变式不通过直接报错:❌ M07.md · status:done 与 progress:60 矛盾
docs/. Nobody can tell at a glance where the project is.docs-cockpit build. The folder becomes one HTML:docs-cockpit build,整个目录变成一个 HTML:Core capabilities 核心能力
v0.14 keeps evolving docs-cockpit beyond a "project visualizer" to an "AI co-pilot cockpit". Every capability maps to a real wall vibe coders hit. v0.14 持续把 docs-cockpit 从"项目状态可视化"演进为"AI 协作驾驶舱"。每个能力都对应一个 vibe coding 实际会撞墙的场景。
Missing required fields, status × progress conflicts, unknown keys — all caught at build time. Error messages point to the exact line of the author skill, so AI can read its own error and fix itself.必填字段缺失、status×progress 矛盾、未知字段——全部在 build 阶段拦截。错误信息指向 author skill 第几条,AI 看到错误能自己改。
Four skills cover four scenarios: setup / authoring / weekly / status. The skills ARE the conventions — AI no longer asks you "what frontmatter to use".4 个 skill 覆盖 4 个场景:setup / 写文档 / 出周报 / 查状态。skill 是规范的载体——AI 不用每次问你"frontmatter 应该咋写"。
Each subtask renders a ready-to-paste prompt (context + code anchors + linked docs). Click Copy → paste into Claude Code / Cursor / Codex → AI executes.每个子任务渲染好的 prompt(含上下文+代码锚点+关联文档),点 Copy 粘贴到 Claude Code / Cursor / Codex 就能让 AI 直接执行。
"Have AI audit my anchor precision" — CLI agents drop a YAML patch directly; browser LLMs output the patch for you to copy. Engineer-in-the-loop, one-click round-trip."让 AI 帮我审一遍代码锚点对不对"——CLI agent 直接落 patch;浏览器 LLM 输出 patch 给你复制。一键交回,工程师在场内。
~/.docs-cockpit/ registers every project, weekly snapshots run automatically, AI composes a cross-project weekly with WoW diff (newly done / blocked / progress jumps / new modules).~/.docs-cockpit/ 注册所有项目,每周快照一次,AI 自动生成跨项目周报+周环比 diff(新完成/新阻塞/进度跃升/新增模块)。
No server, no SSG, no JS framework, zero network at runtime. Commit the dashboard to git — anyone who clones can double-click and see it.不要服务器、不要 SSG、不要 JS 框架、运行时不发任何网络请求。生成的 dashboard 提交到 git,团队任何人 clone 下来双击就看到。
30-second setup 30 秒上手
Same Python CLI underneath. Claude Code users get it in one command; other AI editors install via uv / pipx / pip. 底层是同一个 Python CLI——Claude Code 用户一行命令搞定;其他 AI 编程工具用户用 pip / uv / pipx 装 CLI 即可。
Install the plugin in Claude Code, then say "make a dashboard for my docs folder" — it handles Python bootstrap automatically. 在 Claude Code 里直接装插件,跟它说"帮我把 docs 做成 dashboard",它自己处理 Python 装机。
Install the Python CLI yourself — uv / pipx / pip, pick one. Then init the config. 手动装 Python CLI——uv / pipx / pip 三选一,然后初始化配置文件。
▍ Native packaging for Codex CLI / Codex App / Factory Droid / Gemini CLI / OpenCode / GitHub Copilot CLI is on the roadmap. The schema/validator/spec are all agent-agnostic. ▍ Codex CLI / Codex App / Factory Droid / Gemini CLI / OpenCode / GitHub Copilot CLI 的原生打包在路线图上,schema/validator/spec 都是 agent-agnostic 的。
Who this is for 这个工具是给谁的
AI has rewritten the demographic of "people who work in markdown" — indie devs, PMs, content creators, knowledge workers all produce markdown at scale through AI. docs-cockpit gives every one of them the same visualization layer. AI 改写了"用 markdown 工作"的人口结构——独立开发者、PM、内容创作者、知识工作者,都在用 AI 大量产出 markdown。docs-cockpit 给所有这些场景一个统一的可视化层。
You're the core user. Heavy Cursor / Claude Code / Codex use, multiple projects in parallel, allergic to monthly SaaS fees. The 4 skills + 7 slash commands are designed for you.你是核心用户。Cursor / Claude Code / Codex 重度依赖,多项目并行,最讨厌 SaaS 月费。docs-cockpit 的 4 个 skill + 7 个 slash 命令是为你设计的。
▶ 30s Quickstart▶ 30 秒上手You don't write code, but you use ChatGPT / Claude to draft requirements, write plans, build OKRs. Your markdown piles up. docs-cockpit lets AI turn it all into a board — no Notion team subscription needed.你不写代码,但用 ChatGPT / Claude 整理需求、写策划、做 OKR。markdown 越攒越多,docs-cockpit 让 AI 帮你把它们做成看板,不用买 Notion 团队版。
▶ See PM-scenario FAQ▶ 看 PM 场景 FAQClaude Code is the easiest entry to AI coding. With the docs-cockpit plugin, you say one sentence — AI installs Python, runs commands, opens the browser. You only see the result.Claude Code 是最适合入门的 AI 编程工具。装好 docs-cockpit 插件后,你跟 AI 说一句话,它会自己装 Python、自己跑命令、自己开浏览器——你只需要看结果。
▶ One-command install▶ Claude Code 一键装v0.14 is a rare "complete answer" in the vibe-coding engineering direction: skill + validator + dashboard + portfolio + bilingual + 118 unit tests + CI matrix. Architecture diagrams and CHANGELOG are ready material.v0.14 是 vibe coding 工程化方向上少见的"完整答卷":skill + validator + dashboard + portfolio + bilingual + 118 单测 + CI 矩阵。架构图和 CHANGELOG 直接可用作素材。
▶ Read CHANGELOG▶ CHANGELOG 看深度Common questions 常见问题
Not on the list? File an issue on GitHub. 如果你的问题不在下面,欢迎到 GitHub Issues 留言。
validate_meta() and emits three severities:id)desc weakens "Copy prompt" context)💡 fix suggestion and a 📚 see spec reference — AI sees the error and fixes itself.
这是 docs-cockpit 专门解决的问题。每次 build 都会跑 validate_meta(),输出三级问题:id 缺失)💡 fix 修复建议和 📚 see 规范引用——AI 看到错误能自己改。
docs/plans/ / docs/RFC/?
已有的 docs/plans/ docs/RFC/ 目录怎么迁移?
docs-cockpit skill triggers the migrate flow — dry-runs first, shows what will move where, confirms, then git mv + frontmatter scaffold injection. All in git history, fully reversible.
跟你的 AI 说"用 docs-cockpit 接管这个项目"。docs-cockpit skill 会触发 migrate 流程:先 dry-run 给你看会动哪些文件,确认后 git mv 重命名 + 注入 frontmatter scaffold,全程在 git 历史里可追溯。
docs-cockpit lint emits structured stdout (error/warn/hint), and --strict exits non-zero on errors — drop it into GitHub Actions or a pre-commit hook. state.json is a stable machine-readable sidecar (0.2.0+ only adds fields, never removes) — external tools read it for invariant checks. This repo itself ships a 9-cell CI matrix (3 Python × 3 OS) + 118 unit tests, directly usable as a reference.
可以。docs-cockpit lint 输出 stdout 三段式(error/warn/hint),且 --strict 模式会因 error 退出非零——直接接到 GitHub Actions / pre-commit hook 都行。state.json 是稳定的机器可读 sidecar(0.2.0+ 只加字段不减字段),外部工具读它做不变式检查。v0.14 仓库本身就有 9-cell CI 矩阵(3 Python × 3 OS)+ 118 单测,可以直接参考。
MIT license. Python. One-command install for Claude Code. Give your project a cockpit. MIT 协议、Python 实现、Claude Code 一行命令装。给你的项目装一个驾驶舱。