ClaudeSuperPower

explain-error

Command

Explain Stripe error codes and provide solutions with code examples

Type this in Claude Code
/explain-error [error_code or error_message]
error_code or error_message
optional
Claude can also invoke this on its own inherits all session tools

What it tells Claude to do

16 lines

The prompt this command injects, verbatim. Worth reading before you run it.

# Explain Stripe Error

Provide a comprehensive explanation of the given Stripe error code or error message:

1. Accept the error code or full error message from the arguments
2. Explain in plain English what the error means
3. List common causes of this error
4. Provide specific solutions and handling recommendations
5. Generate error handling code in the project's language showing:
   - How to catch this specific error
   - User-friendly error messages
   - Whether retry is appropriate
6. Mention related error codes the developer should be aware of
7. Include a link to the relevant Stripe documentation

Focus on actionable solutions and production-ready error handling patterns.

Shipped by 1 plugin

Installing any of these installs this command.

What this can do

Capabilities declared in this component's own frontmatter — not inferred.

Inherit all session tools

Declares no tool restrictions — inherits every session tool

~17 tokens of context used while enabled, before you invoke anything

Reviews

Log in to leave a review.

No reviews yet — be the first.

Explore related

Other things in this space — across every part of the ecosystem, not just commands.