debugging-workflows

Diagnose and fix workflow execution issues with actionable remediation steps.

218|6|Updated Nov 8, 2025
One-click install
npx skills add https://github.com/mbruhler/claude-orchestration --skill debugging-workflows
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging-workflows
Source: https://github.com/mbruhler/claude-orchestration/tree/main/skills/debugging-workflows
Command: npx skills add https://github.com/mbruhler/claude-orchestration --skill debugging-workflows

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Workflow failures due to syntax errors, agent issues, or variable problems can be frustrating and time-consuming. This Skill provides systematic debugging tools and guidance to quickly identify, diagnose, and resolve these issues, minimizing downtime and maximizing your productivity.

Core Features & Use Cases

  • Error Diagnosis: Helps identify common workflow issues such as "unexpected token" syntax errors, "agent not found" problems, and variable binding failures.
  • Systematic Debugging Process: Guides you through a proven methodology of reproducing, isolating, inspecting, fixing, and verifying workflow problems to ensure robust solutions.
  • Error Message Interpretation: Provides a clear guide to understanding common error messages, their underlying causes, and actionable solutions.
  • Use Case: Your complex CI/CD workflow is failing with an "Agent 'X' not found" error. This skill will help you check the agent's spelling, verify its existence in temp-agents/ or agents/registry.json, and get your pipeline running smoothly again.

Quick Start

My workflow is failing with an "Unexpected token" error. Help me debug it by checking the syntax around the error location.

Frequently Asked Questions about debugging-workflows

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

FAQPage Schema
How do I fix syntax errors in my workflow?

Syntax errors in workflows typically stem from mismatched brackets, unclosed quotes, or invalid operators. Check the line near the error message for bracket pairs, ensure all strings are properly quoted, and verify operator syntax matches your workflow format. This Skill guides you through isolating and correcting these issues systematically.

Why does my workflow fail with 'agent not found' errors?

Agent invocation failures occur when the referenced agent name is misspelled, doesn't exist in your agents registry, or isn't deployed to the expected location. Verify the agent spelling, check `agents/registry.json` or `temp-agents/` for existence, and confirm the agent is properly registered before workflow execution.

How do I debug variable binding problems in workflows?

Variable failures happen when variables aren't captured, scoped incorrectly, or referenced before assignment. This Skill helps you trace variable capture points, verify naming consistency across steps, inspect variable state at checkpoints, and confirm proper binding before dependent steps execute.

What's the systematic approach to diagnosing workflow execution failures?

Effective workflow debugging follows a proven methodology: reproduce the failure, isolate the failing step, inspect error messages and logs, identify the root cause (syntax, agent, or variable issue), apply a fix, and verify the solution works. This Skill guides you through each stage with diagnostic tools and remediation steps.

Can I use this for parallel execution and checkpoint debugging?

Yes. This Skill covers diagnostics for parallel execution branches, checkpoint handling, and state verification across concurrent steps. It helps identify synchronization issues, checkpoint failures, and variable state problems that arise in complex multi-branch workflows.

What error messages should I watch for in workflow troubleshooting?

Common workflow error messages include 'unexpected token' (syntax), 'agent not found' (agent registration), 'variable undefined' (binding), and execution timeouts (logic or resource issues). This Skill provides clear interpretation of these messages, their root causes, and actionable remediation for each category.