
免费AI编码代理技能,将极地支付添加到Next.js应用中。完整包:https://www.shiptopaid.com
概览
免费的AI编码代理技能,将付款添加到氛围编码的Next.js应用中,并确认它是否真的准备好收钱。适用于、和。 在构建一个可用的应用时,这些技能上的每一个陷阱都被真实击中了:snake_case SDK字段、原始验证、example.com 邮件被422拒绝、陈旧事件恢复被撤销访问权限等等。 把技能/复制到你的应用里,然后添加到 AGENTS.md: 把每个文件夹复制到你的应用里的 .claude/skills/ / (或 ~/.claude/skills/)。Claude 会根据它们的描述来识别它们。 然后问你的代理人:“在Polar上加一个每月9美元的Pro套餐”或者“我准备好上线了吗?” 需求:Node 22+(由@polar-sh/sdk要求),一个Polar沙盒账户。 技能安装后,在Claude代码、光标或Codex中输入一个普通请求: 在Polar上添加每月9美元的Pro套餐。只有Pro用户才能打开/dashboard/pro。
概述(AI 翻译)
免费的AI编码代理技能,为氛围编码的Next.js应用添加Polar支付, 并确认它是否真的准备好收钱。与Codex、Claude合作 代码和光标。
| 技巧 | 它的作用 |
|---|---|
polar-checkout |
产品脚本,服务器端结账绑定用户,成功重定向 |
polar-webhooks |
签名验证的webhook、幂等性、过时事件和产品允许表守护、本地签名测试 |
launch-audit-lite |
切换到制作前的15分钟可行/不可行检查表 |
在开发一个可用的应用时,这些技能上的每一个陷阱都被真正击中了:snake_case
SDK字段、原始体验证、example.com邮件被422拒绝,陈旧
活动恢复被取消的访问权限等。
安装
Codex / Cursor: 将skills/复制到你的应用中,并添加到AGENTS.md:
Claude Code: 将每个文件夹复制到 .claude/skills/ /,在你的应用中(或
~/.claude/skills/)。克劳德从他们的描述中察觉到了。
然后问你的客服:“在Polar添加每月9美元的Pro计划” 或*“我准备好启动了吗?”*
需求:节点22+(由@polar-sh/sdk要求),一个Polar沙盒账户。
示例
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
ShipToPaid Lite
Free AI coding-agent skills to add Polar payments to a vibe-coded Next.js app, and to check it’s actually ready to take money. Works with Codex, Claude Code and Cursor.
| Skill | What it does |
|---|---|
polar-checkout |
Products script, server-side checkout tied to your user, success redirect |
polar-webhooks |
Signature-verified webhooks, idempotency, stale-event and product-allowlist guards, local signed tests |
launch-audit-lite |
A 15-minute go/no-go checklist before switching to production |
Every gotcha in these skills was hit for real while building a working app: snake_case
SDK fields, raw-body verification, example.com emails rejected with a 422, stale
events restoring revoked access, and more.
Install
Codex / Cursor: copy skills/ into your app and add to AGENTS.md:
Skills live in skills//SKILL.md. Before relevant work, read the matching
skill and follow its procedure and verification checklist:
- Polar checkout: polar-checkout. Webhooks: polar-webhooks.
- Before going live: launch-audit-lite.
Claude Code: copy each folder to .claude/skills// in your app (or
~/.claude/skills/). Claude picks them up from their descriptions.
Then ask your agent: “Add a $9/month Pro plan with Polar” or “Am I ready to launch?”
Requirements: Node 22+ (required by @polar-sh/sdk), a Polar sandbox account.
Example
With the skills installed, type a plain request into Claude Code, Cursor or Codex:
Add a $9/month Pro plan with Polar. Only Pro users should be able to open /dashboard/pro.
The agent reads polar-checkout and polar-webhooks, then roughly:
- Creates the Pro plan in your Polar sandbox with a small script you can re-run.
- Adds an upgrade button that sends the signed-in user to Polar checkout and back to a success page.
- Sets up the payment notifications Polar sends, checks each one really came from Polar, and turns Pro on (and off again when a subscription ends).
- Locks
/dashboard/proso only Pro users can open it. - Writes a few sandbox tests into your app, runs them, and tells you what passed and what it couldn’t run.
Later, ask “Am I ready to launch?” and launch-audit-lite walks through the
checklist, marking each item PASS, FAIL or NOT RUN.
Results depend on your app and your agent. Read the changes before you commit them.
Limits
- Written for Next.js App Router with TypeScript. Examples use Better Auth and Postgres + Drizzle; on another stack the agent has to adapt them.
- Polar only. There is no Stripe support in this repo.
- These are instructions for your coding agent, not a library. There is nothing to install from npm; the agent writes the code into your app.
- Test in the Polar sandbox before switching to production, and don’t test
production with your own real card (Polar asks you not to;
launch-audit-liteuses a 100% discount code instead).
Contributing / issues
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add shiptopaid/shiptopaid-lite