[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6G1J7CQG643GDTE7SQFPGCE":3,"skill-same:01M6G1J7CQG643GDTE7SQFPGCE":50},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":23,"linkOnly":24,"markdownContent":25,"markdownBody":25,"frontMatter":26,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M6G1J7CQG643GDTE7SQFPGCE","stripe-integration-expert",null,"oabdelmaksoud\u002FAgention","oabdelmaksoud","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F50699149?v=4","01M6D5CVVN778ZCDP1WHS816SP","Omar Abdelmaksoud","01M6D8A4TE76V3DCSH3D94VG1V",2,"MIT","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fclaude-skills\u002Fengineering-team\u002Fstripe-integration-expert\u002FSKILL.md",[],[18,19,20,21,22],"integration","stripe integration","stripe integration expert","expert","stripe","2026-11-10 10:12:30",false,"# Stripe Integration Expert\n\n**Tier:** POWERFUL  \n**Category:** Engineering Team  \n**Domain:** Payments \u002F Billing Infrastructure\n\n---\n\n## Overview\n\nImplement production-grade Stripe integrations: subscriptions with trials and proration, one-time payments, usage-based billing, checkout sessions, idempotent webhook handlers, customer portal, and invoicing. Covers Next.js, Express, and Django patterns.\n\n---\n\n## Core Capabilities\n\n- Subscription lifecycle management (create, upgrade, downgrade, cancel, pause)\n- Trial handling and conversion tracking\n- Proration calculation and credit application\n- Usage-based billing with metered pricing\n- Idempotent webhook handlers with signature verification\n- Customer portal integration\n- Invoice generation and PDF access\n- Full Stripe CLI local testing setup\n\n---\n\n## When to Use\n\n- Adding subscription billing to any web app\n- Implementing plan upgrades\u002Fdowngrades with proration\n- Building usage-based or seat-based billing\n- Debugging webhook delivery failures\n- Migrating from one billing model to another\n\n---\n\n## Subscription Lifecycle State Machine\n\n```\nFREE_TRIAL ──paid──► ACTIVE ──cancel──► CANCEL_PENDING ──period_end──► CANCELED\n     │                  │                                                    │\n     │               downgrade                                            reactivate\n     │                  ▼                                                    │\n     │             DOWNGRADING ──period_end──► ACTIVE (lower plan)           │\n     │                                                                        │\n     └──trial_end without payment──► PAST_DUE ──payment_failed 3x──► CANCELED\n                                          │\n                                     payment_success\n                                          │\n                                          ▼\n                                        ACTIVE\n```\n\n### DB subscription status values:\n`trialing | active | past_due | canceled | cancel_pending | paused | unpaid`\n\n---\n\n## Stripe Client Setup\n\n```typescript\n\u002F\u002F lib\u002Fstripe.ts\nimport Stripe from \"stripe\"\n\nexport const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, {\n  apiVersion: \"2024-04-10\",\n  typescript: true,\n  appInfo: {\n    name: \"MyApp\",\n    version: \"1.0.0\",\n  },\n})\n\n\u002F\u002F Price IDs by plan (set in env)\nexport const PLANS = {\n  starter: {\n    monthly: process.env.STRIPE_STARTER_MONTHLY_PRICE_ID!,\n    yearly: process.env.STRIPE_STARTER_YEARLY_PRICE_ID!,\n    features: [\"5 projects\", \"10k events\"],\n  },\n  pro: {\n    monthly: process.env.STRIPE_PRO_MONTHLY_PRICE_ID!,\n    yearly: process.env.STRIPE_PRO_YEARLY_PRICE_ID!,\n    features: [\"Unlimited projects\", \"1M events\"],\n  },\n} as const\n```\n\n---\n\n## Checkout Session (Next.js App Router)\n\n```typescript\n\u002F\u002F app\u002Fapi\u002Fbilling\u002Fcheckout\u002Froute.ts\nimport { NextResponse } from \"next\u002Fserver\"\nimport { stripe } from \"@\u002Flib\u002Fstripe\"\nimport { getAuthUser } from \"@\u002Flib\u002Fauth\"\nimport { db } from \"@\u002Flib\u002Fdb\"\n\nexport async function POST(req: Request) {\n  const user = await getAuthUser()\n  if (!user) return NextResponse.json({ error: \"Unauthorized\" }, { status: 401 })\n\n  const { priceId, interval = \"monthly\" } = await req.json()\n\n  \u002F\u002F Get or create Stripe customer\n  let stripeCustomerId = user.stripeCustomerId\n  if (!stripeCustomerId) {\n    const customer = await stripe.customers.create({\n      email: user.email,\n      name: user.name ?? undefined,\n      metadata: { userId: user.id },\n    })\n    stripeCustomerId = customer.id\n    await db.user.update({ where: { id: user.id }, data: { stripeCustomerId } })\n  }\n\n  const session = await stripe.checkout.sessions.create({\n    customer: stripeCustomerId,\n    mode: \"subscription\",\n    payment_method_types: [\"card\"],\n    line_items: [{ price: priceId, quantity: 1 }],\n    allow_promotion_codes: true,\n    subscription_data: {\n      trial_period_days: user.hasHadTrial ? undefined : 14,\n      metadata: { userId: user.id },\n    },\n    success_url: `${process.env.NEXT_PUBLIC_APP_URL}\u002Fdashboard?session_id={CHECKOUT_SESSION_ID}`,\n    cancel_url: `${process.env.NEXT_PUBLIC_APP_URL}\u002Fpricing`,\n    metadata: { userId: user.id },\n  })\n\n  return NextResponse.json({ url: session.url })\n}\n```\n\n---\n\n## Subscription Upgrade\u002FDowngrade\n\n```typescript\n\u002F\u002F lib\u002Fbilling.ts\nexport async function changeSubscriptionPlan(\n  subscriptionId: string,\n  newPriceId: string,\n  immediate = false\n) {\n  const subscription = await stripe.subscriptions.retrieve(subscriptionId)\n  const currentItem = subscription.items.data[0]\n\n  if (immediate) {\n    \u002F\u002F Upgrade: apply immediately with proration\n    return stripe.subscriptions.update(subscriptionId, {\n      items: [{ id: currentItem.id, price: newPriceId }],\n      proration_behavior: \"always_invoice\",\n      billing_cycle_anchor: \"unchanged\",\n    })\n  } else {\n    \u002F\u002F Downgrade: apply at period end, no proration\n    return stripe.subscriptions.update(subscriptionId, {\n      items: [{ id: currentItem.id, price: newPriceId }],\n      proration_behavior: \"none\",\n      billing_cycle_anchor: \"unchanged\",\n    })\n  }\n}\n\n\u002F\u002F Preview proration before confirming upgrade\nexport async function previewProration(subscriptionId: string, newPriceId: string) {\n  const subscription = await stripe.subscriptions.retrieve(subscriptionId)\n  const prorationDate = Math.floor(Date.now() \u002F 1000)\n\n  const invoice = await stripe.invoices.retrieveUpcoming({\n    customer: subscription.customer as string,\n    subscription: subscriptionId,\n    subscription_items: [{ id: subscription.items.data[0].id, price: newPriceId }],\n    subscription_proration_date: prorationDate,\n  })\n\n  return {\n    amountDue: invoice.amount_due,\n    prorationDate,\n    lineItems: invoice.lines.data,\n  }\n}\n```\n\n---\n\n## Complete Webhook Handler (Idempotent)\n\n```typescript\n\u002F\u002F app\u002Fapi\u002Fwebhooks\u002Fstripe\u002Froute.ts\nimport { NextResponse } from \"next\u002Fserver\"\nimport { headers } from \"next\u002Fheaders\"\nimport { stripe } from \"@\u002Flib\u002Fstripe\"\nimport { db } from \"@\u002Flib\u002Fdb\"\nimport Stripe from \"stripe\"\n\n\u002F\u002F Processed events table to ensure idempotency\nasync function hasProcessedEvent(eventId: string): Promise\u003Cboolean> {\n  const existing = await db.stripeEvent.findUnique({ where: { id: eventId } })\n  return !!existing\n}\n\nasync function markEventProcessed(eventId: string, type: string) {\n  await db.stripeEvent.create({ data: { id: eventId, type, processedAt: new Date() } })\n}\n\nexport async function POST(req: Request) {\n  const body = await req.text()\n  const signature = headers().get(\"stripe-signature\")!\n\n  let event: Stripe.Event\n  try {\n    event = stripe.webhooks.constructEvent(body, signature, process.env.STRIPE_WEBHOOK_SECRET!)\n  } catch (err) {\n    console.error(\"Webhook signature verification failed:\", err)\n    return NextResponse.json({ error: \"Invalid signature\" }, { status: 400 })\n  }\n\n  \u002F\u002F Idempotency check\n  if (await hasProcessedEvent(event.id)) {\n    return NextResponse.json({ received: true, skipped: true })\n  }\n\n  try {\n    switch (event.type) {\n      case \"checkout.session.completed\":\n        await handleCheckoutCompleted(event.data.object as Stripe.Checkout.Session)\n        break\n\n      case \"customer.subscription.created\":\n      case \"customer.subscription.updated\":\n        await handleSubscriptionUpdated(event.data.object as Stripe.Subscription)\n        break\n\n      case \"customer.subscription.deleted\":\n        await handleSubscriptionDeleted(event.data.object as Stripe.Subscription)\n        break\n\n      case \"invoice.payment_succeeded\":\n        await handleInvoicePaymentSucceeded(event.data.object as Stripe.Invoice)\n        break\n\n      case \"invoice.payment_failed\":\n        await handleInvoicePaymentFailed(event.data.object as Stripe.Invoice)\n        break\n\n      default:\n        console.log(`Unhandled event type: ${event.type}`)\n    }\n\n    await markEventProcessed(event.id, event.type)\n    return NextResponse.json({ received: true })\n  } catch (err) {\n    console.error(`Error processing webhook ${event.type}:`, err)\n    \u002F\u002F Return 500 so Stripe retries — don't mark as processed\n    return NextResponse.json({ error: \"Processing failed\" }, { status: 500 })\n  }\n}\n\nasync function handleCheckoutCompleted(session: Stripe.Checkout.Session) {\n  if (session.mode !== \"subscription\") return\n  \n  const userId = session.metadata?.userId\n  if (!userId) throw new Error(\"No userId in checkout session metadata\")\n\n  const subscription = await stripe.subscriptions.retrieve(session.subscription as string)\n  \n  await db.user.update({\n    where: { id: userId },\n    data: {\n      stripeCustomerId: session.customer as string,\n      stripeSubscriptionId: subscription.id,\n      stripePriceId: subscription.items.data[0].price.id,\n      stripeCurrentPeriodEnd: new Date(subscription.current_period_end * 1000),\n      subscriptionStatus: subscription.status,\n      hasHadTrial: true,\n    },\n  })\n}\n\nasync function handleSubscriptionUpdated(subscription: Stripe.Subscription) {\n  const user = await db.user.findUnique({\n    where: { stripeSubscriptionId: subscription.id },\n  })\n  if (!user) {\n    \u002F\u002F Look up by customer ID as fallback\n    const customer = await db.user.findUnique({\n      where: { stripeCustomerId: subscription.customer as string },\n    })\n    if (!customer) throw new Error(`No user found for subscription ${subscription.id}`)\n  }\n\n  await db.user.update({\n    where: { stripeSubscriptionId: subscription.id },\n    data: {\n      stripePriceId: subscription.items.data[0].price.id,\n      stripeCurrentPeriodEnd: new Date(subscription.current_period_end * 1000),\n      subscriptionStatus: subscription.status,\n      cancelAtPeriodEnd: subscription.cancel_at_period_end,\n    },\n  })\n}\n\nasync function handleSubscriptionDeleted(subscription: Stripe.Subscription) {\n  await db.user.update({\n    where: { stripeSubscriptionId: subscription.id },\n    data: {\n      stripeSubscriptionId: null,\n      stripePriceId: null,\n      stripeCurrentPeriodEnd: null,\n      subscriptionStatus: \"canceled\",\n    },\n  })\n}\n\nasync function handleInvoicePaymentFailed(invoice: Stripe.Invoice) {\n  if (!invoice.subscription) return\n  const attemptCount = invoice.attempt_count\n  \n  await db.user.update({\n    where: { stripeSubscriptionId: invoice.subscription as string },\n    data: { subscriptionStatus: \"past_due\" },\n  })\n\n  if (attemptCount >= 3) {\n    \u002F\u002F Send final dunning email\n    await sendDunningEmail(invoice.customer_email!, \"final\")\n  } else {\n    await sendDunningEmail(invoice.customer_email!, \"retry\")\n  }\n}\n\nasync function handleInvoicePaymentSucceeded(invoice: Stripe.Invoice) {\n  if (!invoice.subscription) return\n\n  await db.user.update({\n    where: { stripeSubscriptionId: invoice.subscription as string },\n    data: {\n      subscriptionStatus: \"active\",\n      stripeCurrentPeriodEnd: new Date(invoice.period_end * 1000),\n    },\n  })\n}\n```\n\n---\n\n## Usage-Based Billing\n\n```typescript\n\u002F\u002F Report usage for metered subscriptions\nexport async function reportUsage(subscriptionItemId: string, quantity: number) {\n  await stripe.subscriptionItems.createUsageRecord(subscriptionItemId, {\n    quantity,\n    timestamp: Math.floor(Date.now() \u002F 1000),\n    action: \"increment\",\n  })\n}\n\n\u002F\u002F Example: report API calls in middleware\nexport async function trackApiCall(userId: string) {\n  const user = await db.user.findUnique({ where: { id: userId } })\n  if (user?.stripeSubscriptionId) {\n    const subscription = await stripe.subscriptions.retrieve(user.stripeSubscriptionId)\n    const meteredItem = subscription.items.data.find(\n      (item) => item.price.recurring?.usage_type === \"metered\"\n    )\n    if (meteredItem) {\n      await reportUsage(meteredItem.id, 1)\n    }\n  }\n}\n```\n\n---\n\n## Customer Portal\n\n```typescript\n\u002F\u002F app\u002Fapi\u002Fbilling\u002Fportal\u002Froute.ts\nimport { NextResponse } from \"next\u002Fserver\"\nimport { stripe } from \"@\u002Flib\u002Fstripe\"\nimport { getAuthUser } from \"@\u002Flib\u002Fauth\"\n\nexport async function POST() {\n  const user = await getAuthUser()\n  if (!user?.stripeCustomerId) {\n    return NextResponse.json({ error: \"No billing account\" }, { status: 400 })\n  }\n\n  const portalSession = await stripe.billingPortal.sessions.create({\n    customer: user.stripeCustomerId,\n    return_url: `${process.env.NEXT_PUBLIC_APP_URL}\u002Fsettings\u002Fbilling`,\n  })\n\n  return NextResponse.json({ url: portalSession.url })\n}\n```\n\n---\n\n## Testing with Stripe CLI\n\n```bash\n# Install Stripe CLI\nbrew install stripe\u002Fstripe-cli\u002Fstripe\n\n# Login\nstripe login\n\n# Forward webhooks to local dev\nstripe listen --forward-to localhost:3000\u002Fapi\u002Fwebhooks\u002Fstripe\n\n# Trigger specific events for testing\nstripe trigger checkout.session.completed\nstripe trigger customer.subscription.updated\nstripe trigger invoice.payment_failed\n\n# Test with specific customer\nstripe trigger customer.subscription.updated \\\n  --override subscription:customer=cus_xxx\n\n# View recent events\nstripe events list --limit 10\n\n# Test cards\n# Success: 4242 4242 4242 4242\n# Requires auth: 4000 0025 0000 3155\n# Decline: 4000 0000 0000 9995\n# Insufficient funds: 4000 0000 0000 9995\n```\n\n---\n\n## Feature Gating Helper\n\n```typescript\n\u002F\u002F lib\u002Fsubscription.ts\nexport function isSubscriptionActive(user: { subscriptionStatus: string | null, stripeCurrentPeriodEnd: Date | null }) {\n  if (!user.subscriptionStatus) return false\n  if (user.subscriptionStatus === \"active\" || user.subscriptionStatus === \"trialing\") return true\n  \u002F\u002F Grace period: past_due but not yet expired\n  if (user.subscriptionStatus === \"past_due\" && user.stripeCurrentPeriodEnd) {\n    return user.stripeCurrentPeriodEnd > new Date()\n  }\n  return false\n}\n\n\u002F\u002F Middleware usage\nexport async function requireActiveSubscription() {\n  const user = await getAuthUser()\n  if (!isSubscriptionActive(user)) {\n    redirect(\"\u002Fbilling?reason=subscription_required\")\n  }\n}\n```\n\n---\n\n## Common Pitfalls\n\n- **Webhook delivery order not guaranteed** — always re-fetch from Stripe API, never trust event data alone for DB updates\n- **Double-processing webhooks** — Stripe retries on 500; always use idempotency table\n- **Trial conversion tracking** — store `hasHadTrial: true` in DB to prevent trial abuse\n- **Proration surprises** — always preview proration before upgrade; show user the amount before confirming\n- **Customer portal not configured** — must enable features in Stripe dashboard under Billing → Customer portal settings\n- **Missing metadata on checkout** — always pass `userId` in metadata; can't link subscription to user without it\n",{},"main","a318f48de3c5718e8ea2e9f6fae7790e8a759e85","upstream-sync\u002Fwork\u002Fclaude-skills\u002Fengineering-team\u002Fstripe-integration-expert",0,"https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fo-abdelmaksoud\u002F","Full-Stack Engineer | AI Systems Architect | Building autonomous multi-agent systems","2026-03-08 21:23:03",{"source":7,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add oabdelmaksoud\u002FAgention --skill stripe-integration-expert",{"tool":42,"command":43},"bunx","bunx skills add oabdelmaksoud\u002FAgention --skill stripe-integration-expert",{"tool":45,"command":46},"pnpm","pnpm dlx skills add oabdelmaksoud\u002FAgention --skill stripe-integration-expert","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fclaude-skills\u002Fengineering-team\u002Fstripe-integration-expert\u002FSKILL.md",true,[],[51,75,89,121,147,167],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":62,"publishedAt":23},"01M6G2QFCBNBYAJF2KTK85G9A6","visa-doc-translate","Translate visa application documents (images) to English and create a bilingual PDF with original and translation","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fvisa-doc-translate\u002FSKILL.md",[57],{"categoryNo":58,"categoryName":59,"taxonomyType":60,"taxonomyTypeDesc":61},"01JBSEEDCAT000000000000002","文档处理","SCENARIO","使用场景",[63,64,65,66,67,68,69,70,71,72,73,74],"translate","doc","visa doc translate","bilingual","with","english","application","PDF","translation","documents","create","images",{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":23},"01M6G2QB09TSK6BY4ME5X20EVQ","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[82,83,84,85,86,87,88],"verification","loop","verification loop","sessions","code","claude code sessions","system",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":106,"publishedAt":23},"01M6G2Q6V2F7G03VAAF27FXPJR","tdd-workflow","Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Ftdd-workflow\u002FSKILL.md",[95,98,101],{"categoryNo":96,"categoryName":97,"taxonomyType":60,"taxonomyTypeDesc":61},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":99,"categoryName":100,"taxonomyType":60,"taxonomyTypeDesc":61},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":102,"categoryName":103,"taxonomyType":104,"taxonomyTypeDesc":105},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[107,108,109,110,111,112,113,114,18,86,115,116,117,118,67,119,120],"workflow","tdd","tdd workflow","use","unit","coverage","refactoring","e2e","development","e2e tests","tests","driven","test","writing",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":23},"01M6G2Q359YJRWAR2PFCEQAXF3","swiftui-patterns","SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS\u002FmacOS UI best practices.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fswiftui-patterns\u002FSKILL.md",[],[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,67],"patterns","swiftui","swiftui patterns","architecture","macos","performance","state management","best practices","state","ui","Optimization","ios","architecture patterns","Composition","performance optimization","view","management","swiftui architecture","navigation",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":154,"publishedAt":23},"01M6G2PY8B2FWZTWPZ84H83Y7C","swift-protocol-di-testing","Protocol-based dependency injection for testable Swift code — mock file system, network, and external APIs using focused protocols and Swift Testing.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fswift-protocol-di-testing\u002FSKILL.md",[153],{"categoryNo":96,"categoryName":97,"taxonomyType":60,"taxonomyTypeDesc":61},[155,156,157,158,86,159,160,161,162,88,163,164,165,166],"swift protocol di testing","protocol","swift","testing","protocols","file","network","injection","dependency","swift testing","dependency injection","mock",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":23},"01M6G2PSCN2GXV9FFZDRRRWVB6","swift-concurrency-6-2","Swift 6.2 Approachable Concurrency — single-threaded by default, @concurrent for explicit background offloading, isolated conformances for main actor types.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FAgention\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fswift-concurrency-6-2\u002FSKILL.md",[],[174,175,176,157,177,27,178],"concurrency","swift concurrency","swift concurrency 6 2","default","types"]