adding-stripe
Integrate Stripe payments into a web application, including checkout sessions, webhooks, and customer portal.
Skill by muhammedadnank
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/muhammedadnank-adding-stripe
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/adding-stripe
What's inside
- Skill name
adding-stripe- Description
- Integrate Stripe payments into a web application, including checkout sessions, webhooks, and customer portal.
- License
- MIT
- Instructions
- 62 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Add Stripe Payments
Use this skill when the user asks to add payments, billing, subscriptions, or Stripe integration.
## Steps
1. **Install the SDK**
```bash
npm install stripe @stripe/stripe-js
```
2. **Add environment variables**
```
STRIPE_SECRET_KEY=sk_test_...
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
```
3. **Create a Stripe client module** — create `lib/stripe.ts`:
```ts
import Stripe from "stripe";
export const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, {
apiVersion: "2024-12-18.acacia",
});
```
4. **Create a checkout API route** — create an endpoint that creates a Stripe Checkout session:
```ts
const session = await stripe.checkout.sessions.create({
mode: "subscription", // or "payment" for one-time
payment_method_types: ["card"],
line_items: [{ price: priceId, quantity: 1 }],
success_url: `${origin}/success?session_id={CHECKOUT_SESSION_ID}`,
cancel_url: `${origin}/pricing`,
customer_email: userEmail,
});
return redirect(session.url!);
```
5. **Create a webhook handler** — create a `POST` endpoint at `/api/webhooks/stripe`:
- Verify the webhook signature using `stripe.webhooks.constructEvent`.
- Handle key events: `checkout.session.completed`, `customer.subscription.updated`, `customer.subscription.deleted`, `invoice.payment_failed`.
- Update your database with the subscription status.
6. **Add customer portal (optional)** — create an endpoint that redirects to `stripe.billingPortal.sessions.create` so users can manage their subscription.
7. **Add pricing page UI** — create a pricing page with plan cards that call the checkout API route.
## Notes
- Always verify webhook signatures — never trust unverified payloads.
- Use Stripe CLI (`stripe listen --forward-to localhost:3000/api/webhooks/stripe`) for local webhook testing.
- Store the Stripe customer ID in your user database to avoid creating duplicate customers.
- Use `stripe.prices.list` to fetch prices dynamically instead of hardcoding them.From muhammedadnank/Antigravity-Skills, MIT.
More from muhammedadnank/Antigravity-Skills
- 0.551score
3-statement-model
muhammedadnank
Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) .
SkillCFreshness: C★ 13Claude Code +9 - 0.546score
agent-owasp-compliance
muhammedadnank
Check any AI agent codebase against the OWASP Agentic Security Initiative (ASI) Top 10 risks.
SkillCFreshness: C★ 13Claude Code +9 - 0.546score
agent-supply-chain
muhammedadnank
Verify supply chain integrity for AI agent plugins, tools, and dependencies.
SkillCFreshness: C★ 13Claude Code +9 - 0.546score
acreadiness-generate-instructions
muhammedadnank
Generate tailored AI agent instruction files via AgentRC instructions command.
SkillCFreshness: C★ 13Claude Code +9 - 0.546score
acreadiness-assess
muhammedadnank
Run the AgentRC readiness assessment on the current repository and produce a static HTML dashboard at reports/index.html.
SkillCFreshness: C★ 13Claude Code +9 - 0.546score
acreadiness-policy
muhammedadnank
Help the user pick, write, or apply an AgentRC policy.
SkillCFreshness: C★ 13Claude Code +9 - 0.543score
aegisops-ai
muhammedadnank
Autonomous DevSecOps & FinOps Guardrails.
SkillCFreshness: C★ 13Claude Code +9 - 0.543score
accrual-schedule
muhammedadnank
Build the period-end accrual schedule — for each accrual, compute the entry, cite the support, and draft the JE.
SkillCFreshness: C★ 13Claude Code +9 - 0.543score
accessibility-auditing
muhammedadnank
Use Cursor's browser aria snapshots to audit a page for accessibility issues — missing labels, broken tab order, contrast, and ARIA misuse.
SkillCFreshness: C★ 13Claude Code +9 - 0.543score
adding-auth
muhammedadnank
Add authentication to a web application using NextAuth.js (Auth.js), including OAuth providers, session management, and protected routes.
SkillCFreshness: C★ 13Claude Code +9 - 0.543score
adding-api-docs
muhammedadnank
Generate OpenAPI/Swagger documentation for an API, including endpoint schemas, request/response types, and interactive docs UI.
SkillCFreshness: C★ 13Claude Code +9 - 0.543score
adding-feature-flags
muhammedadnank
Add feature flags to an application for gradual rollouts, A/B testing, and kill switches using PostHog, LaunchDarkly, or a simple local implementation.
SkillCFreshness: C★ 13Claude Code +9
Signals
- Stars
- 13
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Jun 6, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from muhammedadnank
- 0.551score
3-statement-model
muhammedadnank
Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) .
SkillCFreshness: C★ 13Claude Code +9 - 0.546score
acreadiness-generate-instructions
muhammedadnank
Generate tailored AI agent instruction files via AgentRC instructions command.
SkillCFreshness: C★ 13Claude Code +9 - 0.546score
acreadiness-policy
muhammedadnank
Help the user pick, write, or apply an AgentRC policy.
SkillCFreshness: C★ 13Claude Code +9 - 0.546score
acreadiness-assess
muhammedadnank
Run the AgentRC readiness assessment on the current repository and produce a static HTML dashboard at reports/index.html.
SkillCFreshness: C★ 13Claude Code +9 - 0.546score
agent-owasp-compliance
muhammedadnank
Check any AI agent codebase against the OWASP Agentic Security Initiative (ASI) Top 10 risks.
SkillCFreshness: C★ 13Claude Code +9 - 0.546score
agent-supply-chain
muhammedadnank
Verify supply chain integrity for AI agent plugins, tools, and dependencies.
SkillCFreshness: C★ 13Claude Code +9
Cite this page
adding-stripe skill. Agent Mart. https://agentmart.dev/skills/muhammedadnank-adding-stripe (last updated 2026-10-24)