ablevarghese/ios-claude-toolkit/hermes-stripe
Claude Code and agent skill by ablevarghese/ios-claude-toolkit
- community
Checking that the SKILL.md file is still in the repository.
Test payments, Stripe CLI, webhook testing, test cards. Stripe CLI operations and payment flow testing — webhook forwarding, test event triggering, PaymentIntent creation, Connected Account management, test card reference. Trigger on: 'test a payment', 'forward webhooks locally', 'which test card for decline', 'stripe listen', 'stripe trigger', 'verify webhook delivery', 'test 3D Secure', 'simulate a refund', or any hands-on Stripe testing work. For Stripe integration architecture and API selection, use stripe-best-practices instead.
Install
npx vskill@latest install ablevarghese/ios-claude-toolkit/hermes-stripeSKILL.md
The same SKILL.md was published earlier as ablevarghese/ios-claude-toolkit/hermes-stripe.
HERMES - Stripe Payment Testing & CLI Operations
Iron Law: "Test every payment path with test cards before touching live mode. Every. Single. Path."
Project Discovery: Before executing, determine project-specific values (project name, scheme, bundle ID, Stripe key locations, webhook endpoints) from project configuration files (CLAUDE.md, project.yml, .xcodeproj, Package.swift, .env, or xcconfig files).
Stripe payment testing skill covering systematic test card usage, webhook debugging, CLI operations, PaymentSheet verification, Connect marketplace testing, subscription lifecycle testing, and payment flow validation.
Rationalizations (Do Not Skip)
| Rationalization | Why It's Wrong | Required Action | |
|---|---|---|---|
| "I tested the happy path, that's enough" | Payment integrations have 20+ distinct scenarios: success, multiple decline codes, 3DS authentication, webhook race conditions, refunds, disputes, network timeouts, currency edge cases. Testing only success covers roughly 5% of real-world scenarios. The other 95% fail in production with real money. | Use the complete testing matrix in references/testing-checklist.md. Every card type, every decline code, every 3DS variant. No exceptions. | |
| "Webhooks work the same in test and live" | Test mode webhooks arrive faster, have no latency variation, and never fail due to network issues. Live mode introduces: delivery delays (up to minutes), out-of-order delivery, duplicate delivery, signature timing issues from clock skew, and IP allowlist requirements. | Test webhook retry behavior. Verify idempotent processing. Test signature verification with intentionally wrong secrets. Simulate out-of-order delivery. | |
| "I'll test edge cases later" | Edge cases in payments are not edge cases -- they are real scenarios that happen daily at scale. A declined card is not an edge case; it is 5-15% of all transactions. 3DS challenges are not optional; they are legally required in the EU. "Later" means "after a customer loses money." | Test edge cases first. Declines, 3DS, insufficient funds, expired cards, and processing errors are all part of the primary flow, not afterthoughts. | |
| "Manual dashboard checks are sufficient" | The Stripe Dashboard shows you what happened. It does not tell you whether your code handled it correctly. You need to verify that your database updated, your user saw the right message, your webhook processed idempotently, and your error recovery worked. The Dashboard is a monitoring tool, not a test suite. | Automate verification. After each test card transaction, check your database state, verify webhook processing, confirm user-facing UI updates, and validate error messages programmatically. | |
| "3DS testing isn't necessary for our market" | Strong Customer Authentication (SCA) is mandatory in the EU/EEA and increasingly adopted worldwide. Even in markets without SCA requirements, issuers may request 3DS at their discretion. If your integration cannot handle a 3DS challenge, payments will fail silently. | Test with all 3DS cards: 4000002760003184 (required), 4000002500003155 (optional), 4000008260003178 (always authenticate). Verify your app handles the authentication flow correctly. | |
| "The CLI trigger command is good enough for webhook testing" | stripe trigger sends pre-built fixtures with synthetic data. Real webhooks contain actual object IDs, nested expansions, metadata, and timing that fixtures do not replicate. Triggers verify your endpoint is reachable; they do not verify your business logic handles real payloads correctly. | Use stripe trigger for connectivity testing. Then create real test transactions with test cards and verify the actual webhook payloads your code receives match your expectations. | |
| "We only need to test in USD" | Currency handling bugs are among the most common payment integration issues. Zero-decimal currencies (JPY, KRW) use different amount semantics. Some currencies have three decimal places (KWD, BHD). Multi-currency display, rounding, and conversion all need verification. | Test with at least: USD (standard), EUR (SCA market), JPY (zero-decimal), GBP (different symbol). Verify amounts display correctly in each. | |
| "Refund testing can wait until we need it" | You will need refunds. Every payment integration does. If you have not tested refunds, you will discover bugs when a real customer needs their money back -- the worst possible time to debug. Partial refunds, full refunds, and refund-after-dispute all behave differently. | Test full refund, partial refund, and multiple partial refunds. Verify your database state, user notification, and webhook handling for each. |
Red Flags -- STOP
- Testing only success scenarios: If your test plan contains only
4242424242424242, you have not tested payments. You have tested one payment. Stop and add decline cards, 3DS cards, and error scenarios before proceeding. - Not verifying webhook signatures: If your webhook endpoint processes events without calling
stripe.webhooks.constructEvent()with the endpoint signing secret, your endpoint accepts forged events from anyone. This is a security vulnerability, not a convenience shortcut. - Skipping 3DS authentication testing: If you have not tested with
4000002760003184(3DS required), your integration will fail for any customer whose issuer requests authentication. This is legally required in the EU and increasingly common globally. - Not testing decline scenarios: If you have not verified what your user sees when their card is declined, you have not tested payments. Decline handling is the most user-visible part of your payment flow.
- Going to live mode without completing the testing checklist: Live mode uses real money. Every untested path is a path where real customers can lose real money, generate disputes, or encounter broken flows. Complete
references/testing-checklist.mdfirst. - Ignoring webhook delivery failures in the CLI output: When
stripe listenshows delivery failures or signature mismatches, those are real bugs. Do not dismiss them as "CLI issues."
When NOT to Use This Skill
- Designing Stripe integration architecture: For choosing between CheckoutSessions vs PaymentIntents, designing Connect marketplace flows, or selecting charge types, see stripe-best-practices. This skill tests implementations; that skill designs them.
- Apple In-App Purchase testing: Digital goods and subscriptions sold within iOS apps must use StoreKit, not Stripe. For IAP testing, see cupertino-apple.
- Security review of payment handling code: For reviewing PCI compliance, secret management, or security vulnerabilities in payment code, see cipher-security.
- Database schema for payment records: For designing tables that store payment records, webhook events, or subscription state, see supabase-postgres-best-practices and atlas-database.
- Production monitoring of live payments: This skill is for pre-deployment testing. For monitoring live payment flows in production, use Stripe Dashboard alerts and your application monitoring stack.
Decision Framework
Standard Operating Procedures
SOP-1: Start Webhook Forwarding
SOP-2: Trigger Built-In Test Events
SOP-3: Custom Event Simulation (Beyond Built-In Triggers)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/hermes-stripe/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ablevarghese/ios-claude-toolkit/hermes-stripe)