agentsclimarketplace

Sc stripe

Skill rahmanef63/si-coder-agent/skills/sc-stripe

(STUB / NOT IMPLEMENTED YET) Stripe payments setup — create products/prices, webhook endpoint registration, customer portal config, restricted API keys. Pairs with sc-convex for `payments` table mutations and HTTP webhook routes.From its SKILL.md

Install
npx -y skills add rahmanef63/si-coder-agent --skill sc-stripe

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 13 stars13 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.7 KB, 404 tokens by cl100k_base, as published. Nobody here has run it

/sc-stripe — Stripe (STUB)

Status: boilerplate only. No working scripts yet.

Scope when implemented

  • Create/update Products + Prices idempotently from a config file
  • Register webhook endpoint at https://api-<domain>/webhook/stripe and capture the signing secret
  • Generate a restricted API key (least-privilege) for the runtime, distinct from the dashboard key
  • Configure the Customer Portal session URL
  • Smoke-test with a Stripe test-mode checkout link

Env vars

VarPurpose
STRIPE_SECRET_KEYsk_test_... or sk_live_... (server-side)
STRIPE_PUBLISHABLE_KEYpk_test_... or pk_live_... (client-side)
STRIPE_WEBHOOK_SECRETwhsec_... — captured after webhook registration

Suggested file layout

sc-stripe/
├── SKILL.md
└── scripts/
    ├── products.js    # idempotent product/price upsert from config
    ├── webhook.js     # register endpoint, capture whsec
    ├── portal.js      # customer portal config
    └── restricted-key.js  # least-privilege key for runtime

Implementation notes

  • API base: https://api.stripe.com/v1
  • Auth: Authorization: Bearer <STRIPE_SECRET_KEY> + Stripe-Version: 2024-12-18.acacia
  • Bodies are application/x-www-form-urlencoded, NOT JSON.
  • Idempotency: pass Idempotency-Key: <uuid> header to avoid duplicate products on retry.
  • Convex integration: see sc-convex for payments schema + http.ts /webhook/stripe route example.

What ships with it: 1 file

634 B alongside SKILL.md, 1 of them executable

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.