catalyst-functions
Installation
SKILL.md
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.
- Verify local scaffold (only when scaffolding, not for how-to questions) — both
catalyst initandfunctions:addsupport non-interactive mode (CLI v1.27.0+). Check whether.catalystrcexists. If missing, use MCP tools to get the org ID and project ID, then run:
Never ask the user to runcatalyst init --org <orgId> -p <projectId> -nicatalyst initinteractively. NI mode can only link an existing project — if none exists, tell the user to create one in the console first.catalyst.jsondoes not exist yet afterinit -ni— that is expected. Add functions next (this createscatalyst.json):catalyst functions:add --name <name> --type <type> --stack <stack> -ni # e.g. catalyst functions:add --name api --type aio --stack node20 -ni