async-orchestration
Event-driven orchestration patterns for Catalyst: SQS FIFO with dedup, EventBridge rules and schedules, DLQ strategies, Step Functions state machines, retry…
Skill by Cloud-Byte-Consulting
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/cloud-byte-consulting-async-orchestration
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/async-orchestration
What's inside
- Skill name
async-orchestration- Description
- Event-driven orchestration patterns for Catalyst: SQS FIFO with dedup, EventBridge rules and schedules, DLQ strategies, Step Functions state machines, retry policies with tenacity, and async flow design across services. Use when designing message flows, error recovery, or multi-step orchestration.
- License
- BSD-3-Clause
- Instructions
- 212 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
<!-- Vendored from: platform-catalyst/skills/async-orchestration/SKILL.md (BittahCriminal/platform-catalyst, BSD-3-Clause). Adapted for Catalyst: PLAN.md/CLAUDE.md/DECISIONS.md scrubbed; ADR-008->ADR-001, ADR-009->ADR-002. -->
# Async orchestration
## Role
You guide the design and implementation of Catalyst's event-driven architecture — the message flows, queues, schedules, and state machines that connect the 8 services. You enforce async-first patterns from `AGENTS.md` and orchestration principles from *Platform Engineering for Architects* (Ch 5, pp 188-197: sustainable CI/CD, event-driven lifecycle orchestration, subscribing to events).
## Instructions
### 1. Message flow map (from `AGENTS.md` §3-4)
```
GitHub webhook → API GW → webhook-handler (Lambda)
│
├──► SQS FIFO (pr-review queue) → pr-reviewer-consumer (Fargate)
└──► catalyst-api (HTTP) → GitHub Issues state machine
EventBridge rate(1 hour) → ops-intel-collector (Lambda)
│
└──► SQS fan-out → 5 probe Lambdas → S3 raw partitions
│
└──► ops-intel-reporter (Lambda)
→ DDB + SNS digest
Step Functions → deploy-orchestrator (Lambda)
│
├──► ECS UpdateService (blue/green)
├──► ALB ModifyRule (traffic shift)
├──► DDB write (deployment record)
└──► SNS publish (notification)
```
### 2. SQS FIFO patterns
For the PR review queue and webhook processing:
```python
# Sending to SQS FIFO
async def enqueue_pr_review(
sqs: SQSClient,
queue_url: str,
pr_event: PREvent,
) -> str:
response = await sqs.send_message(
QueueUrl=queue_url,
MessageBody=pr_event.model_dump_json(),
MessageGroupId=f"{pr_event.repo}#{pr_event.pr_number}",
MessageDeduplicationId=pr_event.delivery_id,
)
return response["MessageId"]
```
**Key design decisions:**
- `MessageGroupId` = `repo#pr_number` — serializes processing per PR (no concurrent reviews of same PR).
- `MessageDeduplicationId` = GitHub's `X-GitHub-Delivery` header — prevents duplicate processing of the same webhook.
- Visibility timeout = 6x the expected processing time (Fargate PR review ≈ 5 min → 30 min visibility).
### 3. EventBridge rules
```python
# ops-intel collector schedule (defined in Terraform, documented here for context)
# EventBridge rule: rate(1 hour)
# Target: ops-intel-collector Lambda
# Input: {"trigger": "scheduled", "domains": ["s3", "iam", "cloudwatch", "github", "inventory"]}
```
Per *Platform Engineering for Architects* Ch 5 (p191-193, analyzing events): EventBridge rules should be **specific** — one rule per trigger pattern, not a catch-all. Each rule targets exactly one Lambda with a typed input.
### 4. DLQ strategy
Every queue has a Dead Letter Queue:
| Queue | DLQ | Max receives | Action on DLQ |
|-------|-----|-------------|---------------|
| PR review FIFO | `pr-review-dlq` | 3 | Alert via SNS, create `type/incident` Issue |
| Webhook FIFO | `webhook-dlq` | 3 | Alert, log for manual replay |
| Ops-intel fan-out | `ops-intel-dlq` | 2 | Log, include in next digest as "probe failure" |
**DLQ monitoring**: CloudWatch alarm on `ApproximateNumberOfMessagesVisible > 0` triggers the Andon alert. DLQ messages are never silently discarded.
### 5. Step Functions for deploy orchestration
The deploy-orchestrator uses Step Functions for multi-step deployments:
```json
{
"Comment": "Blue/green deploy orchestration",
"StartAt": "ValidateDeployment",
"States": {
"ValidateDeployment": {
"Type": "Task",
"Resource": "arn:aws:lambda:...:deploy-orchestrator",
"Parameters": { "action": "validate", "deployment_id.$": "$.deployment_id" },
"Next": "UpdateECSService",
"Catch": [{ "ErrorEquals": ["ValidationError"], "Next": "FailDeploy" }]
},
"UpdateECSService": {
"Type": "Task",
"Resource": "arn:aws:lambda:...:deploy-orchestrator",
"Parameters": { "action": "update_ecs", "deployment_id.$": "$.deployment_id" },
"Next": "WaitForHealthy",
"Catch": [{ "ErrorEquals": ["States.ALL"], "Next": "RollbackDeploy" }]
},
"WaitForHealthy": {
"Type": "Wait",
"Seconds": 60,
"Next": "ShiftTraffic"
},
"ShiftTraffic": {
"Type": "Task",
"Resource": "arn:aws:lambda:...:deploy-orchestrator",
"Parameters": { "action": "shift_traffic", "deployment_id.$": "$.deployment_id" },
"Next": "BakeMonitor"
},
"BakeMonitor": {
"Type": "Wait",
"Seconds": 1800,
"Next": "CompleteDeploy"From Cloud-Byte-Consulting/Catalyst, BSD-3-Clause.
More from Cloud-Byte-Consulting/Catalyst
- 0.474score
bedrock-converse-client
Cloud-Byte-Consulting
Bedrock runtime Converse/ConverseStream API patterns: message structure, model ID selection, token limits, system prompts, retry with tenacity, error…
SkillCFreshness: CClaude Code +9 - 0.474score
ai-observability
Cloud-Byte-Consulting
Observability for Bedrock AI calls: EMF metrics (BedrockTokensIn, BedrockTokensOut, BedrockLatencyMs), X-Ray subsegments per model call, cost dimension…
SkillCFreshness: CClaude Code +9 - 0.474score
ai-output-validation
Cloud-Byte-Consulting
Pydantic v2 schemas for AI model responses: FindingsReport, StyleReport, SynthesisReport, the parse-retry-drop pattern, confidence scoring, and structured…
SkillCFreshness: CClaude Code +9 - 0.474score
bedrock-binding
Cloud-Byte-Consulting
Bedrock model binding for the Catalyst PR reviewer pipeline, surfaced as a thin stdio MCP server with two tools: bedrock_invoke_converse and…
SkillCFreshness: CClaude Code +9 - 0.474score
encryption-patterns
Cloud-Byte-Consulting
KMS and encryption-at-rest patterns for Catalyst: CMK lifecycle, key policies, service grants, three-key strategy (data, logs, secrets), and encryption…
SkillCFreshness: CClaude Code +9 - 0.474score
fastapi-control-plane
Cloud-Byte-Consulting
FastAPI service patterns for catalyst-api: router organization, pydantic v2 request/response models, construct-scoped path design, IAM auth middleware…
SkillCFreshness: CClaude Code +9 - 0.474score
git-commit-practices
Cloud-Byte-Consulting
Git commit and branch practices for Catalyst that satisfy the challenge's "good Git practices" requirement and the 10% docs/commit-history evaluation…
SkillCFreshness: CClaude Code +9 - 0.474score
adr-writer
Cloud-Byte-Consulting
MADR-format Architectural Decision Records: context, decision drivers, considered options with pros/cons, decision outcome, consequences, and the supersedes…
SkillCFreshness: CClaude Code +9 - 0.474score
checkov-cloud-image-static-analysis
Cloud-Byte-Consulting
Designs Checkov-based static analysis for Terraform/OpenTofu IaC and Dockerfile/container hardening in Catalyst.
SkillCFreshness: CClaude Code +9 - 0.474score
clean-python-code
Cloud-Byte-Consulting
Maintainable Python for Catalyst: tooling discipline, idiomatic patterns, separation of concerns, SOLID boundaries, thin decorators, pragmatic use of advanced…
SkillCFreshness: CClaude Code +9 - 0.474score
container-hardening
Cloud-Byte-Consulting
Multi-stage Dockerfiles, distroless final images, non-root USER, read-only root filesystem, health checks, no :latest tags, vulnerability scanning, and ECS…
SkillCFreshness: CClaude Code +9 - 0.474score
deployment-strategies
Cloud-Byte-Consulting
Blue/green ECS via CodeDeploy, Lambda weighted alias shifting (canary), rollback triggers (alarm-based), pre/post traffic hooks, bake periods, and the…
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 57
- Last commit (this folder)
- May 21, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- BSD-3-Clause
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Cloud-Byte-Consulting
- 0.474score
adr-writer
Cloud-Byte-Consulting
MADR-format Architectural Decision Records: context, decision drivers, considered options with pros/cons, decision outcome, consequences, and the supersedes…
SkillCFreshness: CClaude Code +9 - 0.474score
checkov-cloud-image-static-analysis
Cloud-Byte-Consulting
Designs Checkov-based static analysis for Terraform/OpenTofu IaC and Dockerfile/container hardening in Catalyst.
SkillCFreshness: CClaude Code +9 - 0.474score
bedrock-binding
Cloud-Byte-Consulting
Bedrock model binding for the Catalyst PR reviewer pipeline, surfaced as a thin stdio MCP server with two tools: bedrock_invoke_converse and…
SkillCFreshness: CClaude Code +9 - 0.474score
ai-observability
Cloud-Byte-Consulting
Observability for Bedrock AI calls: EMF metrics (BedrockTokensIn, BedrockTokensOut, BedrockLatencyMs), X-Ray subsegments per model call, cost dimension…
SkillCFreshness: CClaude Code +9 - 0.474score
ai-output-validation
Cloud-Byte-Consulting
Pydantic v2 schemas for AI model responses: FindingsReport, StyleReport, SynthesisReport, the parse-retry-drop pattern, confidence scoring, and structured…
SkillCFreshness: CClaude Code +9 - 0.474score
clean-python-code
Cloud-Byte-Consulting
Maintainable Python for Catalyst: tooling discipline, idiomatic patterns, separation of concerns, SOLID boundaries, thin decorators, pragmatic use of advanced…
SkillCFreshness: CClaude Code +9
Cite this page
async-orchestration skill. Agent Mart. https://agentmart.dev/skills/cloud-byte-consulting-async-orchestration (last updated 2026-10-24)