Skip to content

Latest commit

 

History

History
70 lines (52 loc) · 4.04 KB

File metadata and controls

70 lines (52 loc) · 4.04 KB

编程工作流操作入口

中文 | English

本目录是中文模板、文档、prompt 和操作手册的入口。选择中文后,除共享实现 ../scripts/sync_coding_workflow.py、兼容入口 ../scripts/sync.sh、测试和本仓库 GitHub workflow 外,后续路径都应留在 zh/ 目录树内。

Quick Start

在目标项目仓库根目录运行中文 workflow docs sync:

curl -fsSL https://raw.githubusercontent.com/wlvh/coding-workflow/main/zh/scripts/sync.sh | bash

兼容旧入口仍可用:

curl -fsSL https://raw.githubusercontent.com/wlvh/coding-workflow/main/scripts/sync.sh | bash

普通 sync 完成后,按 zh/scripts/OPERATIONS.md 的 PASS 1 到 PASS 4 执行;PR 提交 agent 先补测试证据,经 seal 的 final gate 封存后再发布 PR。

Skill 使用分三类:Studio 从 clean pinned upstream 直接加载 canonical source; 个人安装默认写用户级目录;团队仓库安装必须显式使用 --scope repo 并先提交独立 安装 PR。安装副本用简单 .source.json 记录 upstream SHA,切换 SHA 前重新安装; mode 边界由单一 harness.py 检查。双平台调用和完整命令见 modes.md

目录地图

路径落盘规则

zh/ 是上游源码前缀,不写入目标项目。sync 安装模板时只剥离开头的 zh/, 剥完后按原路径落盘:

  • zh/AGENTS.md -> <target>/AGENTS.md
  • zh/docs/business_user_guide.md -> <target>/docs/business_user_guide.md
  • zh/.github/pull_request_template.md -> <target>/.github/pull_request_template.md

.github 的内层结构保持不变;只剥语言前缀,不做其他路径重写。

维护边界

中文是锚点,英文是派生层。修改中文模板、prompt、runbook 或开发流程后,应同步检查 英文目录是否需要更新;如果英文暂不覆盖,必须在 PR body 标记 en-pending

根目录 .github/ 只代表本仓库自己的 GitHub infra,不是下游模板源。下游 PR 模板源在 zh/.github/en/.github/