Skip to content

croct-tech/croct

v1.0.0MIT

Agent skills for building with Croct: SDK integration, CLI, content modeling, CQL audiences, event tracking, personalization, and A/B testing.

croct-use-cli

Use when driving the Croct CLI (croct, npx croct@latest): setting up Croct in a project with croct init, adding or removing slots and components (croct add slot, croct add component, croct remove ...), syncing generated types and fallback content (croct install, croct update, croct upgrade), editing croct.json or its version specifiers ("home-hero": "1 - 3"), authenticating (croct login, croct logout, CROCT_API_KEY, CROCT_TOKEN), running the CLI non-interactively in CI (--no-interaction, --cwd), creating API keys (croct create api-key), opening the admin (croct admin), deep links (croct://..., croct open, enable deep-link), or writing, testing, and publishing CLI templates (template.json5, croct use, croct create template, template actions such as create-resource, add-slot, download, expressions ${options.name}). Also when SlotContent<'home-hero@1'> types or slots.d.ts are stale, or default content is outdated.

Read SKILL.md at the source

Pinned to revision 6d1ad55caa27, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.