tencentcloudbase/cloudbase-ai-toolkit/relational-database-web-cloudbase
Claude Code and agent skill by tencentcloudbase/cloudbase-ai-toolkit
- community
Checking that the SKILL.md file is still in the repository.
[Deprecated] Existing CloudBase MySQL Web SDK only. Do not recommend MySQL for new relational apps — use postgresql-development and app.rdb(). Read this only when a browser app must keep using @cloudbase/js-sdk against an environment that already has MySQL.
Install
npx vskill@latest install tencentcloudbase/cloudbase-ai-toolkit/relational-database-web-cloudbaseSKILL.md
The same SKILL.md was published earlier as tencentcloudbase/cloudbase-ai-toolkit/relational-database-web-cloudbase.
Sibling skills (local only)
Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../auth-tool-cloudbase/SKILL.md.
If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). Do not HTTP-fetch remote skill or protocol markdown into the agent context.
CloudBase Relational Database Web SDK
Activation Contract
Use this first when
- A browser or Web app must keep using
@cloudbase/js-sdkagainst an environment that already has CloudBase MySQL. - Do not choose this skill for a new relational app. New relational Web work uses
postgresql-development-cloudbaseandapp.rdb().
Read before writing code if
- You need to distinguish browser SDK usage from MCP database management or backend Node access.
- The request mentions Supabase migration, shared frontend DB client, or browser-side table queries.
Then also read
- MySQL SQL management and MCP operations ->
../relational-database-mcp-cloudbase/SKILL.md - Web auth/login ->
../auth-web-cloudbase/SKILL.md - General Web app setup ->
../web-development/SKILL.md
Do NOT use for
- MCP-based SQL management, schema changes, or permissions management (provisioning is not offered through MCP).
- Backend/Node service access.
- Document database operations.
Common mistakes / gotchas
- Initializing SDKs in an MCP management flow.
- Treating
appitself as the relational database client. - Re-initializing CloudBase in every component.
- Mixing frontend browser access with admin-style schema mutations.
Minimal checklist
- Confirm the caller is a Web frontend.
- Keep one shared CloudBase app and one shared relational DB client.
- Route MySQL management/schema work on an existing instance to
relational-database-mcp-cloudbase(it does not provision). If the task says PostgreSQL, CloudBase PG, PG mode,app.rdb(),queryPgDatabase,managePgDatabase, or RLS, route topostgresql-development-cloudbaseinstead. - Handle auth separately before data access.
Overview
This skill standardizes the browser-side initialization pattern for CloudBase Relational Database.
After initialization, use db with Supabase-style query patterns.
Installation
Canonical initialization
Initialization rules
- Initialize synchronously.
- Do not lazy-load the SDK with
import("@cloudbase/js-sdk")unless the framework absolutely requires it. - Create one shared
dbclient and reuse it. - Do not invent unsupported
cloudbase.init()options.
Quick routing
Use this skill when
- you are wiring browser components to relational tables
- you are replacing a Supabase browser client with CloudBase
- you need a canonical shared frontend
dbclient
Use relational-database-mcp-cloudbase instead when
- you need to create/destroy MySQL
- you need MySQL DDL or write-SQL administration
- you need to inspect or change MySQL table security rules through MCP
Use postgresql-development-cloudbase instead when
- the task says PostgreSQL, CloudBase PG, PG mode,
app.rdb(),queryPgDatabase,managePgDatabase, PostgREST, or RLS - browser-side table code must use PG semantics rather than legacy NoSQL / MySQL management tools
Example: shared frontend DB client
Example: Supabase-style query
Example: insert / update / delete
Key principle
app.rdb()gives you the relational database client.- After that point, use Supabase-style query knowledge for table operations.
- Keep schema management and privileged administration outside browser code.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingconfig/source/skills/relational-database-web-cloudbase/SKILL.md
Popularity
- Repository stars
- 1,130
- Repository forks
- 146
- 7-day trend score
- 35
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tencentcloudbase/cloudbase-ai-toolkit/relational-database-web-cloudbase)