Skip to main content

/team-ship

Assemble role-based AI teammates to ship ideas from concept to production.


What It Does

Spawns a virtual company of AI teammates — each a role (PM, Backend, Frontend, QA, UX, DevOps, Security) — to ship an initiative from idea to working product. The lead orchestrates teammates through phased execution with dependency management, quality gates, and checkpointing.

Uses Claude Code's Agent Teams feature. Each teammate gets its own context, runs role-specific skills, and communicates with other teammates via messaging.


Usage

/team-ship "AI task manager with natural language input"
/team-ship --track fast "auth system"
/team-ship --detect
/team-ship --roles pm,backend "payment flow"
/team-ship --dry-run "social feed"
/team-ship --resume
/team-ship --track tdd "payment service"

Arguments

ArgumentEffect
[initiative]Idea to build (required unless --detect or --resume)
--track fast8-skill fast track: PM, Backend, Frontend, QA, DevOps
--track full20-skill full track with all roles (default)
--detectRun 5 detect auditors in parallel, then consolidate
--roles role1,role2Select specific roles only
--dry-runPreview team plan without spawning
--track tddTDD track: tdd-writer writes failing tests first, tdd-implementer makes them pass
--resumeContinue from last checkpoint

Prerequisites

Before using team-ship:

  1. Enable agent teams in jaan-to/config/settings.yaml:
    agent_teams_enabled: true
  2. Set environment variable: CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
  3. Initialize project: Run /jaan-init if not already done

Execution Phases

Phase 0 → Setup, validate, build team roster
→ HARD STOP: User approves team composition
Phase 1 → PM defines: PRD + stories
→ HARD STOP: User approves PRD
Phase 2 → Build team works in parallel:
Backend, Frontend, QA, UX (full track)
→ Contract handoff (full track): Backend teammate produces
api_contract_path → consumed by Frontend (scaffold, design,
task-breakdown) and QA (test-cases, contract-validate).
Phase 3 → Integration + DevOps + Security
Phase 4 → Verify, changelog, cleanup

Each teammate shuts down after its phase completes to free context.


Tracks

TrackTeammatesSkillsUse When
--track full720Full product with design + security
--track fast4-58Rapid prototype, skip design steps
--track tdd3-46Test-first development with tdd-writer + tdd-implementer roles
--detect55+1Audit existing codebase
--roles X,YCustomVariesTargeted work on specific areas

Roles

RoleTeammateKey Skills
PMProduct Managerresearch, prd-write, story-write
UXUX Designerflowchart-generate, microcopy-write
BackendBackend Engineertask-breakdown, data-model, api-contract, scaffold
FrontendFrontend Engineertask-breakdown, scaffold, design
QAQA Engineertest-cases, test-generate, test-run, contract-validate
DevOpsDevOps Engineerinfra-scaffold, deploy-activate
SecuritySecurity Engineeraudit-remediate
TDD WriterTest Author (tdd track)test-cases, test-generate (writes failing tests first)
TDD ImplementerImplementer (tdd track)scaffold, implement (makes tests pass)

Role definitions live in skills/team-ship/roles.md. New roles are added automatically via /skill-create.


Output

Path: jaan-to/outputs/team/{id}-{slug}/

FileContent
log.mdOrchestration log with timeline and results
checkpoint.yamlResume state for interrupted runs
plan.mdTeam plan (--dry-run only)

Each role writes to its own output directory (jaan-to/outputs/pm/, jaan-to/outputs/backend/, etc.) — no file conflicts.


Example

Input:

/team-ship --track fast "user authentication with OAuth"

What happens:

1. Lead reads roles.md, builds fast-track roster (4 teammates)
2. User approves team composition
3. PM teammate drafts PRD → user approves
4. Backend + Frontend + QA work in parallel
5. Lead integrates scaffolds, DevOps sets up CI/CD
6. QA runs tests, lead verifies build
7. Changelog generated, team cleaned up

Configuration

Available in jaan-to/config/settings.yaml:

KeyDefaultDescription
agent_teams_enabledfalseEnable agent teams
agent_teams_default_trackfullDefault track (fast/full)
agent_teams_plan_approvaltrueRequire plan approval
agent_teams_quality_gatetrueQuality checks on outputs
agent_teams_teammate_model(inherit)Override teammate model
agent_teams_detect_modelhaikuModel for detect skills

Orchestration Guardrails

  • Fan-out cap: Maximum number of concurrent teammates is capped (default: 5) to prevent resource exhaustion. Configurable via agent_teams_fan_out_cap in settings.yaml.
  • DAG validation: Before spawning, the lead validates the task dependency graph is a valid DAG (no cycles). If cycles are detected, the plan is rejected and the user is asked to resolve the dependency conflict.

Tips

  • Start with --dry-run to preview the team plan before committing
  • Use --track fast for prototyping, --track full for production
  • The --resume flag picks up from the last checkpoint after interruptions
  • Each role uses the optimal model (haiku for detect, sonnet for code gen)
  • Provide a detailed initiative description for better PRD quality