with one click
new-domain
Create a New Domain
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Create a New Domain
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Emit Catala
Create Sample Tests
Draft or Update Test Cases
Expand Test Coverage
Extract Test Cases from Policy Documents
Generate a Demo App (Catala-Python Backend)
| name | new-domain |
| description | Create a New Domain |
Set up the standard folder scaffold for a new domain so it's ready for policy document ingestion and rule extraction.
/new-domain <domain>
If <domain> is not provided, prompt: "What should the domain be named? (e.g., snap, ak_doh)"
Read ../../core/output-fencing.md now.
xlator new-domain <domain>
This creates input/policy_docs/, policy_facets/, specs/, and output/.
policy_facets/ is the parent folder for derived views of the domain's policy docs. The policy_facets/compressed/ and policy_facets/computations/ subfolders are created on the first /index-inputs run, which fans out parallel per-file workers that compress and extract each policy doc.
:::important Domain '' is ready at $DOMAINS_DIR// :::
:::next_step Next steps:
$DOMAINS_DIR/<domain>/input/policy_docs//index-inputs <domain> to build a document index/refine-guidance <domain> to set extraction goals and ruleset guidance/extract-ruleset <domain> to emit the Catala source
:::snap, ak_doh, ca_calworks)