stripe-local-dev
✓修复本地开发中的 Stripe webhook 400 错误。问题:`stripe Listen` 每次启动时都会生成一个新的秘密,但您的应用程序使用来自 .env.local。此技能会在开发服务器启动之前自动同步临时密钥。 自动调用时:stripe webhooks 返回 400、“签名验证失败”、 “未找到匹配的签名”,webhooks 无法在本地工作,结账成功 但订阅未更新,STRIPE_WEBHOOK_SECRET 不匹配,正在设置 stripe 监听,使用 Stripe 配置 pnpm dev。
SKILL.md
Ensure Stripe webhooks work in local development by auto-syncing ephemeral secrets.
Stripe CLI generates a new webhook secret every time stripe listen starts. If your dev script auto-starts the listener but doesn't sync the secret, you get:
| Webhook Location | Secret Sync Target | Restart? | Recommendation |
修复本地开发中的 Stripe webhook 400 错误。问题:`stripe Listen` 每次启动时都会生成一个新的秘密,但您的应用程序使用来自 .env.local。此技能会在开发服务器启动之前自动同步临时密钥。 自动调用时:stripe webhooks 返回 400、“签名验证失败”、 “未找到匹配的签名”,webhooks 无法在本地工作,结账成功 但订阅未更新,STRIPE_WEBHOOK_SECRET 不匹配,正在设置 stripe 监听,使用 Stripe 配置 pnpm dev。 来源:phrazzld/claude-config。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/phrazzld/claude-config --skill stripe-local-dev- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 stripe-local-dev?
修复本地开发中的 Stripe webhook 400 错误。问题:`stripe Listen` 每次启动时都会生成一个新的秘密,但您的应用程序使用来自 .env.local。此技能会在开发服务器启动之前自动同步临时密钥。 自动调用时:stripe webhooks 返回 400、“签名验证失败”、 “未找到匹配的签名”,webhooks 无法在本地工作,结账成功 但订阅未更新,STRIPE_WEBHOOK_SECRET 不匹配,正在设置 stripe 监听,使用 Stripe 配置 pnpm dev。 来源:phrazzld/claude-config。
如何安装 stripe-local-dev?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/phrazzld/claude-config --skill stripe-local-dev 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/phrazzld/claude-config
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01