Delegate independent tasks to specialized agents working concurrently with isolated context.
Loom Team Lifecycle Management
loom-team-lifecycle-management
Manage Loom team worker lifecycle from spawn to retire, including ticket assignment, progress tracking, merge operations, and workspace cleanup.
SKILL.md
Full skill instructions
Purpose
Manage complete Loom team worker lifecycle: spawn, assign tickets, track progress, handle merges, retire workers.
When To Use
- You are a team manager for a Loom team (e.g., MiyagiDo)
- Need to manage multiple workers in parallel
- Workers are implementing tickets in isolated worktrees
- Team commands are available
Preconditions
- Loom team initialized:
loom team init <TEAM> - Ticket system initialized:
loom ticket init - Workers available to spawn
Procedure
1. Spawn Workers for Tickets
loom team spawn <TEAM> <TICKET_ID>- Workers handle their own worktree creation
- Monitor team status:
loom team status <TEAM>
2. Track Worker Progress
- Regularly check:
loom team inbox <TEAM> list --to manager --unacked - Capture worker output when needed:
loom team capture <TEAM> <WORKER_ID> - Acknowledge messages:
loom team inbox <TEAM> ack <MESSAGE_ID>
3. Handle Ready for Review
- When worker sends READY_FOR_REVIEW:
- Add manager review note: `loom ticket add-note <id> 'Manager review: ...'
- Enqueue to merge queue:
loom team merge <TEAM> enqueue --ticket <id> --branch <branch> --from-worker <worker> - Close ticket:
loom ticket close <id>(if approval is straightforward)
4. Monitor Merge Queue
- Check merge status:
loom team merge <TEAM> list - When merge completes, acknowledge message from merge worker
5. Ship Changes
- When all tickets merged to merge-queue:
loom team ship <TEAM> - This merges merge-queue to main branch
6. Retire Workers
loom team retire <TEAM> <WORKER_ID>- If retirement fails with workspace cleanup error:
- Check worker worktree status:
git statusin worktree - May need to handle cleanup manually
- Check worker worktree status:
7. Worker Communication
- Send encouragement and next-step guidance via
loom team send <TEAM> <WORKER_ID> 'message' - Workers should be informed of successful merges and retirement
Best Practices
- Spawn workers in priority order (P1 before P2)
- Verify ticket completion before enqueue (check code files exist)
- Keep merge queue clear after shipping
- Document blockers in ticket notes
Gotchas
- Workers may mark tickets complete before actual code exists
- Workspace cleanup can fail with modified/untracked files
- Merge conflicts require resolution in merge worker worktree
- Ship may be NOOP if changes already in main
Examples
Complete Phase 3 P1 tickets:
# 1. Spawn workers
loom team spawn MiyagiDo vp-cf95 # Orchestration engine
loom team spawn MiyagiDo vp-6cf1 # CLI
loom team spawn MiyagiDo vp-7d49 # Scheduling
# 2. Wait for completion
loom team inbox MiyagiDo list --to manager --unacked
# 3. Approve and enqueue
loom team merge MiyagiDo enqueue --ticket vp-cf95 --branch team/vp-cf95 --from-worker w2
loom team merge MiyagiDo enqueue --ticket vp-6cf1 --branch team/vp-6cf1 --from-worker w1
# 4. Ship
loom team ship MiyagiDo
# 5. Retire
loom team retire MiyagiDo w2
loom team retire MiyagiDo w1
Handle workspace cleanup failure:
# Error: contains modified or untracked files
# Solution:
loom team send MiyagiDo w2 'Please clean up your worktree before retirement'
# Or manually check and cleanup
git status .team/runs/MiyagiDo/worktrees/vp-cf95
<!-- END:compound:skill-managed -->
Manual notes
This section is preserved when the skill is updated. Put human notes, caveats, and exceptions here.
More Other skills
brand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
Fundamental design principles for writing maintainable, testable Python code.
responsive-design
Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.
Generate Playwright tests from scenarios using interactive browser exploration and validation.
Automated website exploration and test case generation using Playwright.
Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.
gdpr-data-handling
GDPR-compliant data handling with consent management, data subject rights, and privacy controls.
Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.
refactor-plan
Detailed multi-file refactor planning with safety checks and rollback guidance.
