team-lead

Coordinate apply-phase SDD changes with parallel sub-agents and file reservations.

1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/lleontor705/cortex-ia --skill team-lead-lleontor705
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: team-lead
Source: https://github.com/lleontor705/cortex-ia/tree/main/internal/assets/skills/team-lead
Command: npx skills add https://github.com/lleontor705/cortex-ia --skill team-lead-lleontor705

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinates the apply phase execution for SDD changes by coordinating multiple team-leads, launching @implement sub-agents in parallel, managing file reservations, retries, and broadcast completion.

Core Features & Use Cases

  • Independent and dependent modes support: run immediately or wait for upstream groups, with parallel task groups.
  • File reservation and conflict management: detect conflicts, serialize tasks within a group when necessary, and release reservations promptly.
  • Persistence and reporting: persist incremental progress to Cortex, produce consolidated apply reports, and broadcast completion to dependent team-leads.
  • State management and recovery: relies on tb_status and SQLite as the single source of truth for board state.
  • End-to-end orchestration: coordinates task discovery, pre-flight checks, parallel dispatch, retry handling, and finalization.

Quick Start

Start the team-lead coordinator to manage the apply phase for a change using the orchestrator.

Frequently Asked Questions about team-lead

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I coordinate parallel execution of sub-agents during an SDD apply phase?

To coordinate parallel execution of sub-agents during the SDD apply phase, this orchestrator launches multiple @implement tasks simultaneously, manages file reservations, and broadcasts completion to dependent team leads.

What is the best way to handle file conflicts when dispatching parallel task groups?

The best way to handle file conflicts when dispatching parallel task groups is using file reservation and conflict management, which detects conflicts and serializes tasks within a group when necessary.

Can I run dependent task groups immediately or do they need to wait for upstream completion?

You can run dependent task groups in independent mode to execute immediately, or use dependent mode to wait for upstream groups, ensuring reliable completion of the apply phase orchestration.

How does state management and recovery work for persistent task board progress?

State management and recovery for task board progress relies on tb_status and SQLite as the single source of truth, persisting incremental progress to Cortex and producing consolidated apply reports.

Why do my parallel dispatched tasks fail during the apply phase pre-flight checks?

Parallel dispatched tasks fail during pre-flight checks due to file reservation conflicts or missing dependencies, requiring the retry handling mechanism to manage state recovery and ensure reliable completion.

Does this orchestrator support broadcasting completion to dependent team leads?

Yes, this orchestrator supports broadcasting completion to dependent team leads, managing artifact retrieval and releasing file reservations promptly after parallel task groups finish.