[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M743AFZZJC7P70PBXGQYGRM3":3,"skill-same:01M743AFZZJC7P70PBXGQYGRM3":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M743AFZZJC7P70PBXGQYGRM3","convex-billing",null,"Add Stripe billing\u002Fpayments to the Convex app via @convex-dev\u002Fstripe (checkout + webhook + gating).","krake747\u002Fnext-bite","krake747","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F41166160?v=4","01M6C7NZHDDRQH3NNDXXY1WMDS","Kevin Kraemer","01M6C7NZNM7ZQ1XMT6ZSSFZ3CY",0,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-billing\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: convex-billing\ndescription: \"Add Stripe billing\u002Fpayments to the Convex app via @convex-dev\u002Fstripe (checkout + webhook + gating).\"\n---\n\n\u003C!-- GENERATED from convex-agents content\u002Fcapabilities\u002Fbilling.json — do not edit by hand. -->\n\n# Add billing \u002F payments\n\nWire Stripe to Convex using @convex-dev\u002Fstripe: a checkout action, an httpAction webhook registered by the component (signature-verified automatically), subscription state stored in the component's tables, and server-side gating via a query.\n\n## Workflow\n\n1. Install the component: `npm install @convex-dev\u002Fstripe`.\n2. Create `convex\u002Fconvex.config.ts`:\n   ```ts\n   import { defineApp } from 'convex\u002Fserver';\n   import stripe from '@convex-dev\u002Fstripe\u002Fconvex.config.js';\n   const app = defineApp();\n   app.use(stripe);\n   export default app;\n   ```\n3. Store Stripe keys in Convex env (use the `env` micro power): `STRIPE_SECRET_KEY` (sk_test_… \u002F sk_live_…) and `STRIPE_WEBHOOK_SECRET` (whsec_…).\n4. Create `convex\u002Fhttp.ts` to register the webhook route (the component handles signature verification automatically):\n   ```ts\n   import { httpRouter } from 'convex\u002Fserver';\n   import { components } from '.\u002F_generated\u002Fapi';\n   import { registerRoutes } from '@convex-dev\u002Fstripe';\n   const http = httpRouter();\n   registerRoutes(http, components.stripe, { webhookPath: '\u002Fstripe\u002Fwebhook' });\n   export default http;\n   ```\n5. Create `convex\u002Fbilling.ts` with a checkout action and a subscription-gate query:\n   ```ts\n   import { action, query } from '.\u002F_generated\u002Fserver';\n   import { components } from '.\u002F_generated\u002Fapi';\n   import { StripeSubscriptions } from '@convex-dev\u002Fstripe';\n   import { v } from 'convex\u002Fvalues';\n   const stripeClient = new StripeSubscriptions(components.stripe, {});\n   export const createSubscriptionCheckout = action({\n     args: { priceId: v.string() },\n     returns: v.object({ sessionId: v.string(), url: v.union(v.string(), v.null()) }),\n     handler: async (ctx, args) => {\n       const identity = await ctx.auth.getUserIdentity();\n       if (!identity) throw new Error('Not authenticated');\n       const customer = await stripeClient.getOrCreateCustomer(ctx, { userId: identity.subject, email: identity.email, name: identity.name });\n       return await stripeClient.createCheckoutSession(ctx, { priceId: args.priceId, customerId: customer.customerId, mode: 'subscription', successUrl: `${process.env.SITE_URL ?? 'http:\u002F\u002Flocalhost:3000'}\u002F?success=true`, cancelUrl: `${process.env.SITE_URL ?? 'http:\u002F\u002Flocalhost:3000'}\u002F?canceled=true`, subscriptionMetadata: { userId: identity.subject } });\n     },\n   });\n   export const isSubscribed = query({\n     args: {},\n     returns: v.boolean(),\n     handler: async (ctx) => {\n       const identity = await ctx.auth.getUserIdentity();\n       if (!identity) return false;\n       const subscriptions = await ctx.runQuery(components.stripe.public.listSubscriptionsByUserId, { userId: identity.subject });\n       return subscriptions.some((sub) => sub.status === 'active' || sub.status === 'trialing');\n     },\n   });\n   ```\n6. Run `npx convex dev --once` — it will install the component and push the functions. Verify output shows `✔ Installed component stripe.`\n7. In Stripe Dashboard → Webhooks: add endpoint `https:\u002F\u002F\u003Cdeployment>.convex.site\u002Fstripe\u002Fwebhook`, subscribe to `checkout.session.completed`, `customer.subscription.*`, `invoice.*`, `payment_intent.*`. Copy the signing secret as `STRIPE_WEBHOOK_SECRET`.\n\n## Rules\n\n- Use @convex-dev\u002Fstripe (npm: @convex-dev\u002Fstripe@^0.1.4) — it handles webhook signature verification internally via registerRoutes; do NOT write a manual constructEvent webhook.\n- Stripe keys live in Convex env (use the `env` micro power): STRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET.\n- Gate on server-stored subscription state via isSubscribed query (reads component tables), not client claims.\n- convex\u002Fconvex.config.ts must import from '@convex-dev\u002Fstripe\u002Fconvex.config.js' (not .ts) — the .js extension is required by the Convex bundler.\n","\u003C!-- GENERATED from convex-agents content\u002Fcapabilities\u002Fbilling.json — do not edit by hand. -->\n\n# Add billing \u002F payments\n\nWire Stripe to Convex using @convex-dev\u002Fstripe: a checkout action, an httpAction webhook registered by the component (signature-verified automatically), subscription state stored in the component's tables, and server-side gating via a query.\n\n## Workflow\n\n1. Install the component: `npm install @convex-dev\u002Fstripe`.\n2. Create `convex\u002Fconvex.config.ts`:\n   ```ts\n   import { defineApp } from 'convex\u002Fserver';\n   import stripe from '@convex-dev\u002Fstripe\u002Fconvex.config.js';\n   const app = defineApp();\n   app.use(stripe);\n   export default app;\n   ```\n3. Store Stripe keys in Convex env (use the `env` micro power): `STRIPE_SECRET_KEY` (sk_test_… \u002F sk_live_…) and `STRIPE_WEBHOOK_SECRET` (whsec_…).\n4. Create `convex\u002Fhttp.ts` to register the webhook route (the component handles signature verification automatically):\n   ```ts\n   import { httpRouter } from 'convex\u002Fserver';\n   import { components } from '.\u002F_generated\u002Fapi';\n   import { registerRoutes } from '@convex-dev\u002Fstripe';\n   const http = httpRouter();\n   registerRoutes(http, components.stripe, { webhookPath: '\u002Fstripe\u002Fwebhook' });\n   export default http;\n   ```\n5. Create `convex\u002Fbilling.ts` with a checkout action and a subscription-gate query:\n   ```ts\n   import { action, query } from '.\u002F_generated\u002Fserver';\n   import { components } from '.\u002F_generated\u002Fapi';\n   import { StripeSubscriptions } from '@convex-dev\u002Fstripe';\n   import { v } from 'convex\u002Fvalues';\n   const stripeClient = new StripeSubscriptions(components.stripe, {});\n   export const createSubscriptionCheckout = action({\n     args: { priceId: v.string() },\n     returns: v.object({ sessionId: v.string(), url: v.union(v.string(), v.null()) }),\n     handler: async (ctx, args) => {\n       const identity = await ctx.auth.getUserIdentity();\n       if (!identity) throw new Error('Not authenticated');\n       const customer = await stripeClient.getOrCreateCustomer(ctx, { userId: identity.subject, email: identity.email, name: identity.name });\n       return await stripeClient.createCheckoutSession(ctx, { priceId: args.priceId, customerId: customer.customerId, mode: 'subscription', successUrl: `${process.env.SITE_URL ?? 'http:\u002F\u002Flocalhost:3000'}\u002F?success=true`, cancelUrl: `${process.env.SITE_URL ?? 'http:\u002F\u002Flocalhost:3000'}\u002F?canceled=true`, subscriptionMetadata: { userId: identity.subject } });\n     },\n   });\n   export const isSubscribed = query({\n     args: {},\n     returns: v.boolean(),\n     handler: async (ctx) => {\n       const identity = await ctx.auth.getUserIdentity();\n       if (!identity) return false;\n       const subscriptions = await ctx.runQuery(components.stripe.public.listSubscriptionsByUserId, { userId: identity.subject });\n       return subscriptions.some((sub) => sub.status === 'active' || sub.status === 'trialing');\n     },\n   });\n   ```\n6. Run `npx convex dev --once` — it will install the component and push the functions. Verify output shows `✔ Installed component stripe.`\n7. In Stripe Dashboard → Webhooks: add endpoint `https:\u002F\u002F\u003Cdeployment>.convex.site\u002Fstripe\u002Fwebhook`, subscribe to `checkout.session.completed`, `customer.subscription.*`, `invoice.*`, `payment_intent.*`. Copy the signing secret as `STRIPE_WEBHOOK_SECRET`.\n\n## Rules\n\n- Use @convex-dev\u002Fstripe (npm: @convex-dev\u002Fstripe@^0.1.4) — it handles webhook signature verification internally via registerRoutes; do NOT write a manual constructEvent webhook.\n- Stripe keys live in Convex env (use the `env` micro power): STRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET.\n- Gate on server-stored subscription state via isSubscribed query (reads component tables), not client claims.\n- convex\u002Fconvex.config.ts must import from '@convex-dev\u002Fstripe\u002Fconvex.config.js' (not .ts) — the .js extension is required by the Convex bundler.\n",{"name":5,"description":7},"main","3c970b39d008db97116163d98fcac34ddbfa6d3a",".agents\u002Fskills\u002Fconvex-billing",1,"https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite","https:\u002F\u002Fnextbite.kevinkraemer.com","https:\u002F\u002Fgithub.com\u002Fkrake747","https:\u002F\u002Fwww.kevinkraemer.com","Full-stack dev into functional programming. Curious, easy-going, and always up for a ride on road or gravel.","2026-11-15 03:33:16",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add krake747\u002Fnext-bite --skill convex-billing",{"tool":40,"command":41},"bunx","bunx skills add krake747\u002Fnext-bite --skill convex-billing",{"tool":43,"command":44},"pnpm","pnpm dlx skills add krake747\u002Fnext-bite --skill convex-billing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-billing\u002FSKILL.md",true,[],[49,57,64,71,78,85],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":56},"01M7DS27FA8C6TBS02DHT6R6D2","react-review","Use when reviewing React components, hooks, or route files for idiomatic React, when the user asks for refactor targets or a React cleanup pass, or types \u002Freact-review. Reports composition, colocation, state ownership, and repo-idiom findings ranked by hurt. It reports, it does not fix. External scanner counterpart is react-doctor.","https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Freact-review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M743DFMPGZYXA36R160AE5GQ","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M743DD5BX30Q0369WKWK16ZZ","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M743D9JSP6KD0YRZ96AXB4DN","wait-what","Stop. That last message did not land: re-pitch it.","https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwait-what\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M743D26PT5F1DTZKKAAXNQHH","to-questionnaire","Turn a decision you can't fully answer into a questionnaire for someone else to fill in.","https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fto-questionnaire\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M743CTKH749CZ429C9XWF2GJ","retro","Conduct a retrospective on a coding session.","https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fretro\u002FSKILL.md",[],[]]