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-cql

Use when writing, reading, reviewing, or debugging Croct's Contextual Query Language (CQL): audience criteria, croct.evaluate() / useEvaluation / <Personalization query> / Next.js cql tag queries, Evaluation API query bodies (/client/web/evaluate, /external/web/evaluate), and dynamic content values ("type": "dynamic", "expression"). Covers context variables (user, session, page, location, campaign, cart, device, browser, context, now/today), data types and conversions, accessors and selectors ('s, property X of, [1st], [*], [...]), tests (is, matches, is like, contains either, is between, is defined, is returning), quantifiers (some ... satisfies), macros, modifiers, event expressions (user has viewed a page, user has abandoned a cart, user has completed goal), audience estimation, and recipes. Triggers: "write an audience", "target mobile users in New York", "CQL syntax error", "audience never matches", "unavailable estimate".

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.