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
854 skills46 agents54 commands
> /plugin marketplace add yeaight7/agent-powerups

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.

@yeaight7
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

8114 skills46 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of yeaight7/agent-powerups on GitHub, a chart by star-history.com

Other commands on agent-powerups.

bug-check

bug-check

Command

Run automated tests and build checks first, then agent code review. For each bug found, propose or document a regression test.

build-fix

build-fix

Command

Use when a build, type check, or test suite is failing and needs to be unblocked with a minimal change.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command