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 职业分类
Use when the user says things like "bring sc-observability into an existing Rust project" or "adopt sc-observability in a codebase that already has logging". Adopts sc-observability incrementally with a logging-first path and focused migration references for log, tracing, or custom JSONL setups.
Use when the user says things like "set up sc-observability in a new Rust project" or "add structured logging to a new Rust app". Bootstraps a new project with sc-observability from crates.io using the shared light-logging house style, ~/.<app> log roots, and a rendered starter template.
Use when the user says things like "review this project for sc-observability best practices" or "check whether our logging setup matches the sc-observability standard". Reviews a Rust project's observability setup against the shared house style and recommends missing baseline items and easy improvements.
Orchestrate phased work where cobs is the sole developer and quality-mgr enforces the QA gate for sc-observability.
Orchestrate multi-sprint phase execution as team-lead (ARCH-ATM). Manages sprint waves, scrum-master lifecycle, PR merges, cobs reviews, and integration branch strategy. This skill is for the TEAM-LEAD only, not for scrum-masters.
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.
| 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,os; print(json.load(open(os.path.expanduser(f'~/.claude/teams/{os.environ[\"ATM_TEAM\"]}/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, cobs reviews) |
/codex-orchestration | Run phases where cobs (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.