coordinator-patterns

Standardize phase validation, error handling, and TodoWrite progress tracking across coordinator workflows.

2|Updated Nov 26, 2025
One-click install
npx skills add https://github.com/penkzhou/swiss-army-knife-plugin --skill coordinator-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coordinator-patterns
Source: https://github.com/penkzhou/swiss-army-knife-plugin/tree/main/swiss-army-knife/skills/coordinator-patterns
Command: npx skills add https://github.com/penkzhou/swiss-army-knife-plugin --skill coordinator-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a universal pattern that standardizes coordination logic across master-coordinator and review-coordinator roles, ensuring consistent phase validation, error handling, and TodoWrite management.

Core Features & Use Cases

  • Unified phase validation to verify inputs and produce clear error feedback.
  • Consistent error handling across common failure modes such as JSON parsing, timeouts, and user cancellations.
  • TodoWrite-driven progress tracking that moves the workflow through defined phases.
  • Transparent state descriptions and phase-to-phase data propagation for auditability.

Quick Start

Configure all coordinator agents to adopt this pattern to enforce phase validation, error handling, and TodoWrite-based progress tracking.

Frequently Asked Questions about coordinator-patterns

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

FAQPage Schema
How do I standardize phase validation across multiple AI agent coordinator workflows?

Standardize phase validation across AI agent coordinator workflows by applying a reusable pattern that verifies inputs and enforces consistent error handling. This approach ensures coordinator roles maintain reliable and traceable phase progression.

What's the best way to handle errors like JSON parsing failures in AI coordinator workflows?

Handle errors like JSON parsing failures in AI coordinator workflows by using a standardized error handling pattern. It addresses common failure modes including timeouts and user cancellations to ensure consistent coordinator behavior.

How does TodoWrite management work for tracking AI agent workflow phases?

TodoWrite management tracks AI agent workflow phases by moving the workflow through defined stages. This pattern provides transparent state descriptions and phase-to-phase data propagation for complete auditability.

Do I need a specific framework to use coordinator patterns for AI agents?

No specific framework is required to use coordinator patterns for AI agents. The pattern provides a reusable structure that any master-coordinator or review-coordinator agent can adopt to enforce phase validation and progress tracking.

Why should I use a standardized coordinator pattern instead of custom workflow logic?

Use a standardized coordinator pattern instead of custom workflow logic to ensure reliability and traceability across master-coordinator and review-coordinator roles. It enforces structured phase validation, error handling, and consistent progress tracking.

Can I apply coordinator patterns to both master-coordinator and review-coordinator roles?

Yes, you can apply coordinator patterns to both master-coordinator and review-coordinator roles. The pattern aligns both workflows by providing unified phase validation, consistent error handling, and TodoWrite-driven progress tracking.