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 页面并帮你完成安装。
Team-lead drives plan hardening after the current plan state already exists in repo docs.
Repair ATM teammate coordination after same-session compaction or resume when atm-dev still exists on disk and the saved leadSessionId still matches the current SESSION_ID, but named-teammate ATM reachability is broken.
Run or inspect the Phase Z smoke harness for atm-core. Use when implementing or operating `just smoke`, `just smoke fast`, or `just smoke thorough`, when rendering `reports/smoke/*`, when checking the frozen Phase Z row map, or when triaging smoke findings against retained logs and report artifacts.
Create, manage, scan, update, and clean up git worktrees for parallel development with protected branch safeguards. Use when working on multiple branches simultaneously, isolating experiments, updating protected branches (main/develop), or when user mentions "worktree", "parallel branches", "feature isolation", "branch cleanup", "worktree status", or "update main/develop".
Orchestrate atm-core sprint work where team-lead coordinates, arch-ctm is the sole developer, and quality-mgr enforces the QA gate.
Reusable QA orchestration skill for GitHub PRs. Use for multi-pass QA, CI monitoring, and template-driven findings and final quality reports.
| name | team-lead |
| version | 0.2.0 |
| 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 fresh session where ATM_IDENTITY=team-lead.
Do not use this skill for same-session compaction or resume unless the session id
has changed.
echo "ATM_IDENTITY=$ATM_IDENTITY"
Stop if ATM_IDENTITY is not team-lead.
Get the current session id from the SessionStart hook output in context
(SESSION_ID=<uuid>). Compare it 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. Stay silent in
ATM unless teammate action is required. If teammate communications are broken
despite a match, stop and use /restore-team-communications instead of the
full restore flow.clear case where
the live SESSION_ID changed and the saved leadSessionId no longer
matches. Follow the full restore procedure in
.claude/skills/team-lead/backup-and-restore-team.md.After initialization, use these repo-local skills to coordinate work:
| Skill | Trigger |
|---|---|
/phase-orchestration | Orchestrate a multi-sprint phase with fresh scrum-masters |
/codex-orchestration | Run phases where arch-ctm is sole dev, with pipelined QA via quality-mgr |
/plan-hardening | Harden a phase plan and create any missing sprint docs before implementation starts or resumes |
/todo-triage | Run the repo TODO scan during sprint-end or integration review and route TODOs into QA findings/Turtle triage instead of silent deferral |
/triaging-findings | Correlate QA findings across branches before dispatching fixes to arch-ctm |
/quality-management-gh | Multi-pass QA on GitHub PRs; CI monitoring; findings/final quality reports |
/restore-team-communications | Repair same-session Claude teammate routing after compaction or resume without invoking full startup/clear restore |
Additional orchestration guides live in .claude/skills/*/SKILL.md.
For any multi-sprint phased development, /codex-orchestration or
/phase-orchestration must be used as directed by the user.
After every session start or context compaction, if a phase is in progress:
If unsure which orchestration skill applies, ask the user immediately.
When assigning work to a teammate:
arch-ctm only see new ATM messages when they check
mail after their current task completes..claude/skills/quality-management-gh/SKILL.md.