Skip to content
Development
Command

/explain-error

Explain Stripe error codes and provide solutions with code examples

From plugin
stripe-ai
1.7k2 skills1 agent2 commands
Install
$ npx -y skills add stripe/ai --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/explain-error

Context preview

What this command does when you run it.

Explain Stripe error codes and provide solutions with code examples

Command definition

explain-error.md
description: Explain Stripe error codes and provide solutions with code examples
argument-hint: [error_code or error_message]

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.

Ships withstripe-ai

This repo is the one-stop shop for building AI-powered products and businesses on top of Stripe.

Get the whole plugin, auto-invoked
Stats
1,728
Stars
2
Views
322
Forks
Active
Maintenance
TypeScript
Language
MIT
License
14h ago
Last commit
1y ago
Created

Repo: stripe/ai