Use when fixing bugs, errors, or unexpected behavior. Launches parallel diagnostic agents then a specialist to fix. Use for any issue that starts with "X is broken", "X doesn't work", error reports, or failing tests.
From zenflownpx claudepluginhub brewpirate/zen-flow --plugin zenflowThis skill uses the workspace's default tool permissions.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Diagnose and fix bugs using a 4-agent pipeline: two diagnostic agents analyze the problem in parallel, a specialist writes the fix, and a code reviewer verifies quality.
Announce at start: "I'm using the zenflow:bug-fix skill to diagnose and fix this issue."
Before launching agents, confirm the bug:
Launch two agents in parallel via Agent tool:
Agent 1 — error-detective (subagent_type: error-detective)
Agent 2 — error-coordinator (subagent_type: error-coordinator)
Based on diagnostic results, select the specialist agent type:
agents array from .claude/zen.local.md, match the affected file path against each entry's dir, use that entry's agent field.claude/agents/*.md and ~/.claude/agents/*.md, read each file's name and description, match the bug's location and domain to the most relevant agentgeneral-purposeInform the user which agent was selected and why. If falling back to discovery or default:
"No config match for this bug domain — using [agent]. Run
/zenflow:initto generate agent assignments, or add an entry to your zen.local.md config."
Launch the specialist agent with:
The specialist must:
Launch a code-reviewer agent (subagent_type: Code Reviewer) with:
The reviewer checks:
If the reviewer finds issues: send feedback to the specialist agent to fix, then re-review.
Run zenflow:check-work skill to pass all quality gates.
Declare STUCK — do not keep retrying — when:
When marking STUCK, report: