multi-service-orchestration

PM2 process management, backend/frontend cascade execution, parallel worktree builds, and cross-service integration testing.

509 stars

Best use case

multi-service-orchestration is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

PM2 process management, backend/frontend cascade execution, parallel worktree builds, and cross-service integration testing.

Teams using multi-service-orchestration should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/multi-service-orchestration/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/methodologies/everything-claude-code/skills/multi-service-orchestration/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/multi-service-orchestration/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How multi-service-orchestration Compares

Feature / Agentmulti-service-orchestrationStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

PM2 process management, backend/frontend cascade execution, parallel worktree builds, and cross-service integration testing.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Multi-Service Orchestration

## Overview

Multi-service management methodology adapted from the Everything Claude Code project. Handles service discovery, dependency resolution, PM2 management, cascade/parallel execution, and cross-service testing.

## Service Discovery
- Scan for service directories (packages/, services/, apps/)
- Parse package.json for dependencies and scripts
- Build dependency graph
- Detect package managers per service
- Determine topological execution order
- Flag circular dependencies

## Execution Modes

### Cascade Mode
- Sequential execution following dependency order
- Wait for health check before starting dependents
- Stop on failure with detailed error report
- Support partial cascade (skip healthy services)

### Parallel Mode
- Concurrent execution for independent services
- Optional worktree isolation per service
- Configurable concurrency limit
- Collect all results (continue on individual failures)

### Auto Mode (Default)
- Analyze dependency graph
- Use cascade for services with sequential dependencies
- Use parallel for independent service groups
- Hybrid: cascade between groups, parallel within groups

## PM2 Management
- Generate ecosystem.config.js from service manifest
- Configure per service: name, script, cwd, env, instances
- Start in topological order with health check gates
- Log rotation and restart policies
- Status monitoring: online, stopped, errored

## Cross-Service Testing
- API contract verification (request/response schemas)
- Event bus message flow testing
- Shared state consistency checks
- Authentication across service boundaries
- Circuit breaker behavior validation

## Health Monitoring
- Health check endpoint polling
- PM2 process status monitoring
- Resource usage tracking (CPU, memory)
- Log file error pattern detection
- Inter-service connectivity verification

## When to Use

- Multi-package monorepo development
- Microservice orchestration
- Full-stack application management
- CI/CD pipeline for multi-service deployments

## Agents Used

- `architect` (service discovery and dependency mapping)
- `build-resolver` (individual service builds)
- `e2e-runner` (cross-service integration testing)

Related Skills

multi-cloud-security-posture

509
from a5c-ai/babysitter

Unified cloud security posture management across AWS, Azure, and GCP with normalized metrics and CIS benchmark comparison

Multi-Robot Coordination Skill

509
from a5c-ai/babysitter

Coordination and task allocation for multi-robot systems and fleets

multimedia-learning-design

509
from a5c-ai/babysitter

Apply Mayer's multimedia learning principles to design effective audio, video, graphics, and animations that reduce cognitive load

comsol-multiphysics-modeler

509
from a5c-ai/babysitter

COMSOL finite element skill for multiphysics simulations including electromagnetics, heat transfer, and fluid dynamics

comsol-multiphysics-executor

509
from a5c-ai/babysitter

COMSOL Multiphysics skill for continuum-scale nanomaterial and device modeling

multiple-testing-correction

509
from a5c-ai/babysitter

Multiple comparison correction methods

multiple-calculator

509
from a5c-ai/babysitter

Calculates valuation multiples (EV/Revenue, EV/EBITDA, P/E) with sector adjustments

multi-jurisdiction-tax-calculator

509
from a5c-ai/babysitter

Multi-state and international tax calculation skill with nexus analysis

service-mesh

509
from a5c-ai/babysitter

Service mesh configuration and operations expertise for Istio, Linkerd, and Consul Connect

swarm-orchestration

509
from a5c-ai/babysitter

Multi-agent swarm formation and coordinated execution with topology-aware agent deployment, consensus protocols, and anti-drift enforcement.

maintenance-orchestration

509
from a5c-ai/babysitter

Technical debt management including branch cleanup, doc verification, TODO scanning, and dependency auditing

research-orchestration

509
from a5c-ai/babysitter

Parallel research agent orchestration dispatching 5-10 concurrent agents for comprehensive multi-source research with synthesis and validation.