[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CTY4JRB05DY3SCWWDBNJAD":3,"skill-same:01M7CTY4JRB05DY3SCWWDBNJAD":60},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7CTY4JRB05DY3SCWWDBNJAD","stripe",null,"Use when MDE work touches Stripe checkout, payment intents, ticket payments, Connect, webhooks, refunds, idempotency, or payment security.","amoai-tech\u002Fmdeai","amoai-tech","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F320616881?v=4","01M7CTJYGWP82J2HHMQC5NN9JP","amo","01M7CTJYHE5YQRGQSDJES3Z0QE",2,"MIT","https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fstripe\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: stripe\ndescription: >-\n  Use when MDE work touches Stripe checkout, payment intents, ticket payments, Connect, webhooks, refunds, idempotency, or payment security.\nmetadata:\n  verified-package: \"stripe@14.21.0 — Deno edge functions via esm.sh; no npm SDK installed\"\n  verified-api-version: \"2026-04-22\"\n  verified-at: \"2026-09-28\"\n---\n\n# Stripe\n\nOwn Stripe-specific implementation and payment safety. Do not own general ticket-domain rules or Supabase policy design.\n\n## Where Stripe actually runs\n\nThere is **no Stripe npm dependency** in this repo. Stripe is imported inside the\nDeno edge functions:\n\n```ts\nimport Stripe from \"https:\u002F\u002Fesm.sh\u002Fstripe@14.21.0?target=denonext\";\n```\n\n`supabase\u002Ffunctions\u002Fticket-checkout\u002F` and `supabase\u002Ffunctions\u002Fticket-payment-webhook\u002F`\npin `apiVersion: \"2026-04-22\"`. Re-verify both the module version and the API version\nbefore changing payment code — an API-version bump can change field shapes a webhook\nhandler depends on. Next.js route handlers under `src\u002Fapp\u002Fapi\u002Ftickets\u002F` call into\nthose functions rather than the Stripe SDK directly.\n\n## Source order\n\n1. Inspect the current MDE payment code and installed dependencies.\n2. Verify the exact API behavior in current Stripe official docs before changing payment contracts.\n3. Preserve existing MDE architecture unless the task explicitly requires migration.\n\n## MDE invariants\n\n- Never expose secret keys or webhook secrets to client code.\n- Verify webhook signatures from the raw request body before trusting an event.\n- Make webhook side effects idempotent; duplicate delivery must not duplicate tickets, ledger rows, or fulfillment.\n- Never treat a client redirect or client-supplied status as proof of successful payment.\n- Keep payment writes scoped to the authenticated organization\u002Fuser and the intended checkout object.\n- Current repo has no direct Stripe npm dependency; do not add one unless the task requires it and the existing edge\u002FHTTP pattern is insufficient.\n\n## Workflow\n\n1. Identify checkout, webhook, refund, Connect, or reconciliation path.\n2. Trace the current request and persistence path end to end.\n3. Define duplicate\u002Fretry\u002Ffailure behavior before editing.\n4. Implement the smallest safe change.\n5. Run targeted unit\u002Fintegration checks plus duplicate-delivery and invalid-signature cases for webhook work.\n\n## Handoff\n\nUse `events` for ticket\u002Fevent business rules, `supabase` for RLS\u002Fschema, `systematic-debugging` for unknown failures, and `task-verifier` for production-critical completion claims.\n","# Stripe\n\nOwn Stripe-specific implementation and payment safety. Do not own general ticket-domain rules or Supabase policy design.\n\n## Where Stripe actually runs\n\nThere is **no Stripe npm dependency** in this repo. Stripe is imported inside the\nDeno edge functions:\n\n```ts\nimport Stripe from \"https:\u002F\u002Fesm.sh\u002Fstripe@14.21.0?target=denonext\";\n```\n\n`supabase\u002Ffunctions\u002Fticket-checkout\u002F` and `supabase\u002Ffunctions\u002Fticket-payment-webhook\u002F`\npin `apiVersion: \"2026-04-22\"`. Re-verify both the module version and the API version\nbefore changing payment code — an API-version bump can change field shapes a webhook\nhandler depends on. Next.js route handlers under `src\u002Fapp\u002Fapi\u002Ftickets\u002F` call into\nthose functions rather than the Stripe SDK directly.\n\n## Source order\n\n1. Inspect the current MDE payment code and installed dependencies.\n2. Verify the exact API behavior in current Stripe official docs before changing payment contracts.\n3. Preserve existing MDE architecture unless the task explicitly requires migration.\n\n## MDE invariants\n\n- Never expose secret keys or webhook secrets to client code.\n- Verify webhook signatures from the raw request body before trusting an event.\n- Make webhook side effects idempotent; duplicate delivery must not duplicate tickets, ledger rows, or fulfillment.\n- Never treat a client redirect or client-supplied status as proof of successful payment.\n- Keep payment writes scoped to the authenticated organization\u002Fuser and the intended checkout object.\n- Current repo has no direct Stripe npm dependency; do not add one unless the task requires it and the existing edge\u002FHTTP pattern is insufficient.\n\n## Workflow\n\n1. Identify checkout, webhook, refund, Connect, or reconciliation path.\n2. Trace the current request and persistence path end to end.\n3. Define duplicate\u002Fretry\u002Ffailure behavior before editing.\n4. Implement the smallest safe change.\n5. Run targeted unit\u002Fintegration checks plus duplicate-delivery and invalid-signature cases for webhook work.\n\n## Handoff\n\nUse `events` for ticket\u002Fevent business rules, `supabase` for RLS\u002Fschema, `systematic-debugging` for unknown failures, and `task-verifier` for production-critical completion claims.\n",{"name":5,"metadata":24,"description":7},{"verified-at":25,"verified-package":26,"verified-api-version":27},"2026-09-28","stripe@14.21.0 — Deno edge functions via esm.sh; no npm SDK installed","2026-04-22","main","9955f6a8aa5de3c14fea562c7e6b72973366ba3c",".claude\u002Fskills\u002Fstripe",1,"https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai","https:\u002F\u002Fmdeai-psi.vercel.app","https:\u002F\u002Fgithub.com\u002Famoai-tech","2026-11-13 03:54:16",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add amoai-tech\u002Fmdeai --skill stripe",{"tool":42,"command":43},"bunx","bunx skills add amoai-tech\u002Fmdeai --skill stripe",{"tool":45,"command":46},"pnpm","pnpm dlx skills add amoai-tech\u002Fmdeai --skill stripe","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fstripe\u002FSKILL.md",true,[50,56],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"evals\u002Fevals.json","REFERENCE","参考文档",1326,"https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fstripe\u002Fevals\u002Fevals.json",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Freview.md",919,"https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fstripe\u002Freferences\u002Freview.md",[61,68,75,82,89,96],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7CV3D59CQX8N178NN3W5DEQ","mde-pr-review-supabase","Use when reviewing MDE Supabase SQL, Auth and RLS changes in a pull request.","https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002Fscripts\u002Fpr-agent\u002Fskills\u002Fsupabase\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7CV39XR1SPH7C4FNXAXMM36","mde-pr-review-stripe","Use when reviewing MDE Stripe payments and webhooks changes in a pull request.","https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002Fscripts\u002Fpr-agent\u002Fskills\u002Fstripe\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7CV37HHNM5A144SEX2VE05N","mde-pr-review-nextjs","Use when reviewing MDE Next.js App Router changes in a pull request.","https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002Fscripts\u002Fpr-agent\u002Fskills\u002Fnextjs\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7CV34C1M5STTKHX5CGVN3VS","mde-pr-review-mastra","Use when reviewing MDE Mastra agent, tool and workflow changes in a pull request.","https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002Fscripts\u002Fpr-agent\u002Fskills\u002Fmastra\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7CV31A37VPRRASAVGE8K8SN","mde-pr-review-maps","Use when reviewing MDE Google Maps and Places changes in a pull request.","https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002Fscripts\u002Fpr-agent\u002Fskills\u002Fmaps\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7CV2Y70DQJ1VXFHS732CSQ4","mde-pr-review-copilotkit","Use when reviewing MDE CopilotKit and AG-UI changes in a pull request.","https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002Fscripts\u002Fpr-agent\u002Fskills\u002Fcopilotkit\u002FSKILL.md",[],[]]