build-cs-skill
CodeStable skill authoring and evolution protocol. Use when creating, refactoring, simplifying, or reviewing cs-* skills under…
仓库接入 CodeStable:创建最小骨架,或为 v1 存量项目做无损升级说明。
Claude Code
$ npx -y skills add codestable/codestable --skill cs-onboard --agent claude-code
Codex
$ npx skills add codestable/codestable --skill cs-onboard -a codex -y
Cursor
$ npx skills add codestable/codestable --skill cs-onboard -a cursor -y
Gemini CLI
$ npx skills add codestable/codestable --skill cs-onboard -a gemini-cli -y
GitHub Copilot
$ npx skills add codestable/codestable --skill cs-onboard -a github-copilot -y
OpenCode
$ npx skills add codestable/codestable --skill cs-onboard -a opencode -y
Windsurf
$ npx skills add codestable/codestable --skill cs-onboard -a windsurf -y
name: cs-onboard description: 仓库接入 CodeStable:创建最小骨架,或为 v1 存量项目做无损升级说明。
给仓库一个最小的 CodeStable 骨架。规则和纪律都在 skill 包里,项目目录只放项目自己的知识。
.codestable/ ├── attention.md # 每次会话必读的项目事实,≤25 条,从空开始 ├── lessons/ # 沉淀的经验,一条一文件(cs-keep 写入) └── work/ # 活动中的跨会话任务文档,完成即清
创建后确认 `.codestable/` 未被 .gitignore 忽略(它必须入库共享);发现被忽略时停下报告,由用户决定怎么改,不擅自修改 .gitignore。attention.md 初始只写一行标题和一句用途说明,不预置分节模板。`.codestable/epics/` 不属于基础骨架:首次 Epic 优先沿用项目已有 Epic / RFC / initiative 归宿,没有时才由 `cs-epic` 按需创建。
对存量 v1 项目,创建缺失目录后向用户说明三点即可:
1. 旧产物与旧沉淀全部保留;owning task skills 按任务关键词只读检索存在的历史目录并报告命中路径; 2. 新工作不再生成 v1 形态产物(阶段文档、checklist、goal 包),普通任务零产物,跨会话任务一个 work 文档; 3. gate 与 runtime 工具不再由 skill 调用;项目侧 `.codestable/tools/` 若被用户自己的 hook 引用则继续自行维护。
报告创建了哪些文件、保留了哪些存量、`.codestable/` 的 git 状态。不写入任何业务判断。
让 AI 编码在长期项目中保持边界、证据和记忆。 CodeStable 是一组面向严肃软件开发的轻量 skill 契约:不编排 Agent 团队,也不为项目建立第二套文档系统。模型在明确边界内行动,用证据证明结果,并把知识放回项目已有归宿。
CodeStable skill authoring and evolution protocol. Use when creating, refactoring, simplifying, or reviewing cs-* skills under…
CodeStable skill 工程化闭环入口。触发:写/改一个 cs skill、评测 skill 效果、跨 model/agent 量化、优化 skill 提示词、把收敛结论固化回 skill。内部推进…
cs-review 的兼容别名(v1 沿用名)。触发后在当前 agent 中转到 cs-review,不维护独立规则或创建子 agent。
实现新功能或功能改造。不用于纯 bug 修复(cs-issue)、行为等价重构(cs-refactor)、大需求拆解(cs-epic)。
诊断或修复 bug、报错、性能回退或既有行为异常。不用于新功能(cs-feat)或行为等价重构(cs-refactor)。
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.