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 页面并帮你完成安装。
基于 SOC 职业分类
Orchestrate multi-sprint phases where arch-ctm (Codex) is the sole developer, with pipelined QA via quality-mgr teammate. Team-lead tracks findings and schedules fix passes.
Generate a sprint status report for the current phase. Default is --table.
Reusable QA orchestration skill for GitHub PRs. Use for multi-pass QA, CI monitoring with `atm gh monitor`, one-shot PR reporting with `atm gh pr report`, and template-driven findings/final quality reports.
Orchestrate multi-sprint phase execution as team-lead (ARCH-ATM). Manages sprint waves, scrum-master lifecycle, PR merges, arch-ctm reviews, and integration branch strategy. This skill is for the TEAM-LEAD only, not for scrum-masters.
Launch and verify named teammates that participate in team messaging. Use when setting up a new team member with mailbox polling, troubleshooting why a teammate is not receiving messages, or creating named Claude/Codex/Gemini teammates with team-scoped communication.
Run ATM health diagnostics, present severity-sorted findings, and delegate deep remediation analysis to the atm-doctor agent when critical findings exist.
| 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/atm-dev/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, arch-ctm reviews) |
/codex-orchestration | Run phases where arch-ctm (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 atm-qa-agent + rust-qa-agent directly in parallel. 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.)/codex-orchestration skill) that require:
atm gh monitor pr <NUMBER>
to receive CI notifications automatically. Do not wait for the user to ask.