agent-workflow-designer
$
npx mdskill add alirezarezvani/claude-skills/agent-workflow-designerDesign robust multi-agent pipelines with pattern selection and failure handling.
- Architects build deterministic workflows for complex tasks requiring specialist agents.
- The skill generates skeleton configs and orchestrators for fast bootstrapping.
- Recommendations stem from analyzing workflow complexity and context constraints.
- Output includes operational documentation and error recovery strategy scaffolding.
SKILL.md
.github/skills/agent-workflow-designerView on GitHub ↗
--- name: "agent-workflow-designer" description: "Design production-grade multi-agent workflows with clear pattern choice (sequential, parallel, hierarchical), handoff contracts, failure handling, and cost/context controls. Use when architecting a multi-step agent pipeline, choosing between single-agent vs multi-agent approaches, or refactoring an LLM workflow that suffers from context bloat or unreliable handoffs." --- # Agent Workflow Designer **Tier:** POWERFUL **Category:** Engineering **Domain:** Multi-Agent Systems / AI Orchestration --- ## Overview Design production-grade multi-agent workflows with clear pattern choice, handoff contracts, failure handling, and cost/context controls. ## Core Capabilities - Workflow pattern selection for multi-step agent systems - Skeleton config generation for fast workflow bootstrapping - Context and cost discipline across long-running flows - Error recovery and retry strategy scaffolding - Documentation pointers for operational pattern tradeoffs --- ## When to Use - A single prompt is insufficient for task complexity - You need specialist agents with explicit boundaries - You want deterministic workflow structure before implementation - You need validation loops for quality or safety gates --- ## Quick Start ```bash # Generate a sequential workflow skeleton python3 scripts/workflow_scaffolder.py sequential --name content-pipeline # Generate an orchestrator workflow and save it python3 scripts/workflow_scaffolder.py orchestrator --name incident-triage --output workflows/incident-triage.json ``` --- ## Pattern Map - `sequential`: strict step-by-step dependency chain - `parallel`: fan-out/fan-in for independent subtasks - `router`: dispatch by intent/type with fallback - `orchestrator`: planner coordinates specialists with dependencies - `evaluator`: generator + quality gate loop Detailed templates: `references/workflow-patterns.md` --- ## Recommended Workflow 1. Select pattern based on dependency shape and risk profile. 2. Scaffold config via `scripts/workflow_scaffolder.py`. 3. Define handoff contract fields for every edge. 4. Add retry/timeouts and output validation gates. 5. Dry-run with small context budgets before scaling. --- ## Common Pitfalls - Over-orchestrating tasks solvable by one well-structured prompt - Missing timeout/retry policies for external-model calls - Passing full upstream context instead of targeted artifacts - Ignoring per-step cost accumulation ## Best Practices 1. Start with the smallest pattern that can satisfy requirements. 2. Keep handoff payloads explicit and bounded. 3. Validate intermediate outputs before fan-in synthesis. 4. Enforce budget and timeout limits in every step.
More from alirezarezvani/claude-skills
- a11y-auditAccessibility audit skill for scanning, fixing, and verifying WCAG 2.2 Level A and AA compliance across React, Next.js, Vue, Angular, Svelte, and plain HTML codebases. Use when auditing accessibility, fixing a11y violations, checking color contrast, generating compliance reports, or integrating accessibility checks into CI/CD pipelines.
- ab-test-setupWhen the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "conversion experiment," "statistical significance," or "test this." For tracking implementation, see analytics-tracking.
- ad-creativeWhen the user needs to generate, iterate, or scale ad creative for paid advertising. Use when they say 'write ad copy,' 'generate headlines,' 'create ad variations,' 'bulk creative,' 'iterate on ads,' 'ad copy validation,' 'RSA headlines,' 'Meta ad copy,' 'LinkedIn ad,' or 'creative testing.' This is pure creative production — distinct from paid-ads (campaign strategy). Use ad-creative when you need the copy, not the campaign plan.
- adversarial-reviewerAdversarial code review that breaks the self-review monoculture. Use when you want a genuinely critical review of recent changes, before merging a PR, or when you suspect Claude is being too agreeable about code quality. Forces perspective shifts through hostile reviewer personas that catch blind spots the author's mental model shares with the reviewer.
- aeoAnswer Engine Optimization (AEO) skill — optimize content to be cited by AI language models (ChatGPT, Perplexity, Claude, Gemini, Mistral) as authoritative sources. Distinct from SEO — AEO optimizes for citation in LLM-generated responses, not search rankings. Use when planning content for AI-first search audiences, auditing existing content for E-E-A-T signals, tracking which pages get cited by which LLMs, or building a citation-friendly content strategy. Triggers — 'AEO audit', 'optimize for ChatGPT', 'get cited by Perplexity', 'LLM citation strategy', 'answer engine optimization', 'content for AI search', 'E-E-A-T audit'. Output is a markdown audit report (default) or JSON for pipeline integration. Stdlib-only Python tools.
- agent-designerUse when the user asks to design a multi-agent system, pick an orchestration pattern (supervisor/swarm/pipeline), generate tool schemas for agents, or evaluate agent execution logs for cost, latency, and failure bottlenecks. Examples: 'design an agent architecture for research automation', 'generate Anthropic tool schemas from these tool descriptions', 'analyze these agent run logs for bottlenecks'. NOT for Claude Code workflow files (use workflow-builder) or single-agent prompt design (use agent-workflow-designer).
- agent-protocolInter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, and response formats. Use when C-suite agents need to query each other, coordinate cross-functional analysis, or run board meetings with multiple agent roles.
- agenthubMulti-agent collaboration plugin that spawns N parallel subagents competing on the same task via git worktree isolation. Agents work independently, results are evaluated by metric or LLM judge, and the best branch is merged. Use when: user wants multiple approaches tried in parallel — code optimization, content variation, research exploration, or any task that benefits from parallel competition. Requires: a git repo.
- agile-product-ownerAgile product ownership for backlog management and sprint execution. Covers user story writing, acceptance criteria, sprint planning, and velocity tracking. Use when writing user stories, creating acceptance criteria, planning sprints, estimating story points, breaking down epics, or prioritizing the backlog.
- ai-act-readiness/cs:ai-act-readiness <system> — EU AI Act 6-question forcing interrogation. Use during AI-system intake, before EU deployment, or during annual compliance refresh as Article 113 obligations phase in (2025-02-02 / 2025-08-02 / 2026-08-02 / 2027-08-02).