catalystbyzoho/agent-skills

catalyst-functions

Catalyst serverless functions — all 7 types (Basic I/O, Advanced I/O, Event, Cron, Job, Integration, Browser Logic), handler signatures, catalyst-config.json, Security Rules, API Gateway routing, file uploads, busboy, Express middleware, environment variabl…

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/catalystbyzoho/agent-skills --skill catalyst-functions

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

How It Works

Intent check — do this first:

  • If the user is asking a how-to or conceptual question ("how do I write a function", "show me a Basic I/O handler", "how does Security Rules work"), answer directly with the correct code or explanation. Do NOT inspect the working directory, do NOT generate a CLAUDE.md, do NOT switch into codebase-analysis mode. Empty directory = fine for how-to questions.
  • Only inspect the filesystem when the user explicitly asks to scaffold, add, or deploy something in their project.
  1. Verify local scaffold (only when scaffolding, not for how-to questions) — both `catalyst init` and `functions:add` support non-interactive mode (CLI v1.27.0+).

Check whether .catalystrc exists. If missing, use MCP tools to get the org ID and project ID, then run:

bash
   catalyst init --org <orgId> -p <projectId> -ni

Never ask the user to run catalyst init interactively. NI mode can only link an existing project — if none exists, tell the user to create one in the console first. catalyst.json does not exist yet after init -ni — that is expected. Add functions next (this creates catalyst.json):

bash
   catalyst functions:add --name <name> --type <type> --stack <stack> -ni
   # e.g. catalyst functions:add --name api --type aio --stack node20 -ni
  1. Identify the function type — Basic I/O for simple request/response, Advanced I/O for raw HTTP control, Event for trigger-based, Cron/Job for scheduled, Integration for Zoho service events, Browser Logic for Puppeteer.
  2. Load `references/functions-basics.md` — for the matching handler signature, catalyst-config.json keys, SDK init pattern, and CORS setup.
  3. Load `references/functions-advanced.md` — for file uploads (busboy), streaming responses, error handling, or chaining functions.
  4. Load `references/api-gateway.md` — for routing rules, rate limiting, or gateway-level CORS.
  5. Validate config — Confirm catalyst-config.json uses deployment + execution keys only. Never use function or entry_point.

Response Syntax Default

Always default to native Node.js response syntax. Advanced I/O exposes raw http.ServerResponse — Express methods (res.status(), res.json()) do not exist unless the user explicitly chose the Express template.

  • Native (default): res.writeHead(200, { 'Content-Type': 'application/json' }); res.end(JSON.stringify(data));
  • Express (opt-in only): res.status(200).json(data) — only if the user has express installed and wired as middleware

If you don't know which template the user has, ask or default to native.

Security Checklist

  • Functions are publicly accessible by default. Security Rules sets authentication to optional when a function is created — its URL is globally accessible to everyone with no restrictions. Set "authentication": "required" in the Security Rules JSON for any function that reads or writes user data or sensitive resources.
  • API Gateway replaces Security Rules — do not use both. Enabling API Gateway automatically disables Security Rules. Pick one auth/routing layer per function.

Triggers

Use this skill for: "write a function", "catalyst function", "Basic I/O", "Advanced I/O", "Event function", "Cron function", "Browser Logic", catalyst-config.json, "function handler", "API Gateway", "rate limiting", "busboy", "file upload in function", catalyst deploy --only functions:<function-name>, catalyst functions:add, "function CORS", or any function type or function configuration question.

Deployment command note:

  • Use catalyst deploy --only functions:<function-name> to deploy one function (where functions:<name> targets the function by its folder name).
  • Use catalyst deploy --only functions to deploy all functions at once.

References

ReferenceLoad when the query is about…
references/functions-basics.mdStart here for any function question. Function type selection, Basic I/O and Advanced I/O handler signatures, catalyst-config.json, user-scope vs admin-scope, CORS, Security Rules, execution limits
references/functions-advanced.mdAdvanced I/O patterns only. Express vs raw-http template differences, file uploads (busboy), streaming files from Stratus, error handling patterns, CORS for local dev, local testing, function chaining, ZCQL result unwrapping, HTTP payload limits
references/functions-templates.mdEvent, Cron, Job, or Integration functions. Handler templates for all background/scheduled types, SDK component reference, retry behavior, cold start data, and the full common errors table
references/api-gateway.mdAPI Gateway config only. Enable/disable gateway, routing rules, rate limiting, CORS via gateway

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills
catalystbyzoho
커뮤니티

catalyst-by-zoho

Expert coding assistant for Catalyst by Zoho — Zoho's full-stack serverless cloud platform. Use for any question about Catalyst services, CLI, SDKs, architecture, pricing, or Zoho MCP tool-based infrastructure management.

설치 수
1
GitHub Stars
69
업데이트
10월 8일
catalystbyzoho
커뮤니티

catalyst-cache

Catalyst Cache — in-memory key-value store with TTL for ephemeral session and temporary data. Trigger on 'Cache', 'cache segment', 'cache key', 'TTL', 'segment.put', 'segment.get', or 'temporary data Catalyst'.

설치 수
1
GitHub Stars
69
업데이트
10월 8일
catalystbyzoho
커뮤니티

catalyst-quickml

Catalyst QuickML — no/low-code ML, Generative AI, and ready-to-use AI platform. Covers (1) Prediction: ML pipelines, classification/regression, text analytics, recommendation, forecasting, clustering, anomaly detection, AutoML, prediction endpoints; (2) Generative AI: LLM Serving (chat, VLM), RAG, Knowledge Base, GenAI endpoints; (3) Zia Model Library: pre-built no-training models; (4) QuickML pricing — subscription plans and pay-as-you-go rates. Trigger on 'QuickML', 'AutoML', 'ML pipeline', 't

설치 수
1
GitHub Stars
69
업데이트
10월 8일
catalystbyzoho
커뮤니티

catalyst-zia

Catalyst Zia Services — OCR, Face Analytics, Text Analytics, Object Detection, Barcode Reader, and Content Moderation via pre-trained AI APIs. Trigger on 'Zia', 'OCR', 'face detection', 'text analytics', 'object detection', 'barcode', 'content moderation', or 'image recognition'. DC restrictions: Identity Scanner Document Processing is IN DC only (API included); Facial Comparison works via API from any DC (console testing is IN DC only). For QuickML (AutoML, ML pipelines, LLM Serving, RAG) load

설치 수
1
GitHub Stars
69
업데이트
10월 8일