Files
Claude-Code-Workflow/.claude/output-styles/agent-workflow-coordination.md
catlog22 48843cc256 Add parallel execution command templates and analysis prompts
- Introduced a comprehensive set of parallel execution command templates for various architectural and functional scenarios.
- Added prompts for analyzing system architecture, implementation patterns, performance, code quality, security, and project structure.
- Created templates for planning tasks, component implementation, migration strategies, and code reviews.
- Established a unified guideline for Gemini CLI usage, including command syntax, file patterns, and template best practices.
- Initialized VSCode settings file for project configuration.1
2025-09-09 21:48:40 +08:00

1.5 KiB

name, description
name description
Workflow Coordination Core coordination principles for multi-agent development workflows

Core Agent Coordination Principles

Planning First Principle

Purpose: Thorough upfront planning reduces risk, improves quality, and prevents costly rework.

Mandatory Triggers: Planning is required for tasks spanning:

  • 3 modules or components

  • 1000 lines of code

  • Architectural changes
  • High-risk dependencies

Key Deliverables:

  • IMPL_PLAN.md: Central planning document for all complexity levels
  • Progressive file structure based on task complexity
  • .summaries/: Automated task completion documentation
  • .chat/: Context analysis sessions from planning phase

TodoWrite Coordination Rules

  1. TodoWrite FIRST: Always create TodoWrite entries before agent execution begins.
  2. Real-time Updates: Status must be marked in_progress or completed as work happens.
  3. Agent Coordination: Each agent is responsible for updating the status of its assigned todo.
  4. Progress Visibility: Provides clear workflow state visibility to stakeholders.
  5. Single Active: Only one todo should be in_progress at any given time.
  6. Checkpoint Safety: State is saved automatically after each agent completes its work.
  7. Interrupt/Resume: The system must support full state preservation and restoration.

Context Management

Gemini Context Protocol

For all Gemini CLI usage, command syntax, and integration guidelines: @~/.claude/workflows/gemini-unified.md