/codestable:cs-onboardfrom codestable
Sets up the CodeStable .codestable/ skeleton for new repositories or upgrades v1 projects without data loss. Creates attention.md, lessons/, and work/ directories.
Ships in codestable. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
给仓库一个最小的 CodeStable 骨架。规则和纪律都在 skill 包里,项目目录只放项目自己的知识。
.codestable/
├── attention.md # 每次会话必读的项目事实,≤25 条,从空开始
├── lessons/ # 沉淀的经验,一条一文件(cs-keep 写入)
└── work/ # 活动中的跨会话任务文档,完成即清
创建后确认 .codestable/ 未被 .gitignore 忽略(它必须入库共享);发现被忽略时停下报告,由用户决定怎么改,不擅自修改 .gitignore。attention.md 初始只写一行标题和一句用途说明,不预置分节模板。.codestable/epics/ 不属于基础骨架:首次 Epic 优先沿用项目已有 Epic / RFC / initiative 归宿,没有时才由 cs-epic 按需创建。
.codestable/roadmap/、.codestable/features/、.codestable/issues/、.codestable/refactors/、.codestable/goals/、.codestable/compound/、.codestable/audits/、.codestable/brainstorms/、.codestable/feedback/,既有 .codestable/requirements/,以及 legacy runtime 资产 .codestable/reference/、.codestable/tools/、.codestable/gates/、.codestable/hooks/、.codestable/runtime-manifest.json 全部原样保留,不删除、不覆盖、不迁移格式。.codestable/ 目录默认只读:不得继续生成、原地改写或批量迁移;新结论进入 v2 Epic、项目文档、ADR 或 lesson。owning task skills 只按当前任务关键词检索存在的历史目录,命中时报告来源路径。.codestable/requirements/ 仅在 .codestable/attention.md 明确记录其为 canonical requirement 位置时可继续维护;owner 首次指定时先记录 attention,否则按只读历史处理。目录不存在时不默认创建。.codestable/ 的仓库只补缺失的 attention.md、lessons/ 与 work/,其余不碰。对存量 v1 项目,创建缺失目录后向用户说明三点即可:
.codestable/tools/ 若被用户自己的 hook 引用则继续自行维护。报告创建了哪些文件、保留了哪些存量、.codestable/ 的 git 状态。不写入任何业务判断。
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
codestable, onboarding, project-setup, scaffolding, migration, upgrade
npx claudepluginhub codestable/codestable --plugin codestable9 skills in this plugin
/csCodeStable 入口。触发:用户调用 cs、想先讨论或对齐、想了解体系、问该用哪个 skill,或带着诉求未选入口。明确行动同轮直转;先讨论的请求收敛后同轮移交。/cs-code-reviewcs-review 的兼容别名(v1 沿用名)。触发后在当前 agent 中转到 cs-review,不维护独立规则或创建子 agent。/cs-epic大需求或系统级能力的路线发现、拆解与长程推进。单个功能走 cs-feat,bug 走 cs-issue。/cs-feat实现新功能或功能改造。不用于纯 bug 修复(cs-issue)、行为等价重构(cs-refactor)、大需求拆解(cs-epic)。/cs-issue诊断或修复 bug、报错、性能回退或既有行为异常。不用于新功能(cs-feat)或行为等价重构(cs-refactor)。/cs-keep管理有证据的项目事实、lesson 生命周期与 canonical 归宿。触发:记录踩坑、教训、调研结论、纠偏,或用户说"记住这个"。Other plugins' skills for the same job