[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CTWJBQ0XWE5VM53TRJD1BV":3,"skill-same:01M7CTWJBQ0XWE5VM53TRJD1BV":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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7CTWJBQ0XWE5VM53TRJD1BV","opendots",null,"Use when implementing OpenDots-style user-reviewed AI proposals in MDE: editable drafts in existing forms, Accept\u002FEdit\u002FIgnore, exact-draft binding, source evidence, safe authenticated saves, version conflicts, idempotent retries, or persisted receipts after refresh. Do not install OpenDots.","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\u002Fopendots\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: opendots\ndescription: >-\n  Use when implementing OpenDots-style user-reviewed AI proposals in MDE:\n  editable drafts in existing forms, Accept\u002FEdit\u002FIgnore, exact-draft binding,\n  source evidence, safe authenticated saves, version conflicts, idempotent\n  retries, or persisted receipts after refresh. Do not install OpenDots.\n---\n\n# OpenDots — review and genuinely save AI suggestions\n\n## Owner and boundaries\n\nOwn **AI proposal → user edit\u002Freview → confirmed canonical write → durable\nreceipt**, not a separate editor\u002Fstore\u002Fapproval engine. Shared schema owner:\nSAN-1548 (src\u002Fplatform\u002Fcontracts\u002Freview-proposal.ts); domain services own\nwrites. Use [copilotkit](..\u002Fcopilotkit\u002FSKILL.md) for installed v2 tool\u002Finterrupt\ncompatibility, [mastra](..\u002Fmastra\u002FSKILL.md) for agent tools, and\n[supabase](..\u002Fsupabase\u002FSKILL.md) for transactions and tenant RLS.\n\nAccept\u002FEdit\u002FIgnore is user control over AI suggestions, **not** a prelaunch\nbusiness approval or property\u002Fphoto\u002Fpublishing eligibility gate. Manual form\nsubmission remains available. Ignore\u002FCancel writes nothing.\n\n## Implementation procedure\n\n1. **Trace one real action.** Identify signed-in actor, target, existing form,\n   allowed fields, API\u002FRPC, transaction and readback. Check actual PR base:\n   signup suggestion UI on #403\u002F#404 may not exist on main. Load the matching\n   pinned [source map](references\u002Fsource-map.md).\n2. **Model the source accurately.** Upstream OpenDots PageReviewCard.tsx\n   provides approve\u002Fsave, decline and receipt\u002Fconflict recovery; **it has\n   no Edit button**. Implement editing through existing MDE owner forms and\n   bind the *edited final draft*, not the original AI text.\n3. **Bind and revalidate before writing.** Reuse proposalId, target,\n   baseVersion and draftHash from SAN-1548; include tool-call and source\n   identity only if needed. Server must recompute draft binding and authorize\n   each write. A prior upstream receipt missing reviewDraft is a **legacy\n   compatibility exception**, not a safe default for new MDE saves. Changed\n   drafts or stale target revisions reject without overwriting edits.\n4. **Require committed readback.** A schema-valid receipt with status \"saved\"\n   does not alone prove a database commit. Derive the outcome from the\n   canonical write and authorized readback (real ID\u002Fversion when available).\n   If a response is lost after commit, recover the identical saved result;\n   don't issue another irreversible write. Cancel\u002FIgnore\u002Fdeny: zero writes.\n5. **Use existing domain write owner.** Partner profiles reuse SAN-814's\n   merged partner_profile_patch RPC; events reuse existing publishing\n   transactions; rentals reuse existing lead\u002Fviewing RPCs. Never copy\n   OpenDots SQLite or add an alternative review database. Migrations belong\n   only to verified domain schema gaps.\n6. **Prove actual behavior.** Exercise Accept\u002FEdit\u002FIgnore, altered same-ID\n   draft, version conflict, two authorized concurrent edits, partner A\u002FB\n   isolation, missing evidence, double-click, response loss and refresh.\n   Inspect actual persisted records, not just toast or HTTP 200. Run\n   focused Vitest\u002FpgTAP\u002FPlaywright and exact-head checks.\n\n## Example\n\nA café owner edits AI-suggested description and confirms. A reload displays\nthe *edited* Supabase value; Ignore writes nothing and a duplicate retry\nreturns the same persisted outcome.\n\n- [Source-to-destination map](references\u002Fsource-map.md).\n- [Behavior probes](evals\u002Fevals.json) and\n  [Trigger\u002Fnear-miss probes](evals\u002Ftrigger-evals.json).\n- Skill routing is not proof of a real database save.\n","# OpenDots — review and genuinely save AI suggestions\n\n## Owner and boundaries\n\nOwn **AI proposal → user edit\u002Freview → confirmed canonical write → durable\nreceipt**, not a separate editor\u002Fstore\u002Fapproval engine. Shared schema owner:\nSAN-1548 (src\u002Fplatform\u002Fcontracts\u002Freview-proposal.ts); domain services own\nwrites. Use [copilotkit](..\u002Fcopilotkit\u002FSKILL.md) for installed v2 tool\u002Finterrupt\ncompatibility, [mastra](..\u002Fmastra\u002FSKILL.md) for agent tools, and\n[supabase](..\u002Fsupabase\u002FSKILL.md) for transactions and tenant RLS.\n\nAccept\u002FEdit\u002FIgnore is user control over AI suggestions, **not** a prelaunch\nbusiness approval or property\u002Fphoto\u002Fpublishing eligibility gate. Manual form\nsubmission remains available. Ignore\u002FCancel writes nothing.\n\n## Implementation procedure\n\n1. **Trace one real action.** Identify signed-in actor, target, existing form,\n   allowed fields, API\u002FRPC, transaction and readback. Check actual PR base:\n   signup suggestion UI on #403\u002F#404 may not exist on main. Load the matching\n   pinned [source map](references\u002Fsource-map.md).\n2. **Model the source accurately.** Upstream OpenDots PageReviewCard.tsx\n   provides approve\u002Fsave, decline and receipt\u002Fconflict recovery; **it has\n   no Edit button**. Implement editing through existing MDE owner forms and\n   bind the *edited final draft*, not the original AI text.\n3. **Bind and revalidate before writing.** Reuse proposalId, target,\n   baseVersion and draftHash from SAN-1548; include tool-call and source\n   identity only if needed. Server must recompute draft binding and authorize\n   each write. A prior upstream receipt missing reviewDraft is a **legacy\n   compatibility exception**, not a safe default for new MDE saves. Changed\n   drafts or stale target revisions reject without overwriting edits.\n4. **Require committed readback.** A schema-valid receipt with status \"saved\"\n   does not alone prove a database commit. Derive the outcome from the\n   canonical write and authorized readback (real ID\u002Fversion when available).\n   If a response is lost after commit, recover the identical saved result;\n   don't issue another irreversible write. Cancel\u002FIgnore\u002Fdeny: zero writes.\n5. **Use existing domain write owner.** Partner profiles reuse SAN-814's\n   merged partner_profile_patch RPC; events reuse existing publishing\n   transactions; rentals reuse existing lead\u002Fviewing RPCs. Never copy\n   OpenDots SQLite or add an alternative review database. Migrations belong\n   only to verified domain schema gaps.\n6. **Prove actual behavior.** Exercise Accept\u002FEdit\u002FIgnore, altered same-ID\n   draft, version conflict, two authorized concurrent edits, partner A\u002FB\n   isolation, missing evidence, double-click, response loss and refresh.\n   Inspect actual persisted records, not just toast or HTTP 200. Run\n   focused Vitest\u002FpgTAP\u002FPlaywright and exact-head checks.\n\n## Example\n\nA café owner edits AI-suggested description and confirms. A reload displays\nthe *edited* Supabase value; Ignore writes nothing and a duplicate retry\nreturns the same persisted outcome.\n\n- [Source-to-destination map](references\u002Fsource-map.md).\n- [Behavior probes](evals\u002Fevals.json) and\n  [Trigger\u002Fnear-miss probes](evals\u002Ftrigger-evals.json).\n- Skill routing is not proof of a real database save.\n",{"name":5,"description":7},"main","9955f6a8aa5de3c14fea562c7e6b72973366ba3c",".claude\u002Fskills\u002Fopendots",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 opendots",{"tool":38,"command":39},"bunx","bunx skills add amoai-tech\u002Fmdeai --skill opendots",{"tool":41,"command":42},"pnpm","pnpm dlx skills add amoai-tech\u002Fmdeai --skill opendots","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopendots\u002FSKILL.md",true,[46,52,56],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"evals\u002Fevals.json","REFERENCE","参考文档",7030,"https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopendots\u002Fevals\u002Fevals.json",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"evals\u002Ftrigger-evals.json",1951,"https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopendots\u002Fevals\u002Ftrigger-evals.json",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fsource-map.md",3381,"https:\u002F\u002Fgithub.com\u002Famoai-tech\u002Fmdeai\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopendots\u002Freferences\u002Fsource-map.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",[],[]]