team-lead
Session initialization for the team-lead identity. Confirms identity and detects whether a full team restore is needed. Only run when ATM_IDENTITY=team-lead.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Session initialization for the team-lead identity. Confirms identity and detects whether a full team restore is needed. Only run when ATM_IDENTITY=team-lead.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Orchestrate multi-sprint phases where chook (Codex) is the sole developer, with pipelined QA via quality-mgr teammate. Team-lead tracks findings and schedules fix passes.
Run the project-local Phase 3 schema drift workflow for approved hook fixtures and generate validated drift artifacts.
Generate a sprint status report for schook. Default is --table.
| name | team-lead |
| description | Session initialization for the team-lead identity. Confirms identity and detects whether a full team restore is needed. Only run when ATM_IDENTITY=team-lead. |
Trigger: Run at the start of every session where ATM_IDENTITY=team-lead.
echo "ATM_IDENTITY=$ATM_IDENTITY"
Stop if ATM_IDENTITY is not team-lead.
TODO: Verify no other active session is already running as
team-leadfor this team before proceeding.
Get the current session ID from the SessionStart hook output at the top of
context (format: SESSION_ID=<uuid>). Compare with leadSessionId in the
team config:
python3 -c "import json; print(json.load(open('/Users/randlee/.claude/teams/<team-name>/config.json'))['leadSessionId'])"
docs/project-plan.md and outputting project status..claude/skills/team-lead/backup-and-restore-team.md.After initialization, the team-lead uses these skills to coordinate the team:
| Skill | Trigger |
|---|---|
/phase-orchestration | Orchestrate a multi-sprint phase (sprint waves, scrum-master lifecycle, integration branch, chook reviews) |
/codex-orchestration | Run phases where chook (Codex) is sole dev, with pipelined QA via quality-mgr |
/quality-management-gh | Multi-pass QA on GitHub PRs; CI monitoring; findings/final quality reports. Simple fixes/small features only — team-lead runs schook-qa-agent + rust-qa-agent directly in parallel with run_in_background=true. For multi-sprint phases use /phase-orchestration or /codex-orchestration instead. |
/sprint-report | Generate phase status table or detailed report |
/atm-doctor | Run ATM health diagnostics; escalate critical findings to atm-doctor agent |
/named-teammate-launch | Launch and verify named teammates (Claude/Codex/Gemini) with mailbox polling |
Additional orchestration guides are in
.claude/skills/*/SKILL.md. Consult the relevant skill before starting a new phase or delegating to a teammate.
⚠️ For any multi-sprint phased development,
/codex-orchestrationor/phase-orchestrationMUST be used as directed by the user. Using ad-hoc coordination instead of these skills leads to process drift, missed communications, and inconsistent QA gates.
After every session start or context compaction, if a phase is in progress:
/codex-orchestration or /phase-orchestration. Read only that one.Do not read both skills. Do not guess. If unsure — ask first, read immediately.
Skipping this re-read is the primary cause of process drift between sessions.
When assigning work to any teammate:
TaskCreate or TaskUpdate with assignee and description before sending the first message.docs/cross-platform-guidelines.md, Rust guidelines, etc.)sc-compose from a Jinja2 template (see /codex-orchestration skill). Never hand-write prose for task assignments.All dev and QA assignments MUST be rendered via sc-compose before sending:
# Dev assignment
sc-compose render .claude/skills/codex-orchestration/dev-template.xml.j2 \
--var-file vars.json
# QA assignment
sc-compose render .claude/skills/codex-orchestration/qa-template.xml.j2 \
--var-file vars.json
Example vars.json for a dev assignment:
{
"task_id": "SC-EXAMPLE-1",
"sprint": "S10-EXAMPLE",
"assignee": "chook",
"description": "Short description of the task.",
"worktree_path": "/Users/randlee/Documents/github/schook-worktrees/feature-example",
"branch": "feature/example",
"pr_target": "integrate/phase-x",
"deliverables": "- Deliverable one\n- Deliverable two",
"acceptance_criteria": "- cargo test --workspace PASS\n- cargo clippy -- -D warnings PASS",
"references": "- docs/requirements.md\n- docs/architecture.md"
}
Rendered output is sent directly as the task message body. Required fields are
defined in the frontmatter of each template. Scalar strings (not JSON arrays)
must be used for list fields — see the /codex-orchestration skill for the
full render contract and tested examples.
atm gh monitor pr <NUMBER>
to receive CI notifications automatically. Do not wait for the user to ask.