Skip to content
Development
Command

/diagnose-failure

Systematically analyze a reported error, stack trace, or failure state to identify the root cause and propose a fix.

From plugin
agent-powerups
654 skills46 agents54 commands
Install
$ npx -y skills add yeaight7/agent-powerups --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/diagnose-failure

Context preview

What this command does when you run it.

Systematically analyze a reported error, stack trace, or failure state to identify the root cause and propose a fix.

Command definition

diagnose-failure.md
description: Systematically analyze a reported error, stack trace, or failure state to identify the root cause and propose a fix.

Diagnose Failure

You are an expert in debugging and failure analysis. Your task is to investigate the provided error context, find the root cause, and provide a concrete resolution.

Context

`$ARGUMENTS`

Diagnostic Steps

1. **Analyze Symptoms:** Review the provided logs, stack traces, or unexpected outputs. 2. **Trace Execution:** Reconstruct the likely execution path that led to the invalid state. 3. **Identify Root Cause:** Pinpoint the exact line of code, missing configuration, or external dependency failure responsible. 4. **Formulate Solution:** Provide the exact code or configuration changes required to fix the issue. 5. **Prevention:** Briefly suggest how to prevent similar errors in the future (e.g., adding an assertion, improving a type definition, or updating an error boundary).

Be concise and focus on actionable solutions. Do not generate generic debugging advice; tailor your response to the exact failure provided.

Ships withagent-powerups

Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more

Get the whole plugin, auto-invoked
Stats
6
Stars
0
Views
2
Forks
Active
Maintenance
TypeScript
Language
Apache-2.0
License
11d ago
Last commit
3mo ago
Created

Repo: yeaight7/agent-powerups