[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CTZKMAT1XFR4Y2S39C7ZA2":3,"skill-same:01M7CTZKMAT1XFR4Y2S39C7ZA2":72},{"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":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7CTZKMAT1XFR4Y2S39C7ZA2","whatsapp",null,"Use when implementing, auditing, testing or debugging MDE WhatsApp Meta Cloud API channels, Mastra adapters, webhooks, consent, templates, messaging, rental viewing or broker notifications, restaurant\u002Fvenue discovery, and event reminders. Reuse Supabase, CopilotKit and existing agents rather than creating a standalone bot.","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\u002Fwhatsapp\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: whatsapp\ndescription: Use when implementing, auditing, testing or debugging MDE WhatsApp Meta Cloud API channels, Mastra adapters, webhooks, consent, templates, messaging, rental viewing or broker notifications, restaurant\u002Fvenue discovery, and event reminders. Reuse Supabase, CopilotKit and existing agents rather than creating a standalone bot.\n---\n\n# WhatsApp — MDE channel domain skill\n\n**Owner:** WhatsApp-specific integration contracts. For task execution, use the primary `implement`, `errors`, `plan` or `tasks` workflow; read this skill as domain guidance. Read `AGENTS.md` and the applicable `mastra`, `supabase`, `copilotkit`, `real-estate`, `events`, or `testing` skill only when relevant.\n\n## Product contract\n\nMeta Cloud API → installed Mastra WhatsApp adapter → existing `conciergeAgent` and authorized domain tools → Supabase. CopilotKit stays the web UI. Retire legacy Infobip only after a real traffic\u002Fdependency and rollback check; do not rewrite its independent AI agent. Preserve existing `whatsapp_conversations`, `whatsapp_messages`, `whatsapp_subscriptions`, `wa_outbox` and their constraints\u002Fpolicies unless live evidence requires a minimal migration.\n\n## Execute\n\n1. **Verify:** Inspect current main, pinned packages\u002Ftypes, relevant Linear issue, live Supabase schema\u002FRLS\u002Ffunctions, channel endpoint, active webhook traffic, workers and sender owner. Unknown remains unknown. Check upstream docs against installed API.\n2. **Reuse:** Attach `@chat-adapter\u002Fwhatsapp` through the existing Mastra agent **only if installed contracts support it**. Do not scaffold a new app, add a second chatbot\u002Fwebhook, duplicate queue, create another rental search engine, or copy legacy v0 examples.\n3. **Secure ingress:** Verify Meta GET challenge and POST `X-Hub-Signature-256` over raw bytes at the **actual** adapter ingress; validate event types and atomically persist deduplication **and retryable work** before acknowledging; recover crash-after-ack without duplicate business actions. A phone number or provider signature does not authenticate an MDE renter\u002Fbroker.\n4. **Own outbound:** Inspect whether the adapter auto-replies. Reuse the approved existing outbox\u002Fworker for proactive messages only after identifying who truly dispatches; never have two components independently send the same message. Fence STOP against concurrent claim\u002Fsend so stale consent cannot authorize a send; cancel unsent jobs and reconcile already-in-flight submissions. Track provider IDs, retries, terminal failures and out-of-order statuses.\n5. **Authorize action:** Business services enforce rental eligibility, one lead\u002Fviewing, assigned-broker isolation, venue request status, payment\u002Fticket ownership, and consent\u002FSTOP\u002Ftemplate policy at dispatch. Do not infer real prices, coordinates, availability or confirmed actions.\n6. **Prove:** Focused tests → RLS\u002Fnegative tests → typecheck\u002Flint → integration and mobile E2E → real signed provider round trip. Verify duplicate delivery, replay, missing consent, unauthorized actor, provider errors, and web chat regression before any production claim.\n\n## Read relevant detail only\n\n- [Meta Cloud API and templates](references\u002Fmeta-cloud-api.md) — provider setup, conversations, templates, message status.\n- [Webhooks](references\u002Fwebhooks.md) — GET\u002FPOST authentication, raw-body validation, replay and recovery.\n- [Mastra and Chat SDK](references\u002Fmastra-chat-sdk.md) — adapter, ownership and version checks.\n- [Supabase](references\u002Fsupabase.md) — four existing tables, RLS, grants, outbox, idempotency.\n- [User journeys](references\u002Fjourneys.md) — rentals, restaurants\u002Fvenues, events, broker\u002Fops handoff.\n\n## Response\n**What's correct · What's broken · Smallest change · Verification · Next step.** Separate confirmed issues from risks and unknowns. Never call a PR merged\u002Fdeployed or the journey production-ready without evidence.\n","# WhatsApp — MDE channel domain skill\n\n**Owner:** WhatsApp-specific integration contracts. For task execution, use the primary `implement`, `errors`, `plan` or `tasks` workflow; read this skill as domain guidance. Read `AGENTS.md` and the applicable `mastra`, `supabase`, `copilotkit`, `real-estate`, `events`, or `testing` skill only when relevant.\n\n## Product contract\n\nMeta Cloud API → installed Mastra WhatsApp adapter → existing `conciergeAgent` and authorized domain tools → Supabase. CopilotKit stays the web UI. Retire legacy Infobip only after a real traffic\u002Fdependency and rollback check; do not rewrite its independent AI agent. Preserve existing `whatsapp_conversations`, `whatsapp_messages`, `whatsapp_subscriptions`, `wa_outbox` and their constraints\u002Fpolicies unless live evidence requires a minimal migration.\n\n## Execute\n\n1. **Verify:** Inspect current main, pinned packages\u002Ftypes, relevant Linear issue, live Supabase schema\u002FRLS\u002Ffunctions, channel endpoint, active webhook traffic, workers and sender owner. Unknown remains unknown. Check upstream docs against installed API.\n2. **Reuse:** Attach `@chat-adapter\u002Fwhatsapp` through the existing Mastra agent **only if installed contracts support it**. Do not scaffold a new app, add a second chatbot\u002Fwebhook, duplicate queue, create another rental search engine, or copy legacy v0 examples.\n3. **Secure ingress:** Verify Meta GET challenge and POST `X-Hub-Signature-256` over raw bytes at the **actual** adapter ingress; validate event types and atomically persist deduplication **and retryable work** before acknowledging; recover crash-after-ack without duplicate business actions. A phone number or provider signature does not authenticate an MDE renter\u002Fbroker.\n4. **Own outbound:** Inspect whether the adapter auto-replies. Reuse the approved existing outbox\u002Fworker for proactive messages only after identifying who truly dispatches; never have two components independently send the same message. Fence STOP against concurrent claim\u002Fsend so stale consent cannot authorize a send; cancel unsent jobs and reconcile already-in-flight submissions. Track provider IDs, retries, terminal failures and out-of-order statuses.\n5. **Authorize action:** Business services enforce rental eligibility, one lead\u002Fviewing, assigned-broker isolation, venue request status, payment\u002Fticket ownership, and consent\u002FSTOP\u002Ftemplate policy at dispatch. Do not infer real prices, coordinates, availability or confirmed actions.\n6. **Prove:** Focused tests → RLS\u002Fnegative tests → typecheck\u002Flint → integration and mobile E2E → real signed provider round trip. Verify duplicate delivery, replay, missing consent, unauthorized actor, provider errors, and web chat regression before any production claim.\n\n## Read relevant detail only\n\n- [Meta Cloud API and templates](references\u002Fmeta-cloud-api.md) — provider setup, conversations, templates, message status.\n- [Webhooks](references\u002Fwebhooks.md) — GET\u002FPOST authentication, raw-body validation, replay and recovery.\n- [Mastra and Chat SDK](references\u002Fmastra-chat-sdk.md) — adapter, ownership and version checks.\n- [Supabase](references\u002Fsupabase.md) — four existing tables, RLS, grants, outbox, idempotency.\n- [User journeys](references\u002Fjourneys.md) — rentals, restaurants\u002Fvenues, events, broker\u002Fops handoff.\n\n## Response\n**What's correct · What's broken · Smallest change · Verification · Next step.** Separate confirmed issues from risks and unknowns. Never call a PR merged\u002Fdeployed or the journey production-ready without evidence.\n",{"name":5,"description":7},"main","9955f6a8aa5de3c14fea562c7e6b72973366ba3c",".claude\u002Fskills\u002Fwhatsapp",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":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add amoai-tech\u002Fmdeai --skill whatsapp",{"tool":38,"command":39},"bunx","bunx skills add amoai-tech\u002Fmdeai --skill whatsapp",{"tool":41,"command":42},"pnpm","pnpm dlx skills add amoai-tech\u002Fmdeai --skill whatsapp","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwhatsapp\u002FSKILL.md",true,[46,52,56,60,64,68],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"evals\u002Fevals.json","REFERENCE","参考文档",2100,"https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwhatsapp\u002Fevals\u002Fevals.json",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fjourneys.md",2020,"https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwhatsapp\u002Freferences\u002Fjourneys.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fmastra-chat-sdk.md",1523,"https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwhatsapp\u002Freferences\u002Fmastra-chat-sdk.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fmeta-cloud-api.md",2677,"https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwhatsapp\u002Freferences\u002Fmeta-cloud-api.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fsupabase.md",3124,"https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwhatsapp\u002Freferences\u002Fsupabase.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fwebhooks.md",2997,"https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwhatsapp\u002Freferences\u002Fwebhooks.md",[73,80,87,94,101,108],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"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":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"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":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"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":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"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":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"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":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"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",[],[]]