Build an initial analytics ontology or expand an existing Git-synced one. Evidence-backed definitions, user-defined domains, reviewable refactors and validation.
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
This directory is a Cassis ontology: the business meaning of a warehouse, written as files a person can review and an agent can read before it writes SQL. It was produced from the material the warehouse already had — the dbt project or schema export, the dashboards, the documentation — and every judgment call in it was reviewed by whoever ran the tool.
cassis/ is the ontology. Nothing else in this directory is part of it.
| Path | What it holds |
|---|---|
cassis/domains/README.md | The root domain: what this warehouse is about, and the rules that hold everywhere (currency, tax, timezone, exclusions) |
cassis/domains/<path>/README.md | One domain. Its prose is the business meaning; the generated block at the bottom links the tables and metrics that live in it |
cassis/tables/<schema>/<table>.yml | One modeled table: its grain, its domain, and every column with a description, a unit, any synonyms, and the values it stores when the set is known |
cassis/metrics/<name>.yml | One metric: the expression, the table it aggregates, its mandatory filter if it has one, and the caveats folded into its description |
cassis/joins.yml | Every join anyone should use, with the column pairs, the cardinality and the ready-made condition |
provenance.json | Per column, where its description came from — the warehouse, the repository, a glossary, or drafted from evidence during the run — and the text of any description left to the warehouse's own comment |
cassis/domains/README.md. The rules stated there apply to
everything below it. A global exclusion or a currency convention stated
once at the root is the most common reason an otherwise correct query
returns a wrong number.enum_values are every
value it stores, so filter with exactly those. A column with no
description may be described by the warehouse's own comment, which
Cassis reads directly; provenance.json holds that text.joins.yml for every join. The cardinality tells you whether a
join fans out and needs a pre-aggregate.The modeling doctrine — how to decide what belongs in an ontology, what makes
a description worth keeping, when a metric earns its place — is not in this
file. It ships as AGENTS.md, written into this directory by
cassis context fmt (pip install cassis-cli). Two documents describing the
same format drift apart, so this one stays descriptive and defers to that one.
Not every description carries the same weight. provenance.json separates
what the warehouse and the repository already said from what was drafted
during the run, and the run directory holds QUESTIONS.md — the unknowns that
were assumed rather than answered, and the defects the run found in the
pipeline it read. Read both before treating a number as governed.
.claude-plugin
.cursor-plugin
.tessl-plugin
adapters
skills
ontology-expansion
references
templates
tests
fixtures
dbt-roundtrip
models
expansion