[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HSCQKNA6JMYZK58804HDG1":3,"skill-same:01M6HSCQKNA6JMYZK58804HDG1":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":25,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":58,"install":59,"resources":72},"01M6HSCQKNA6JMYZK58804HDG1","relational-database-web-cloudbase",null,"Use when building frontend Web apps that talk to CloudBase Relational Database via @cloudbase\u002Fjs-sdk – provides the canonical init pattern so you can then use Supabase-style queries from the browser.","welflau\u002Fai-dev-system","welflau","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7010385?v=4","01M6HPTDGF18RFY07M229P8CTM","01M6HPTDMRMZCJPYBFEA9XVVYT",3,"MIT","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fcloudbase\u002Fskills\u002Fcloudbase\u002Freferences\u002Frelational-database-web\u002FSKILL.md",[17,22],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000010","后端与接口",[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"web","relational database web cloudbase","cloudbase","database","relational","when","frontend","can","canonical","you","via","style","apps","false","pattern","queries","use","supabase","browser","init","sdk","2026-11-10 10:12:30",false,"---\nname: relational-database-web-cloudbase\ndescription: Use when building frontend Web apps that talk to CloudBase Relational Database via @cloudbase\u002Fjs-sdk – provides the canonical init pattern so you can then use Supabase-style queries from the browser.\nalwaysApply: false\n---\n\n## When to use this skill\n\nUse this skill whenever you need to access **CloudBase Relational Database from a browser app** (React, Vue, vanilla JS) using `@cloudbase\u002Fjs-sdk`.\n\nUse it when you need to:\n\n- Initialize CloudBase Relational Database on the frontend\n- Replace an existing Supabase client with CloudBase Relational Database\n- Share a single `db` client across your Web app\n\n**Do NOT use this skill for:**\n\n- Backend\u002FNode access to CloudBase Relational Database (use `relation-database-skill` → `node-sdk\u002Fquickstart.md`)\n- MCP\u002Fagent database management (use `relation-database-skill` → `mcp-tools\u002Fmcp-guide.md`)\n- Auth flows (use the Web\u002FNode\u002FAuth skills instead)\n\n## How to use this skill (for a coding agent)\n\n1. **Confirm environment**\n   - Ask the user for:\n     - `env` – CloudBase environment ID\n2. **Follow the initialization pattern in this file exactly**\n   - Only change values like `env`, never the object shape.\n3. **After initialization, use Supabase knowledge for queries**\n   - Treat `db` as a Supabase client – method names and patterns are identical.\n4. **Avoid re-initializing CloudBase**\n   - Create a single shared `db` client and reuse it across components.\n\n---\n\n## Installation\n\n```bash\nnpm install @cloudbase\u002Fjs-sdk\n```\n\n## Initialization pattern (canonical)\n\n```javascript\nimport cloudbase from \"@cloudbase\u002Fjs-sdk\";\n\nconst app = cloudbase.init({\n  env: \"your-env-id\", \u002F\u002F CloudBase environment ID\n});\n\nconst auth = app.auth();\n\u002F\u002F Handle user authentication separately (Web Auth skill)\n\nconst db = app.rdb();\n\u002F\u002F Use db exactly like a Supabase client\n```\n\n**Initialization rules (Web, @cloudbase\u002Fjs-sdk):**\n\n- Always use **synchronous initialization** with the pattern above\n- Do **not** lazy-load the SDK with `import(\"@cloudbase\u002Fjs-sdk\")`\n- Do **not** wrap SDK initialization in async helpers such as `initCloudBase()` with internal `initPromise` caches\n- Create a single shared `db` client and reuse it instead of re-initializing\n\n**Rules:**\n\n- Do **not** invent new properties on the `cloudbase.init` options.\n- Always call `app.rdb()` to get the database client; `app` is **not** the DB client.\n\n---\n\n## Scenario 1: Replace Supabase client in a React app\n\n```javascript\n\u002F\u002F lib\u002Fdb.js (shared database client)\nimport cloudbase from \"@cloudbase\u002Fjs-sdk\";\n\nconst app = cloudbase.init({\n  env: \"your-env-id\",\n});\n\nexport const db = app.rdb();\n```\n\n```javascript\n\u002F\u002F hooks\u002FusePosts.js\nimport { useEffect, useState } from \"react\";\nimport { db } from \"..\u002Flib\u002Fdb\";\n\nexport function usePosts() {\n  const [posts, setPosts] = useState([]);\n\n  useEffect(() => {\n    async function fetchPosts() {\n      const { data } = await db.from(\"posts\").select(\"*\");\n      setPosts(data || []);\n    }\n    fetchPosts();\n  }, []);\n\n  return { posts };\n}\n```\n\n---\n\n## Scenario 2: Basic query pattern (Supabase-style)\n\n```javascript\n\u002F\u002F Fetch latest posts\nconst { data, error } = await db\n  .from(\"posts\")\n  .select(\"*\")\n  .order(\"created_at\", { ascending: false });\n\nif (error) {\n  console.error(\"Failed to load posts\", error.message);\n}\n```\n\n---\n\n## Scenario 3: Insert \u002F update \u002F delete rows\n\n```javascript\n\u002F\u002F Insert\nawait db.from(\"posts\").insert({ title: \"Hello\" });\n\n\u002F\u002F Update\nawait db.from(\"posts\").update({ title: \"Updated\" }).eq(\"id\", 1);\n\n\u002F\u002F Delete\nawait db.from(\"posts\").delete().eq(\"id\", 1);\n```\n\n---\n\n## Key principle: CloudBase Relational Database = Supabase API\n\n- After you have `db = app.rdb()`, use **Supabase documentation and patterns** for all queries.\n- This skill only standardizes **Web initialization and client sharing**.\n- Do not duplicate Supabase docs into this skill; rely on the model's built-in Supabase knowledge for query shapes and options.\n","## When to use this skill\n\nUse this skill whenever you need to access **CloudBase Relational Database from a browser app** (React, Vue, vanilla JS) using `@cloudbase\u002Fjs-sdk`.\n\nUse it when you need to:\n\n- Initialize CloudBase Relational Database on the frontend\n- Replace an existing Supabase client with CloudBase Relational Database\n- Share a single `db` client across your Web app\n\n**Do NOT use this skill for:**\n\n- Backend\u002FNode access to CloudBase Relational Database (use `relation-database-skill` → `node-sdk\u002Fquickstart.md`)\n- MCP\u002Fagent database management (use `relation-database-skill` → `mcp-tools\u002Fmcp-guide.md`)\n- Auth flows (use the Web\u002FNode\u002FAuth skills instead)\n\n## How to use this skill (for a coding agent)\n\n1. **Confirm environment**\n   - Ask the user for:\n     - `env` – CloudBase environment ID\n2. **Follow the initialization pattern in this file exactly**\n   - Only change values like `env`, never the object shape.\n3. **After initialization, use Supabase knowledge for queries**\n   - Treat `db` as a Supabase client – method names and patterns are identical.\n4. **Avoid re-initializing CloudBase**\n   - Create a single shared `db` client and reuse it across components.\n\n---\n\n## Installation\n\n```bash\nnpm install @cloudbase\u002Fjs-sdk\n```\n\n## Initialization pattern (canonical)\n\n```javascript\nimport cloudbase from \"@cloudbase\u002Fjs-sdk\";\n\nconst app = cloudbase.init({\n  env: \"your-env-id\", \u002F\u002F CloudBase environment ID\n});\n\nconst auth = app.auth();\n\u002F\u002F Handle user authentication separately (Web Auth skill)\n\nconst db = app.rdb();\n\u002F\u002F Use db exactly like a Supabase client\n```\n\n**Initialization rules (Web, @cloudbase\u002Fjs-sdk):**\n\n- Always use **synchronous initialization** with the pattern above\n- Do **not** lazy-load the SDK with `import(\"@cloudbase\u002Fjs-sdk\")`\n- Do **not** wrap SDK initialization in async helpers such as `initCloudBase()` with internal `initPromise` caches\n- Create a single shared `db` client and reuse it instead of re-initializing\n\n**Rules:**\n\n- Do **not** invent new properties on the `cloudbase.init` options.\n- Always call `app.rdb()` to get the database client; `app` is **not** the DB client.\n\n---\n\n## Scenario 1: Replace Supabase client in a React app\n\n```javascript\n\u002F\u002F lib\u002Fdb.js (shared database client)\nimport cloudbase from \"@cloudbase\u002Fjs-sdk\";\n\nconst app = cloudbase.init({\n  env: \"your-env-id\",\n});\n\nexport const db = app.rdb();\n```\n\n```javascript\n\u002F\u002F hooks\u002FusePosts.js\nimport { useEffect, useState } from \"react\";\nimport { db } from \"..\u002Flib\u002Fdb\";\n\nexport function usePosts() {\n  const [posts, setPosts] = useState([]);\n\n  useEffect(() => {\n    async function fetchPosts() {\n      const { data } = await db.from(\"posts\").select(\"*\");\n      setPosts(data || []);\n    }\n    fetchPosts();\n  }, []);\n\n  return { posts };\n}\n```\n\n---\n\n## Scenario 2: Basic query pattern (Supabase-style)\n\n```javascript\n\u002F\u002F Fetch latest posts\nconst { data, error } = await db\n  .from(\"posts\")\n  .select(\"*\")\n  .order(\"created_at\", { ascending: false });\n\nif (error) {\n  console.error(\"Failed to load posts\", error.message);\n}\n```\n\n---\n\n## Scenario 3: Insert \u002F update \u002F delete rows\n\n```javascript\n\u002F\u002F Insert\nawait db.from(\"posts\").insert({ title: \"Hello\" });\n\n\u002F\u002F Update\nawait db.from(\"posts\").update({ title: \"Updated\" }).eq(\"id\", 1);\n\n\u002F\u002F Delete\nawait db.from(\"posts\").delete().eq(\"id\", 1);\n```\n\n---\n\n## Key principle: CloudBase Relational Database = Supabase API\n\n- After you have `db = app.rdb()`, use **Supabase documentation and patterns** for all queries.\n- This skill only standardizes **Web initialization and client sharing**.\n- Do not duplicate Supabase docs into this skill; rely on the model's built-in Supabase knowledge for query shapes and options.\n",{"name":5,"alwaysApply":48,"description":7},"main","18d0e63d1313ca87098f614aa7c1e2dcf6de79c7","backend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fcloudbase\u002Fskills\u002Fcloudbase\u002Freferences\u002Frelational-database-web",1,"https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system","https:\u002F\u002Fgithub.com\u002Fwelflau","2026-11-12 14:55:20",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add welflau\u002Fai-dev-system --skill relational-database-web-cloudbase",{"tool":65,"command":66},"bunx","bunx skills add welflau\u002Fai-dev-system --skill relational-database-web-cloudbase",{"tool":68,"command":69},"pnpm","pnpm dlx skills add welflau\u002Fai-dev-system --skill relational-database-web-cloudbase","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fcloudbase\u002Fskills\u002Fcloudbase\u002Freferences\u002Frelational-database-web\u002FSKILL.md",true,[],[74,102,131,157,186,211],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":78,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":86,"publishedAt":101},"01M6HS9Z4B0YA8CJCS2Y2F04Y3","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Fwebapp-testing\u002FSKILL.md",[82,85],{"categoryNo":83,"categoryName":84,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[87,88,89,32,90,91,26,92,93,44,94,95,96,97,98,99,100],"testing","webapp testing","webapp","screenshots","playwright","debugging","toolkit","ui","logs","applications","behavior","local","with","for","2026-11-11 15:11:14",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":78,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":112,"publishedAt":101},"01M6HRAGMG7JF0HXYHMA5QHS8A","internal-comms","A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Finternal-comms\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Finternal-comms\u002FSKILL.md",[109],{"categoryNo":110,"categoryName":111,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000005","邮件与沟通",[113,114,115,116,117,118,42,119,120,121,122,123,124,125,126,127,128,129,130],"internal comms","comms","status","help","SET","write","reports","me","incident","leadership","project","resources","communications","internal communications","formats","sort","my","updates",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":78,"licenseFileUrl":135,"sourceHtmlUrl":136,"categories":137,"keywords":139,"publishedAt":47},"01M6HSTDP4M3JFXEBK91VFB4PA","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fweb-artifacts-builder\u002FSKILL.md",[138],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[140,26,141,142,143,32,144,145,146,147,148,149,150,151,42,152,153,154,155,100,156],"web artifacts builder","artifacts","artifacts builder","builder","css","components","react","routing","state management","state","file","Tailwind","single-file","simple","ui components","multi","single",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":78,"licenseFileUrl":161,"sourceHtmlUrl":162,"categories":163,"keywords":173,"publishedAt":47},"01M6HSDXH0JSP8R3QTNY9XZ8HN","frontend-design","Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML\u002FCSS layouts, or when styling\u002Fbeautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Ffrontend-design\u002FSKILL.md",[164,165,168],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":166,"categoryName":167,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":169,"categoryName":170,"taxonomyType":171,"taxonomyTypeDesc":172},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[32,174,175,144,26,145,146,176,177,178,141,179,96,180,42,181,182,183,184,99,185,31],"design","frontend design","react components","create","code","examples","landing","ui design","pages","aesthetics","web ui","generic",{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":78,"licenseFileUrl":190,"sourceHtmlUrl":191,"categories":192,"keywords":194,"publishedAt":47},"01M6HSA77QYVP7A72HREGTDN2C","algorithmic-art","Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Falgorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Falgorithmic-art\u002FSKILL.md",[193],{"categoryNo":166,"categoryName":167,"taxonomyType":20,"taxonomyTypeDesc":21},[195,196,197,177,178,198,199,200,201,42,202,203,204,205,99,206,207,208,209,210,31],"algorithmic art","Art","algorithmic","flow","js","work","interactive","generative art","exploration","systems","users","Existing","request","generative","copyright","fields",{"skillNo":212,"name":213,"nameZh":6,"description":214,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":78,"licenseFileUrl":215,"sourceHtmlUrl":216,"categories":217,"keywords":219,"publishedAt":47},"01M6HS9HE0X390Y6RQKTY1YNGJ","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Ftheme-factory\u002FSKILL.md",[218],{"categoryNo":166,"categoryName":167,"taxonomyType":20,"taxonomyTypeDesc":21},[220,221,222,223,93,224,141,117,225,226,180,227,228,182,229,99,35,230,33,100,231,232],"theme factory","factory","theme","docs","generate","fly","slides","styling","artifact","themes","fonts","apply","new"]