mcpField
T
team-lead

team-lead

github.com/iankikuAgent workflows1846 installsUpdated 13w ago
Repository

About team-lead

team-lead is a skill for planning and coordinating multi-agent work in a project. It detects project configuration, selects roles and team patterns, and guides task assignment, review, and delivery.

Key features

  1. 01Detect project configuration and stack
  2. 02Choose roles and team composition
  3. 03Assign work and coordinate handoffs
  4. 04Require review gates before completion
  5. 05Consolidate team memory at milestones
  6. 06Guide shipping and pull requests

Use cases

  1. 01Splitting a full-stack feature across roles
  2. 02Coordinating a backend or UI sprint
  3. 03Organizing bug fixes and code reviews

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/iankiku/forwward-teams --skill team-lead

After installing, type/team-leadin Claude Code to confirm it loaded.

Details

From the project README

Team Lead — Compose & Coordinate Agent Teams

Analyze a task, pick the right team shape, spawn agents with the right skills, coordinate work.

Step 0: Detect the Stack and Project Config

Before spawning agents, check for .claude/project.local.json (local override) then .claude/project.json (build commands) and read CLAUDE.md / AGENTS.md for project conventions. Then detect the stack:

${CLAUDE_PLUGIN_ROOT}/scripts/cli init   # creates .claude/project.json if missing

All spawned agents read this file — no per-agent re-detection needed.

Model Tiers

TierModelUse for
ThinksonnetPlanning, architecture, debugging, review, decisions
ExecutehaikuImplementation, commands, edits, fixes, formatting

Default to haiku. Use sonnet only when reasoning depth matters.

Engineering Role Roster

Each role maps to a skill. Spawn the agent and tell it which skill to use.

RoleSkillOwns
Architect/architectSystem design, DB selection, API contracts, project structure
Backend/builditAPI routes, services, business logic, background jobs
Frontend/buildit + /designComponents, UI state, client-side logic, responsiveness
Database/architectSchema design, migrations, query optimization, indexes
API/buildit + /architectEndpoint design, versioning, auth, request/response contracts
UI/UX/designLayout, component patterns, accessibility, visual consistency
Reviewer/reviewCross-cutting quality gate — trust boundaries, N+1s, races
DevOps/devopsCI/CD, Docker, infra, monitoring, deployment
Security/securityAuth, OWASP, compliance, encryption

Business Role Roster

RoleSkillOwns
Strategist/strategyICP, competitive intel, positioning, pricing
Growth/gtmLaunch, viral loops, acquisition
Copywriter/pcp-engine + /voiceLanding pages, email sequences, conversion
Finance/financeUnit economics, burn, runway, models
Sales/salesOutreach, demos, objection handling

Team Recipes

Full-Stack Feature (3-4 agents)

Trigger: New features touching UI + API + DB.

NameModelRoleSkill
architectsonnetAPI contracts, shared types, system design/architect
backendhaikuRoutes, services, DB/buildit
frontendhaikuComponents, UI (blocked by backend API contract)/buildit + /design
reviewersonnetQuality gate after both ship/review
API-Only / Backend Sprint (2 agents)

Trigger: Backend features, API design, DB changes.

NameModelRoleSkill
backendsonnetDesign + implement/architect + /buildit
reviewerhaikuReview after done/review
UI / Design Sprint (2 agents)

Trigger: UI overhaul, component library, design system work.

NameModelRoleSkill
designersonnetLayout, patterns, component spec/design
frontendhaikuImplement (blocked by designer)/buildit
Code Quality (2 agents)

Trigger: Tech debt, security audit, pre-release review.

NameModelRoleSkill
reviewersonnetCorrectness, security, patterns/review + /security
debthaikuDuplicates, dead code, over-engineering/buildit
Bug Hunt (2 agents)

Trigger: Bug fixes, debugging, production incidents.

NameModelRoleSkill
investigatorsonnetRoot cause, reproduction/review
fixerhaikuImplement fix (blocked by investigator)/buildit
Strategic Sprint (2-3 agents)

Trigger: Market research, fundraising, competitive analysis, OKR planning.

NameModelRoleSkill
researchersonnetMarket intelligence, competitors/strategy
strategistsonnetPrioritization, roadmap (blocked by researcher)/cto or /ceo
synthesizersonnetDecisions, OKRs, resource calls (blocked by strategist)/ceo

Workflow

  1. Analyze — Read task, identify roles needed, pick closest recipe (or compose one — cap at 4 agents)
  2. Create team — TeamCreate, then TaskCreate for each work item
  3. Spawn agents — Agent tool with model tier, role, skill instruction, and team name
  4. Coordinate — TaskUpdate to assign, SendMessage for blockers and handoffs
  5. Gate — Each agent runs /gate before declaring done
  6. Memory — After a significant milestone, run /team-memory to consolidate
  7. Ship — Run /shipit to push and open PR

How to instruct an agent to use a skill

When spawning, include the skill in the agent's prompt:

You are the backend engineer on this team. Use /buildit to implement the payments API.
Read the API contract from the architect agent's output before starting.
Run /gate before declaring done.

The agent will invoke the skill by name — no additional wiring needed.

Rules

  • Smallest team possible. 2 agents over 3 when feasible.
  • Skip the team for single-focus tasks — do it yourself.
  • mode: "acceptEdits" for builders and fixers, mode: "default" for reviewers.
  • Never spawn duplicates — shut down stuck agents first.
  • Always assign a reviewer for any work that will be merged.
  • Simple tasks don't need teams. Use judgment.

Comments

Markdown supported