Repo Onboarding
Combine senior-architect (technical intake) + repo-kanban-pm (execution governance).
Workflow
- 1. Technical intake (architecture + dependencies)
- Execution system install (ROADMAP + KANBAN + bug inbox)
- Onboarding report for handoff
Step 1 — Technical intake
Run from target repo root:
CODEBLOCK0
If scripts fail, continue with manual fallback:
- - identify stack (
package.json, pyproject.toml, go.mod, etc.) - capture run/build/test commands
- summarize folder structure and core boundaries in INLINECODE5
Step 2 — Install execution governance
CODEBLOCK1
Optional daily PM audit:
CODEBLOCK2
Step 3 — Create onboarding report
Create docs/pm/ONBOARDING.md using references/onboarding-template.md.
Must include:
- - architecture summary
- dependency risks / circular deps
- run/build/test matrix
- env/config prerequisites
- initial roadmap/kanban status
- first recommended feature slice
Exit criteria
Complete only when all are true:
- -
docs/pm/architecture-assessment.json exists (or manual equivalent documented) - INLINECODE9 exists (or manual equivalent documented)
- INLINECODE10 exists
- at least one
docs/features/<feature>/KANBAN.md exists - INLINECODE12 exists and is actionable
Notes
- - Do not duplicate existing PM systems if repo already has one.
- If an equivalent workflow already exists, integrate with existing conventions and only fill gaps.
- Keep onboarding concise and executable by another agent in <10 minutes.
仓库入职
结合 senior-architect(技术接入)+ repo-kanban-pm(执行治理)。
工作流程
- 1. 技术接入(架构 + 依赖)
- 执行系统安装(路线图 + 看板 + Bug 收件箱)
- 交接入职报告
步骤 1 — 技术接入
在目标仓库根目录运行:
bash
1) 架构评估
python /home/broedkrummen/.openclaw/workspace-cody/skills/senior-architect/scripts/project_architect.py . --output json > docs/pm/architecture-assessment.json
2) 依赖分析
python /home/broedkrummen/.openclaw/workspace-cody/skills/senior-architect/scripts/dependency_analyzer.py . --output json > docs/pm/dependency-analysis.json
3) 架构图(Mermaid)
python /home/broedkrummen/.openclaw/workspace-cody/skills/senior-architect/scripts/architecture
diagramgenerator.py . --format mermaid -o docs/pm/architecture-diagram.md
如果脚本失败,继续使用手动回退方案:
- - 识别技术栈(package.json、pyproject.toml、go.mod 等)
- 捕获运行/构建/测试命令
- 在 docs/pm/ONBOARDING.md 中总结文件夹结构和核心边界
步骤 2 — 安装执行治理
bash
bash /home/broedkrummen/.openclaw/workspace-cody/skills/repo-kanban-pm/scripts/initrepopm.sh $(pwd)
可选的每日 PM 审计:
bash
bash /home/broedkrummen/.openclaw/workspace-cody/skills/repo-kanban-pm/scripts/adddailypm_cron.sh $(pwd) --agent cody --tz UTC --time 09:30
步骤 3 — 创建入职报告
使用 references/onboarding-template.md 创建 docs/pm/ONBOARDING.md。
必须包含:
- - 架构摘要
- 依赖风险 / 循环依赖
- 运行/构建/测试矩阵
- 环境/配置前提条件
- 初始路线图/看板状态
- 首个推荐功能切片
退出标准
仅当以下所有条件为真时完成:
- - docs/pm/architecture-assessment.json 存在(或已记录手动等效内容)
- docs/pm/dependency-analysis.json 存在(或已记录手动等效内容)
- docs/roadmap/ROADMAP.md 存在
- 至少一个 docs/features//KANBAN.md 存在
- docs/pm/ONBOARDING.md 存在且可执行
备注
- - 如果仓库已有 PM 系统,请勿重复创建。
- 如果已有等效工作流程,请与现有约定集成,仅填补空白。
- 保持入职流程简洁,确保另一个代理可在 10 分钟内执行完成。