Catalyst Datastore

作者 catalystbyzoho9670b79d72fe無授權條款2 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫8 週前更新

Catalyst Data Store — relational cloud database with ZCQL, CRUD operations, table permissions, and result pagination. Requires MCP connection — check for the ZohoMCP_* meta-tools before any operation. Trigger on 'Data Store', 'ZCQL', 'create table', 'executeZCQLQuery', 'table permissions', 'ROWID', 'boolean column', 'boolean always true', 'truthy string', 'boolean stored as string', or 'DataStore data types'. You MUST load this skill whenever writing code that reads or writes Data Store data — ZCQL result wrapping, boolean-as-string behavior, and App User permissions are non-obvious and cause silent bugs if skipped.

AI 產生的概覽

引導代理透過 MCP 操作 Catalyst Data Store:資料表、ZCQL 查詢、CRUD、權限與分頁。

功能
此技能提供透過 MCP 中繼工具操作 Catalyst Data Store 關聯式雲端資料庫的說明。內容涵蓋建立與尋找資料表、執行 ZCQL 查詢、CRUD 操作、解開 ZCQL 結果包裝、資料表權限以及分頁限制。它也包含關於 App User 與 App Administrator 角色的安全檢查清單,並指向一份參考檔案以取得更多細節。
適用情境
在撰寫或審查讀取、寫入 Catalyst Data Store 資料的程式碼時使用,或涉及 ZCQL、建立資料表、資料表權限、ROWID 或 Data Store 欄位類型時使用。當查詢涉及已登入使用者讀取或寫入資料、需要檢查權限時也適用。
執行需求
需要提供 ZohoMCP_* 中繼工具(getSchema、executeTool、listTools、getFeatures)的 MCP 連線;若不存在,技能會指示先載入個別的 MCP 設定技能。它也引用一份預檢文件與一份隨附的參考檔案。不附帶指令碼。

⚠️ PREREQUISITES — READ THIS FIRST

MCP gate (before ANY Data Store operation): Confirm the ZohoMCP_* meta-tools (ZohoMCP_getSchema, ZohoMCP_executeTool, ZohoMCP_listTools, ZohoMCP_getFeatures) are present in your tool list — that is the "MCP connected" signal. (The CatalystbyZoho_* names never appear as tools; they are tool_name values passed to ZohoMCP_executeTool.) If the meta-tools are NOT present → STOP: do not write code, scaffold files, or instruct Console steps — load the catalyst-zoho-mcp skill, guide the user through MCP setup, and resume only once they appear.

Once the tools are visible, complete the canonical pre-flight once per session (establish + verify org/project) → ../catalyst-basics/references/preflight.md, then continue to "How It Works". Verify table access with CatalystbyZoho_List_All_Tables before create/update operations.


How It Works

  1. Create or locate the table via MCP — Creating a table? Invoke CatalystbyZoho_Create_Table via ZohoMCP_executeTool (schema first with ZohoMCP_getSchema). Do NOT instruct the user to open the Catalyst Console or create the table manually. Reading/writing data? Invoke CatalystbyZoho_List_All_Tables (same way) to get table IDs. Never ask the user to copy table IDs.
  2. Load references/datastore-basics.md — for CRUD operations, ZCQL syntax, result unwrapping, and permissions setup.
  3. Unwrap ZCQL results — Always remind: rows.map(r => r.TableName). Raw ZCQL results are wrapped; accessing without unwrapping is the #1 Data Store bug.
  4. Permissions — App User permissions are OFF by default. If the query involves a logged-in user reading data, check Console → Table → Scopes and Permissions.
  5. Pagination — ZCQL max 300 rows per query. Use LIMIT offset, count for larger datasets.

Security Checklist

  • App User write permissions are off by default. The App User role has SELECT enabled by default, but INSERT, UPDATE, and DELETE must be manually enabled per table. Go to Console → Table → Scopes and Permissions → App User role → check Insert/Update/Delete for any table your authenticated users need to write.
  • App Administrator has all permissions by default. Never assign the App Administrator role to regular end-users — it grants full read/write/delete access to all tables.

Triggers

Use this skill for: "Data Store", "ZCQL", "catalyst table", "create table", "query data", executeZCQLQuery, "table permissions", "App User permissions", "ROWID", "CREATEDTIME", "Data Store CRUD", "JOIN in ZCQL", "pagination ZCQL", "data store column types", "insert row", "update row", "delete row", or "relational data on Catalyst".

References

ReferenceLoad when the query is about…
references/datastore-basics.mdCRUD, ZCQL queries, result unwrapping, pagination, column types, App User permissions setup, CREATEDTIME timezone gotcha, emoji limitation

來源與署名

來源:catalystbyzoho/claude-plugin位於skills/catalyst-datastore提交9670b79

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架