Catalyst Basics

catalystbyzoho/agent-skills/skills/catalyst-basics

作者 catalystbyzoho69e5df0514d6091eb7fb399106d1a43298f83b33無授權條款66 個星標收錄於 2026年10月9日更新於 2026年10月9日儲存庫今天更新

Core Catalyst project setup — directory structure, environments, CLI commands, and all Catalyst IDs (Project ID, ZAID, Table ID, Segment ID, Org ID). Trigger on 'start a Catalyst project', 'what is .catalystrc', 'where do I find my Table ID', 'difference between Development and Production', or any Catalyst ID or CLI question.

AI 產生的概覽

用於 Catalyst 專案設定、各種 ID、環境、CLI 指令以及 IDE/MCP 設定的參考技能。

功能
此技能提供使用 Catalyst 專案的指引,涵蓋專案目錄結構、.catalystrc 與 catalyst.json 等設定檔、環境,以及各種 Catalyst 識別碼(Project ID、ZAID、Table ID、Segment ID、Org ID)。它也會將問題導向對應的參考檔案,內容包括快速上手、主控台導覽、CLI 指令、架構與服務選擇,以及 Claude Code、Cursor 和 GitHub Copilot 的 IDE 設定。
適用情境
適用於啟動或設定 Catalyst 專案、查找 Catalyst ID、區分開發環境與正式環境,或詢問 Catalyst CLI 子指令的情境。也適用於有關透過 Zoho MCP 連接 Catalyst 或在支援的 IDE 中設定 Catalyst 的問題。
執行需求
需要 Catalyst CLI 以執行 catalyst init、catalyst login、catalyst serve 和 catalyst deploy 等指令,並可選用帶有 CatalystbyZoho_ 前綴的 Zoho MCP 工具來取得組織與專案資訊。此技能不含指令碼,僅為指示與參考文件。

⚠️ PRE-FLIGHT CHECK: Before creating any project files, confirm that .catalystrc and catalyst.json exist in the project directory. If they don't:

  1. Use MCP (CatalystbyZoho_List_All_Organizations → CatalystbyZoho_List_All_Projects) to get the org ID and project ID.
  2. Run: catalyst init --org <orgId> -p <projectId> -ni
  3. Never ask the user to run catalyst init interactively. Never create these files manually — they are CLI-generated and must come from the CLI.

How It Works

  1. MCP check first — Before reading any local files, look for CatalystbyZoho_* tools. If available, use MCP to get org ID, project ID, and all resource IDs instead of asking the user.
  2. Account alignment check — do this before catalyst init — MCP and CLI can be authenticated as different accounts. Before running catalyst init --org <id>, verify they match:
    bash
    catalyst whoami
    Compare the org name shown to the result of CatalystbyZoho_List_All_Organizations. If they differ, run catalyst login --force to re-authenticate the CLI before proceeding.
  3. New to Catalyst? — If the user is setting up Catalyst for the first time or asking "how do I start", load references/quick-start.md for the full walkthrough.
  4. Console navigation — If the user asks how to find IDs, create tables, set permissions, or configure CORS in the console, load references/console-ui-guide.md.
  5. Pre-flight — Confirm .catalystrc and catalyst.json exist. If missing, use MCP to get org/project IDs and run catalyst init --org <orgId> -p <projectId> -ni. Never use interactive catalyst init.
  6. Project structure — Load references/project-basics.md for directory layout, catalyst.json, IDs, and dev-to-prod checklist.
  7. CLI questions — Load references/cli.md for the exact command, flags, and safety rules.
  8. Answer — Provide the specific ID path or CLI command needed. Never ask the user to manually look up IDs when MCP is connected.

Triggers

Use this skill for: "how do I start a Catalyst project", "what is .catalystrc", "where do I find my Table ID / ZAID / Segment ID / Project ID", "difference between Development and Production", "Catalyst project structure", "catalyst.json explained", catalyst init, catalyst deploy, catalyst serve, catalyst login, "how do I set up Catalyst with Claude", "how do I use Catalyst in Cursor", "how do I use Catalyst with GitHub Copilot", "which service should I use", "what Catalyst service for X", or any question about Catalyst IDs, environments, organizations, IDE setup, architecture decisions, or CLI subcommands.

MCP Connection Check (Do This Before Anything Else)

Before reading .catalystrc, asking the user for IDs, or doing anything project-related — check whether Zoho MCP tools are available in your tool list.

Look for tools prefixed with CatalystbyZoho_ (e.g., CatalystbyZoho_List_All_Projects, CatalystbyZoho_List_All_Tables).

If MCP tools ARE available:

  • Use CatalystbyZoho_List_All_Organizations to get the org ID
  • Use CatalystbyZoho_List_All_Projects to get the project ID
  • Use MCP tools to fetch table names, bucket names, ZAIDs, and all other project details directly — do NOT ask the user to copy-paste IDs from the console

If MCP tools are NOT available:

  • Prompt the user to connect Zoho MCP before proceeding
  • Guide them to: VS Code → Settings → MCP (or Claude Desktop claude_desktop_config.json) and add the Catalyst MCP server
  • Fall back to reading .catalystrc and catalyst.json from the local project directory only as a last resort

Never ask the user to manually look up IDs from the console if MCP is connected. Every project detail — org ID, project ID, table IDs, ZAIDs, bucket names — is retrievable via MCP tools. Asking the user to hunt for IDs when MCP is available wastes time and introduces copy-paste errors.

References

Load the relevant reference file for detailed information:

ReferenceContents
references/quick-start.mdFirst-time setup — install CLI, catalyst init, find org/project IDs, add a function, serve locally, deploy, create a Data Store table, configure CORS/Authorized Domains
references/console-ui-guide.mdConsole navigation — finding Project ID/ZAID/Table ID, creating tables with typed columns, enabling App User permissions (Scopes and Permissions), Authorized Domains + CORS toggle
references/project-basics.mdProject directory structure, catalyst.json, .catalystrc, catalyst-config.json, environments, dev-to-prod checklist, all Catalyst IDs (Project ID, ZAID, Table ID, Segment ID, etc.)
references/cli.mdFull CLI command reference — all subcommands with flags, Slate/AppSail non-interactive setup, catalyst serve port behavior, deploy scoping, safety rules, resource-first development order
references/architecture.mdService selection guide — which Catalyst service to use for which pattern, typical stack combinations, DC availability table for regionally restricted services
references/setup/claude-code.mdInstalling skills and connecting Zoho MCP in Claude Code (Claude Desktop)
references/setup/cursor.mdInstalling skills and connecting Zoho MCP in Cursor
references/setup/github-copilot.mdInstalling skills and connecting Zoho MCP in GitHub Copilot (VS Code)

來源與署名

來源:catalystbyzoho/agent-skills位於skills/catalyst-basics提交69e5df0

授權條款: 無授權條款

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

檢舉或申請下架