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 从公开仓库中收录这些内容。

举报或申请下架