Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计异常

stripeStripe 支付

Agent Skill

stripe 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

517

周安装

22

GitHub Stars

8

下载量

181
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:stripe(Stripe 支付)
来源仓库:https://github.com/phrazzld/claude-config
仓库路径:skills/stripe
安装命令:
npx skills add https://github.com/phrazzld/claude-config --skill stripe
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/phrazzld/claude-config --skill stripe

简介

stripe 用于查找和筛选相关信息。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中处理支付相关任务。
  • 通过 GitHub 安装,建议结合关键词和场景使用。
  • 需确认权限和维护状态,避免误操作生产环境。
  • stripe 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

/stripe

World-class Stripe integration. Audit, fix, verify—every time.

What This Does

Examines your Stripe integration, identifies every gap, implements fixes, and verifies checkout flows work end-to-end. No partial modes. Every run does the full cycle.

Branching

Assumes you start on master/main. Before making code changes:

git checkout -b fix/stripe-$(date +%Y%m%d)

Configuration-only changes (env vars, dashboard settings) don't require a branch. Code changes do.

Process

0. Environment Check

Detect environment mismatch first. Before any Stripe operations:

~/.claude/skills/stripe/scripts/detect-environment.sh

This compares your app's STRIPE_SECRET_KEY account with CLI profiles. If mismatched, resources created via CLI won't be visible to your app.

Fix mismatches:

  • Use correct CLI profile: stripe -p sandbox or stripe -p production
  • Or update .env.local to match your CLI account

Billing invariant (Next.js + Convex):

  • CONVEX_WEBHOOK_TOKEN must be set in Next runtime (Vercel) and Convex env.
  • Values must match (token parity). If drift: payments may succeed but access never unlocks.
  • Local dev: .env.local changes require restart; exported env var overrides .env.local (run unset CONVEX_WEBHOOK_TOKEN if set).

1. Audit

Spawn the auditor. Use the stripe-auditor subagent for deep parallel analysis. It examines:

  • Configuration (env vars on all deployments, cross-platform parity)
  • Webhook health (endpoints registered, URL returns non-3xx, pending_webhooks = 0)
  • Subscription logic (trial handling, access control, idempotency)
  • Security (no hardcoded keys, secrets not logged)
  • Business model compliance (single tier, trial honored on upgrade)
  • Subscription management UX (settings page, billing history, portal integration)

Run automated checks:

~/.claude/skills/stripe/scripts/stripe_audit.sh

Research first. Before assuming current patterns are correct, check Stripe docs for current best practices. Use Gemini. What was right last year may be deprecated.

2. Plan

From audit findings, build a complete remediation plan. Don't just list issues—plan the fixes.

For each finding:

  • Configuration issues → Fix directly (env vars, dashboard settings)
  • Code issues → Delegate to Codex with clear specs
  • Design issues → May require rethinking approach, consult stripe-design

Prioritize:

  1. Critical — Blocks checkout or causes payment failures
  2. High — Security issues, data integrity problems
  3. Medium — Missing UX, suboptimal patterns

3. Execute

Fix everything. Don't stop at a report.

Configuration fixes (do directly):

# Missing env var
bunx convex env set --prod CONVEX_WEBHOOK_TOKEN "$(printf '%s' 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')"

# Vercel (Next runtime): set the SAME value (production + preview + dev)
vercel env add CONVEX_WEBHOOK_TOKEN production
vercel env add CONVEX_WEBHOOK_TOKEN preview
vercel env add CONVEX_WEBHOOK_TOKEN development

# Verify
bunx convex env list --prod | rg "^(STRIPE_|CONVEX_WEBHOOK_TOKEN=)"

Code fixes (delegate to Codex):

codex exec --full-auto "Fix [specific issue]. \
File: [path]. Problem: [what's wrong]. \
Solution: [what it should do]. \
Reference: [pattern file]. \
Verify: bun run typecheck && bun run test" \
--output-last-message /tmp/codex-fix.md 2>/dev/null

Then validate: git diff --stat && bun run typecheck

Webhook URL fixes: Update in Stripe Dashboard to canonical domain. If redirects exist, use the final URL.

Missing subscription management UX: Per stripe-subscription-ux, every integration needs:

  • Settings page showing plan, status, next billing date
  • Payment method display (brand + last4)
  • "Manage Subscription" button (Stripe Portal)
  • Billing history with downloadable invoices
  • State-specific messaging (trialing, canceled, past_due)

If missing, create it. This is non-negotiable.

4. Verify

Prove it works. Not "looks right"—actually works.

Configuration verification:

bunx convex env list | rg "^(STRIPE_|CONVEX_WEBHOOK_TOKEN=)"
bunx convex env list --prod | rg "^(STRIPE_|CONVEX_WEBHOOK_TOKEN=)"
curl -s -o /dev/null -w "%{http_code}" -I -X POST "$WEBHOOK_URL"

Checkout flow test:

  1. Create test checkout session
  2. Complete with card 4242 4242 4242 4242
  3. Verify webhook received (check logs)
  4. Verify subscription created in Stripe Dashboard
  5. Verify user state updated in database
  6. Verify access granted

Webhook delivery test:

stripe events list --limit 5 | jq '.data[] | {id, type, pending_webhooks}'
# All should have pending_webhooks: 0

Subscription management UX test:

  • Navigate to settings page
  • Verify plan and status displayed
  • Click "Manage Subscription" → Portal opens
  • Verify billing history accessible

Business model compliance:

  • Single pricing tier? ✓
  • Trial honored on upgrade? (Check Stripe subscription has trial_end) ✓
  • No freemium logic? (Expired trial = no access) ✓

If any verification fails, go back and fix it. Don't declare done until everything passes.

Business Model Compliance

Reference business-model-preferences throughout. Key constraints:

  • Single pricing tier (no complex tier logic)
  • Trial completion honored on upgrade (pass trial_end to Stripe)
  • No freemium (expired trial = no access, not limited access)

Default Stack

Assumes Next.js + TypeScript + Convex + Vercel + Clerk. Adapts gracefully to other stacks—concepts are the same, only framework specifics change.

What You Get

When complete:

  • Working checkout flow (test card succeeds, subscription created)
  • Webhook handling with signature verification (pending_webhooks = 0)
  • Subscription state management with proper trial handling
  • Access control based on subscription status
  • Subscription management UX (settings page, portal, billing history)
  • All configuration in place (dev and prod)
  • Deep verification passing

User can:

  • Run test checkout with 4242 4242 4242 4242
  • See subscription state update
  • Access gated features
  • See trial honored on mid-trial upgrade
  • View and manage subscription in settings
  • See payment method and billing history
  • Cancel, resume, or update payment method via Portal

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.97%
按下载量换算67

Claude

27.9%
按下载量换算50

Cursor

18.71%
按下载量换算34

Gemini CLI

9.9%
按下载量换算18

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/phrazzld/claude-config --skill stripe 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills