Files
codestable__codestable/AGENTS.md
T
dafang aedd3213d9 feat: land owner's v2 release line — 2.0.0, ADR-004, v2 contract tests
Absorbed from the owner's working tree (his versions take precedence):
- VERSION 2.0.0, CHANGELOG, plugin manifests, marketplace metadata
- ADR-004 (project knowledge, not runtime distribution; supersedes 001)
  plus ADR-001/002/003 updates
- Three new v2 contract test suites (architecture / documentation /
  experiment-archive integrity) and rewritten skill-contracts,
  cli-distribution (exact retired-set + E2E fixture), selfref suites
- Rewritten root docs (README/WORKFLOW/SKILL_CATALOG zh+en, CLAUDE/AGENTS)
  with v1.0.4 retirement mapping and precise skills-CLI upgrade procedure
- eval-cs-skill v2 adaptation (6 files), build-cs-skill refinements

Full suite: 96 passed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-30 13:38:57 +08:00

1.5 KiB
Raw Blame History

Agent Rules

通用

  • 默认用中文写面向人的回复、报告和文档代码、命令、路径、协议字段、YAML/JSON key 保持原格式。
  • 先读仓库事实和已存在的设计/ADR再改规则或流程不要只凭记忆改 skill 契约。
  • 增加或更新 skill 时,同步检查相关 skill、README/reference、测试和 ADR 中的表述。
  • 保持规则言简意赅,优先写可执行约束,不写口号。

CodeStable Skill 边界

  • skill 是独立安装单元,运行时不能假设能读取 sibling skill 文件。
  • v2 项目知识放在项目文档、ADR 以及 .codestable/attention.mdlessons/work/;不通过 onboard 分发通用 reference。
  • 确定性 helper 放在实际 owning skill 的 scripts/,不得隐式调用 sibling skill 或集中式 onboard runtime。
  • v1 的 .codestable/reference/tools/gates/hooks/runtime-manifest.json 只作 legacy compatibility不要默认删除、覆盖或作为 v2 入口调用。
  • CodeStable skills 不决定默认 worktree/branch 策略该策略由宿主、owner 或独立 skill 决定。
  • 不要把 AGENTS.md/CLAUDE.md 当作 .codestable/attention.md 的替代;项目事实仍应沉淀到对应的 CodeStable artifacts。

验证

  • skill/runtime 改动完成前至少运行相关 pytest 与 git diff --check
  • plugin 分发或退役清单变更还要运行 tests/test_skills_cli_distribution.pytools/check-plugin-package.py