Before you start
Install the plugin: /plugin marketplace add wshobson/agents, then /plugin install error-debugging@claude-code-workflows. Connect GitHub's server in read-only mode at https://api.githubcopilot.com/mcp/readonly, so your agent can look things up and can't post.
Analyse the error first
/error-debugging:error-analysis takes the error text, a stack trace or log as one argument. Its checklist covers reproducing the error, isolating the failure, tracing the call chain, checking recent code changes and testing hypotheses. Ask for analysis only, with no edits yet.
Say to Claude Code/error-debugging:error-analysis [paste the error message and stack trace]. Don't change any files yet.
Find the change behind it
The plugin's error-detective agent correlates errors with deployments. GitHub gives it the history.