Skip to content

aiskillstore/marketplace / skills/aayushbaniya2006/stripe-handler

stripe-handler

Verified

Handle Stripe payments, custom checkouts, and webhook fulfillment outside of standard plans/credits.

FileKindSize
SKILL.mdskill md3.7 KB
reference.mdmarkdown5.1 KB
skill-report.jsonconfig42.8 KB

skill-report.json

View on GitHub
{
  "schema_version": "2.0",
  "meta": {
    "generated_at": "2026-07-06T01:03:59.901Z",
    "slug": "aayushbaniya2006-stripe-handler",
    "source_url": "https://github.com/AayushBaniya2006/blinkfund/tree/main/.claude/skills/stripe-handler",
    "source_ref": "main",
    "model": "codex",
    "analysis_version": "3.0.0",
    "source_type": "community",
    "content_hash": "df5fad5c6737a4afba1be60d343cf6ecf34e06b198cb32208c4e24396ade5cdb",
    "tree_hash": "c8e02a75e43a9de9ddb79739894bcb9de4e87a1e843b99476c3b3247430c4652",
    "provenance": {
      "model_requested": "gpt-5.5:high",
      "model_effective": "codex:gpt-5.5:high",
      "fallback_chain": [
        {
          "agent": "codex",
          "model": "gpt-5.5",
          "effort": "high",
          "outcome": "success"
        }
      ],
      "analysis_version": "3.0.0"
    }
  },
  "skill": {
    "name": "stripe-handler",
    "description": "Guide implementation of custom Stripe checkout sessions, webhook fulfillment, and background processing for non-standard payment flows.",
    "summary": "Build custom Stripe checkout and webhook fulfillment flows for one-time or specialized purchases.",
    "icon": "📦",
    "version": "1.0.0",
    "author": "AayushBaniya2006",
    "license": "MIT",
    "tags": [
      "stripe",
      "payments",
      "webhooks",
      "nextjs",
      "inngest"
    ],
    "supported_tools": [
      "claude",
      "codex",
      "claude-code"
    ],
    "risk_factors": [
      "external_commands",
      "env_access"
    ],
    "category": "coding"
  },
  "security_audit": {
    "risk_level": "safe",
    "is_blocked": false,
    "safe_to_publish": true,
    "analysis_status": "ok",
    "summary": "The static hits are false positives caused by Markdown inline code, TypeScript template literals, and documented Stripe setup examples. No prompt injection, credential exfiltration, malicious command execution, or business-logic abuse intent was found in SKILL.md or reference.md.",
    "remediation": [
      {
        "issue": "Environment variable examples include Stripe secret names.",
        "suggestion": "Keep only placeholder values in documentation and warn users not to paste real Stripe secrets into prompts or committed files.",
        "severity": "low"
      },
      {
        "issue": "Stripe CLI commands are documented for local testing.",
        "suggestion": "State that CLI commands should run only with developer approval in a local test environment.",
        "severity": "low"
      },
      {
        "issue": "Payment fulfillment examples require application-specific security checks.",
        "suggestion": "Add explicit reminders to verify Stripe webhook signatures and keep fulfillment idempotent before granting access.",
        "severity": "low"
      }
    ],
    "risk_factor_evidence": [
      {
        "factor": "external_commands",
        "evidence": [
          {
            "file": "reference.md",
            "line_start": 47,
            "line_end": 48
          },
          {
            "file": "reference.md",
            "line_start": 48,
            "line_end": 53
          },
          {
            "file": "reference.md",
            "line_start": 132,
            "line_end": 143
          },
          {
            "file": "SKILL.md",
            "line_start": 9,
            "line_end": 9
          },
          {
            "file": "SKILL.md",
            "line_start": 14,
            "line_end": 14
          },
          {
            "file": "SKILL.md",
            "line_start": 15,
            "line_end": 15
          },
          {
            "file": "SKILL.md",
            "line_start": 22,
            "line_end": 22
          },
          {
            "file": "SKILL.md",
            "line_start": 23,
            "line_end": 23
          },
          {
            "file": "SKILL.md",
            "line_start": 28,
            "line_end": 28
          },
          {
            "file": "SKILL.md",
            "line_start": 29,
            "line_end": 29
          },
          {
            "file": "SKILL.md",
            "line_start": 30,
            "line_end": 30
          },
          {
            "file": "SKILL.md",
            "line_start": 31,
            "line_end": 37
          },
          {
            "file": "SKILL.md",
            "line_start": 37,
            "line_end": 39
          },
          {
            "file": "SKILL.md",
            "line_start": 39,
            "line_end": 40
          },
          {
            "file": "SKILL.md",
            "line_start": 40,
            "line_end": 43
          },
          {
            "file": "SKILL.md",
            "line_start": 43,
            "line_end": 44
          },
          {
            "file": "SKILL.md",
            "line_start": 44,
            "line_end": 45
          },
          {
            "file": "SKILL.md",
            "line_start": 45,
            "line_end": 45
          },
          {
            "file": "SKILL.md",
            "line_start": 47,
            "line_end": 48
          },
          {
            "file": "SKILL.md",
            "line_start": 48,
            "line_end": 56
          },
          {
            "file": "SKILL.md",
            "line_start": 56,
            "line_end": 58
          },
          {
            "file": "SKILL.md",
            "line_start": 58,
            "line_end": 60
          },
          {
            "file": "SKILL.md",
            "line_start": 60,
            "line_end": 61
          },
          {
            "file": "SKILL.md",
            "line_start": 61,
            "line_end": 64
          },
          {
            "file": "SKILL.md",
            "line_start": 64,
            "line_end": 64
          },
          {
            "file": "SKILL.md",
            "line_start": 69,
            "line_end": 75
          },
          {
            "file": "SKILL.md",
            "line_start": 75,
            "line_end": 78
          }
        ]
      },
      {
        "factor": "env_access",
        "evidence": [
          {
            "file": "reference.md",
            "line_start": 47,
            "line_end": 47
          },
          {
            "file": "reference.md",
            "line_start": 48,
            "line_end": 48
          },
          {
            "file": "reference.md",
            "line_start": 47,
            "line_end": 47
          },
          {
            "file": "reference.md",
            "line_start": 48,
            "line_end": 48
          },
          {
            "file": "reference.md",
            "line_start": 167,
            "line_end": 167
          },
          {
            "file": "SKILL.md",
            "line_start": 39,
            "line_end": 39
          },
          {
            "file": "SKILL.md",
            "line_start": 40,
            "line_end": 40
          },
          {
            "file": "SKILL.md",
            "line_start": 39,
            "line_end": 39
          },
          {
            "file": "SKILL.md",
            "line_start": 40,
            "line_end": 40
          }
        ]
      }
    ],
    "static_findings": [
      {
        "id": "external_commands:reference.md:47:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "reference.md",
        "line_start": 47,
        "line_end": 48,
        "snippet": "success_url: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/success?session_id={CHECKOUT_SESSION_"
      },
      {
        "id": "external_commands:reference.md:48:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "reference.md",
        "line_start": 48,
        "line_end": 53,
        "snippet": "cancel_url: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/error`,"
      },
      {
        "id": "external_commands:reference.md:132:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "reference.md",
        "line_start": 132,
        "line_end": 143,
        "snippet": "console.log(`Fulfilling product ${productId} for user ${userId}`);"
      },
      {
        "id": "env_access:reference.md:47:environment-variable-access-dot-notation",
        "category": "env_access",
        "severity": "low",
        "pattern": "Environment variable access (dot notation)",
        "file": "reference.md",
        "line_start": 47,
        "line_end": 47,
        "snippet": "success_url: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/success?session_id={CHECKOUT_SESSION_"
      },
      {
        "id": "env_access:reference.md:48:environment-variable-access-dot-notation",
        "category": "env_access",
        "severity": "low",
        "pattern": "Environment variable access (dot notation)",
        "file": "reference.md",
        "line_start": 48,
        "line_end": 48,
        "snippet": "cancel_url: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/error`,"
      },
      {
        "id": "env_access:reference.md:47:environment-variable-object",
        "category": "env_access",
        "severity": "low",
        "pattern": "Environment variable object",
        "file": "reference.md",
        "line_start": 47,
        "line_end": 47,
        "snippet": "success_url: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/success?session_id={CHECKOUT_SESSION_"
      },
      {
        "id": "env_access:reference.md:48:environment-variable-object",
        "category": "env_access",
        "severity": "low",
        "pattern": "Environment variable object",
        "file": "reference.md",
        "line_start": 48,
        "line_end": 48,
        "snippet": "cancel_url: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/error`,"
      },
      {
        "id": "env_access:reference.md:167:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "reference.md",
        "line_start": 167,
        "line_end": 167,
        "snippet": "STRIPE_SECRET_KEY=sk_test_..."
      },
      {
        "id": "sensitive:reference.md:47:environment-file-access",
        "category": "sensitive",
        "severity": "high",
        "pattern": "Environment file access",
        "file": "reference.md",
        "line_start": 47,
        "line_end": 47,
        "snippet": "success_url: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/success?session_id={CHECKOUT_SESSION_"
      },
      {
        "id": "sensitive:reference.md:48:environment-file-access",
        "category": "sensitive",
        "severity": "high",
        "pattern": "Environment file access",
        "file": "reference.md",
        "line_start": 48,
        "line_end": 48,
        "snippet": "cancel_url: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/error`,"
      },
      {
        "id": "sensitive:reference.md:164:environment-file-access",
        "category": "sensitive",
        "severity": "high",
        "pattern": "Environment file access",
        "file": "reference.md",
        "line_start": 164,
        "line_end": 164,
        "snippet": "Ensure these are set in `.env.local`:"
      },
      {
        "id": "sensitive:reference.md:164:environment-variant-files",
        "category": "sensitive",
        "severity": "high",
        "pattern": "Environment variant files",
        "file": "reference.md",
        "line_start": 164,
        "line_end": 164,
        "snippet": "Ensure these are set in `.env.local`:"
      },
      {
        "id": "blocker:reference.md:159:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "reference.md",
        "line_start": 159,
        "line_end": 160,
        "snippet": "stripe trigger invoice.paid"
      },
      {
        "id": "external_commands:SKILL.md:9:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 9,
        "line_end": 9,
        "snippet": "Use this skill when you need to implement payment logic using Stripe, specifically for use cases tha"
      },
      {
        "id": "external_commands:SKILL.md:14:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 14,
        "line_end": 14,
        "snippet": "- Handling `checkout.session.completed` for custom metadata."
      },
      {
        "id": "external_commands:SKILL.md:15:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 15,
        "line_end": 15,
        "snippet": "- Customizing `src/app/api/webhooks/stripe/route.ts` for non-standard events."
      },
      {
        "id": "external_commands:SKILL.md:22:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 22,
        "line_end": 22,
        "snippet": "- **Is it a Subscription Plan?** -> Use `plans-handler`."
      },
      {
        "id": "external_commands:SKILL.md:23:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 23,
        "line_end": 23,
        "snippet": "- **Is it a Credit Package?** -> Use `credits-handler`."
      },
      {
        "id": "external_commands:SKILL.md:28:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 28,
        "line_end": 28,
        "snippet": "- **File**: Create a new route (e.g., `src/app/api/app/orders/create/route.ts`) or Server Action."
      },
      {
        "id": "external_commands:SKILL.md:29:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 29,
        "line_end": 29,
        "snippet": "- **Import**: `import stripe from \"@/lib/stripe\";`"
      },
      {
        "id": "external_commands:SKILL.md:30:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 30,
        "line_end": 30,
        "snippet": "- **Metadata**: **CRITICAL**. Always attach `metadata` to the session to identify the purchase type "
      },
      {
        "id": "external_commands:SKILL.md:31:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 31,
        "line_end": 37,
        "snippet": "```typescript"
      },
      {
        "id": "external_commands:SKILL.md:37:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 37,
        "line_end": 39,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:39:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 39,
        "line_end": 40,
        "snippet": "- Success: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/success?session_id={CHECKOUT_SESSION_ID"
      },
      {
        "id": "external_commands:SKILL.md:40:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 40,
        "line_end": 43,
        "snippet": "- Error: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/error`"
      },
      {
        "id": "external_commands:SKILL.md:43:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 43,
        "line_end": 44,
        "snippet": "All Stripe events go to `src/app/api/webhooks/stripe/route.ts`."
      },
      {
        "id": "external_commands:SKILL.md:44:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 44,
        "line_end": 45,
        "snippet": "- **File**: `src/app/api/webhooks/stripe/route.ts`"
      },
      {
        "id": "external_commands:SKILL.md:45:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 45,
        "line_end": 45,
        "snippet": "- **Locate**: `onCheckoutSessionCompleted` (for one-time) or `handleOutsidePlanManagementProductInvo"
      },
      {
        "id": "external_commands:SKILL.md:47:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 47,
        "line_end": 48,
        "snippet": "1. Extract `metadata` from the event object."
      },
      {
        "id": "external_commands:SKILL.md:48:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 48,
        "line_end": 56,
        "snippet": "2. Check if `metadata.type` matches your custom feature."
      },
      {
        "id": "external_commands:SKILL.md:56:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 56,
        "line_end": 58,
        "snippet": "- Use `inngest-handler` to create a new function."
      },
      {
        "id": "external_commands:SKILL.md:58:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 58,
        "line_end": 60,
        "snippet": "```typescript"
      },
      {
        "id": "external_commands:SKILL.md:60:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 60,
        "line_end": 61,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:61:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 61,
        "line_end": 64,
        "snippet": "- Handle the actual logic in `src/inngest/functions/...`."
      },
      {
        "id": "external_commands:SKILL.md:64:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 64,
        "line_end": 64,
        "snippet": "- If the purchase grants access to a resource, update the corresponding schema (e.g., `orders`, `cou"
      },
      {
        "id": "external_commands:SKILL.md:69:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 69,
        "line_end": 75,
        "snippet": "- Redirect the user to the returned `url` (Stripe Checkout)."
      },
      {
        "id": "external_commands:SKILL.md:75:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 75,
        "line_end": 78,
        "snippet": "- **Testing**: Use `stripe listen` to test webhooks locally."
      },
      {
        "id": "env_access:SKILL.md:39:environment-variable-access-dot-notation",
        "category": "env_access",
        "severity": "low",
        "pattern": "Environment variable access (dot notation)",
        "file": "SKILL.md",
        "line_start": 39,
        "line_end": 39,
        "snippet": "- Success: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/success?session_id={CHECKOUT_SESSION_ID"
      },
      {
        "id": "env_access:SKILL.md:40:environment-variable-access-dot-notation",
        "category": "env_access",
        "severity": "low",
        "pattern": "Environment variable access (dot notation)",
        "file": "SKILL.md",
        "line_start": 40,
        "line_end": 40,
        "snippet": "- Error: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/error`"
      },
      {
        "id": "env_access:SKILL.md:39:environment-variable-object",
        "category": "env_access",
        "severity": "low",
        "pattern": "Environment variable object",
        "file": "SKILL.md",
        "line_start": 39,
        "line_end": 39,
        "snippet": "- Success: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/success?session_id={CHECKOUT_SESSION_ID"
      },
      {
        "id": "env_access:SKILL.md:40:environment-variable-object",
        "category": "env_access",
        "severity": "low",
        "pattern": "Environment variable object",
        "file": "SKILL.md",
        "line_start": 40,
        "line_end": 40,
        "snippet": "- Error: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/error`"
      },
      {
        "id": "sensitive:SKILL.md:39:environment-file-access",
        "category": "sensitive",
        "severity": "high",
        "pattern": "Environment file access",
        "file": "SKILL.md",
        "line_start": 39,
        "line_end": 39,
        "snippet": "- Success: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/success?session_id={CHECKOUT_SESSION_ID"
      },
      {
        "id": "sensitive:SKILL.md:40:environment-file-access",
        "category": "sensitive",
        "severity": "high",
        "pattern": "Environment file access",
        "file": "SKILL.md",
        "line_start": 40,
        "line_end": 40,
        "snippet": "- Error: `${process.env.NEXT_PUBLIC_APP_URL}/app/subscribe/error`"
      }
    ],
    "finding_verdicts": [
      {
        "id": "external_commands:reference.md:47:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "This is TypeScript example syntax using template literals, not Ruby or shell command execution. The snippet is documentation for Stripe URLs or logging, with no executable shell path."
      },
      {
        "id": "external_commands:reference.md:48:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "This is TypeScript example syntax using template literals, not Ruby or shell command execution. The snippet is documentation for Stripe URLs or logging, with no executable shell path."
      },
      {
        "id": "external_commands:reference.md:132:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "This is TypeScript example syntax using template literals, not Ruby or shell command execution. The snippet is documentation for Stripe URLs or logging, with no executable shell path."
      },
      {
        "id": "env_access:reference.md:47:environment-variable-access-dot-notation",
        "verdict": "false_positive",
        "confidence": 0.95,
        "reason": "The environment access is a documented NEXT_PUBLIC_APP_URL reference used to build Stripe redirect URLs. It is not reading or exposing a secret value."
      },
      {
        "id": "env_access:reference.md:48:environment-variable-access-dot-notation",
        "verdict": "false_positive",
        "confidence": 0.95,
        "reason": "The environment access is a documented NEXT_PUBLIC_APP_URL reference used to build Stripe redirect URLs. It is not reading or exposing a secret value."
      },
      {
        "id": "env_access:reference.md:47:environment-variable-object",
        "verdict": "false_positive",
        "confidence": 0.95,
        "reason": "The environment access is a documented NEXT_PUBLIC_APP_URL reference used to build Stripe redirect URLs. It is not reading or exposing a secret value."
      },
      {
        "id": "env_access:reference.md:48:environment-variable-object",
        "verdict": "false_positive",
        "confidence": 0.95,
        "reason": "The environment access is a documented NEXT_PUBLIC_APP_URL reference used to build Stripe redirect URLs. It is not reading or exposing a secret value."
      },
      {
        "id": "env_access:reference.md:167:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.92,
        "reason": "The line lists a placeholder Stripe secret name and abbreviated test-key pattern for environment setup. It does not contain a real credential or request secret disclosure."
      },
      {
        "id": "sensitive:reference.md:47:environment-file-access",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The matched text is a public application URL used in checkout redirect examples. There is no secret material or environment file access at this location."
      },
      {
        "id": "sensitive:reference.md:48:environment-file-access",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The matched text is a public application URL used in checkout redirect examples. There is no secret material or environment file access at this location."
      },
      {
        "id": "sensitive:reference.md:164:environment-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "The .env.local mention is setup documentation for required Stripe variables. It does not read, collect, or print any environment file contents."
      },
      {
        "id": "sensitive:reference.md:164:environment-variant-files",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "The .env.local mention is setup documentation for required Stripe variables. It does not read, collect, or print any environment file contents."
      },
      {
        "id": "blocker:reference.md:159:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The command is a Stripe CLI test event for local webhook development, not system reconnaissance. It does not enumerate host state or gather secrets."
      },
      {
        "id": "external_commands:SKILL.md:9:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:14:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:15:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:22:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:23:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:28:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:29:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:30:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:31:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:37:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:39:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:40:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:43:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:44:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:45:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:47:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:48:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:56:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:58:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:60:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:61:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:64:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:69:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The hit comes from Markdown inline code or a fenced TypeScript example, not runtime shell execution. The surrounding text documents Stripe implementation steps."
      },
      {
        "id": "external_commands:SKILL.md:75:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The line mentions Stripe CLI testing in Markdown, not hidden command execution. It is a legitimate local testing instruction and has no arbitrary input or stealth behavior."
      },
      {
        "id": "env_access:SKILL.md:39:environment-variable-access-dot-notation",
        "verdict": "false_positive",
        "confidence": 0.95,
        "reason": "The environment access is a documented NEXT_PUBLIC_APP_URL reference used to build Stripe redirect URLs. It is not reading or exposing a secret value."
      },
      {
        "id": "env_access:SKILL.md:40:environment-variable-access-dot-notation",
        "verdict": "false_positive",
        "confidence": 0.95,
        "reason": "The environment access is a documented NEXT_PUBLIC_APP_URL reference used to build Stripe redirect URLs. It is not reading or exposing a secret value."
      },
      {
        "id": "env_access:SKILL.md:39:environment-variable-object",
        "verdict": "false_positive",
        "confidence": 0.95,
        "reason": "The environment access is a documented NEXT_PUBLIC_APP_URL reference used to build Stripe redirect URLs. It is not reading or exposing a secret value."
      },
      {
        "id": "env_access:SKILL.md:40:environment-variable-object",
        "verdict": "false_positive",
        "confidence": 0.95,
        "reason": "The environment access is a documented NEXT_PUBLIC_APP_URL reference used to build Stripe redirect URLs. It is not reading or exposing a secret value."
      },
      {
        "id": "sensitive:SKILL.md:39:environment-file-access",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The matched text is a public application URL used in checkout redirect examples. There is no secret material or environment file access at this location."
      },
      {
        "id": "sensitive:SKILL.md:40:environment-file-access",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The matched text is a public application URL used in checkout redirect examples. There is no secret material or environment file access at this location."
      }
    ],
    "semantic_findings": [],
    "critical_findings": [],
    "high_findings": [],
    "medium_findings": [],
    "low_findings": [],
    "dangerous_patterns": [],
    "files_scanned": 2,
    "total_lines": 250,
    "audit_model": "codex",
    "audited_at": "2026-07-06T01:03:59.901Z",
    "agent_auto_install_policy": "allowed",
    "manual_install_policy": "allowed"
  },
  "content": {
    "user_title": "Build Custom Stripe Payment Flows",
    "value_statement": "Custom payment flows need careful checkout, webhook, and fulfillment logic. This skill guides Stripe sessions, metadata routing, and background processing for non-standard purchases.",
    "seo_keywords": [
      "Claude",
      "Codex",
      "Claude Code",
      "Stripe checkout",
      "Stripe webhooks",
      "custom payments",
      "Next.js payments",
      "Inngest",
      "payment fulfillment",
      "SaaS billing"
    ],
    "actual_capabilities": [
      "Explains when to use this skill instead of plan or credit handlers.",
      "Provides a server-side Stripe Checkout Session pattern for custom products.",
      "Shows metadata-based routing for checkout.session.completed webhook events.",
      "Demonstrates dispatching payment fulfillment work to Inngest.",
      "Documents local Stripe CLI webhook testing commands and required environment variables."
    ],
    "limitations": [
      "Does not replace the host application Stripe configuration.",
      "Does not cover standard subscription plan or credit package flows.",
      "Requires developers to validate webhook signatures and protect secrets.",
      "Examples must be adapted to each database schema and fulfillment model."
    ],
    "use_cases": [
      {
        "title": "Sell Digital Products",
        "description": "Add one-time Stripe checkout and fulfill access through webhooks.",
        "target_user": "Product engineers"
      },
      {
        "title": "Process Custom Services",
        "description": "Collect payments for services outside plan or credit packages.",
        "target_user": "Founders and operators"
      },
      {
        "title": "Move Fulfillment to Background Jobs",
        "description": "Send webhook work to Inngest so Stripe responses stay fast.",
        "target_user": "Backend developers"
      }
    ],
    "prompt_templates": [
      {
        "title": "Plan a Custom Checkout",
        "scenario": "Beginner planning",
        "prompt": "Use stripe-handler to plan a one-time course purchase. List the files to change and the checkout metadata to include."
      },
      {
        "title": "Create a Payment Route",
        "scenario": "Intermediate implementation",
        "prompt": "Use stripe-handler to design a server route for a custom service payment. Include session mode, line items, success URL, and cancel URL."
      },
      {
        "title": "Implement Webhook Fulfillment",
        "scenario": "Webhook integration",
        "prompt": "Use stripe-handler to update a Stripe webhook for a custom product. Route by metadata.type and describe the fulfillment action."
      },
      {
        "title": "Design Idempotent Fulfillment",
        "scenario": "Advanced production flow",
        "prompt": "Use stripe-handler to design an idempotent Inngest fulfillment pipeline. Include duplicate handling, email confirmation, and failure recovery."
      }
    ],
    "output_examples": [
      {
        "input": "A user needs a one-time digital course purchase flow.",
        "output": "Recommended custom checkout flow with metadata, webhook routing, and order fulfillment steps."
      },
      {
        "input": "A webhook may take longer than Stripe allows.",
        "output": "Suggested Inngest handoff that acknowledges Stripe quickly and completes fulfillment in the background."
      },
      {
        "input": "A custom service payment should not use plan billing.",
        "output": "Clear separation from subscription handlers with a dedicated checkout route and custom metadata type."
      }
    ],
    "best_practices": [
      "Use metadata to distinguish custom purchases from standard plans and credits.",
      "Keep webhook handlers fast and move slow work to Inngest.",
      "Make fulfillment idempotent before granting product or service access."
    ],
    "anti_patterns": [
      "Do not use this skill for normal subscription plan handling.",
      "Do not grant access before verifying the completed Stripe webhook.",
      "Do not put real Stripe secrets in prompts, examples, or committed files."
    ],
    "faq": [
      {
        "question": "When should I use this skill?",
        "answer": "Use it for custom Stripe payments that are not standard plans or credit packages."
      },
      {
        "question": "Does it replace plans-handler?",
        "answer": "No. Use plans-handler for normal subscription plans and this skill for custom payment flows."
      },
      {
        "question": "Does it provide runnable code?",
        "answer": "It provides implementation patterns and snippets. Developers must adapt them to their application."
      },
      {
        "question": "Can it help with webhooks?",
        "answer": "Yes. It shows how to route checkout.session.completed events by metadata."
      },
      {
        "question": "Is Inngest required?",
        "answer": "No. Inngest is recommended when fulfillment work may be slow or complex."
      },
      {
        "question": "How should I test locally?",
        "answer": "Use the Stripe CLI with a local webhook endpoint and test-mode events."
      }
    ]
  },
  "file_structure": [
    {
      "name": "reference.md",
      "type": "file",
      "path": "reference.md",
      "lines": 171
    },
    {
      "name": "SKILL.md",
      "type": "file",
      "path": "SKILL.md",
      "lines": 79
    }
  ]
}
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall