Moves the data product template from semprini-blog-dataproducts, as adapted to the semprini-data domain platform, into canonical_data_product/. Its worked example passed 9 of 9 checks on the domain platform on 2026-09-17. Adds agent-canonical-product, the blog's agent-product adapted to generate a product into a domain repository from a declaration in the domain's model repository, and README/CLAUDE.md describing the template catalogue, the product contract with the domain platform, and team ownership. Source-aligned and experience templates are planned. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2.1 KiB
semprini-data-product-templates — Claude Instructions
What this is
Data product templates, one folder per product class, owned by the data product engineering
teams. Each template is a contract (its README.md), a set of {{placeholder}} files, a worked
example/, and a generation agent. See README.md for the catalogue and how the
templates sit between the modelling teams and the data platform team.
Rules
- A template's
README.mdis its contract. Change the files and the contract together. - Every template's
example/must deploy and passuv run data-domain teston the current domain platform. Run it from a domain repository after any change, and record the date and result in the template README. - Products are not stored here. They are generated into the domain repository that runs them.
- Templates meet the domain platform's product contract (semprini-data-domain
README.md, The product contract). Do not work around it here: raise the need with the data platform team. - Model gaps go to the modelling team's repository, not into a template.
- Templates never carry credentials. Use the variables the platform substitutes
(
${ODS_PASSWORD},${DOMAIN}).
Agents
| Command | Agent | Purpose |
|---|---|---|
/agent-canonical-product |
.claude/agents/agent-canonical-product.md |
Generate, deploy and test a canonical (domain-aligned) product from a model declaration |
The MD-DDL modelling agents (/agent-ontology, /agent-architect, ...) live in each domain's
model repository.
Layout
canonical_data_product/ Canonical template: README.md contract, template files, example/
.claude/agents/ One generation agent per template
.claude/commands/ Command wrappers for those agents
Setup layout
During setup this repository is a submodule of semprini-data, next to semprini-data-domain
(the domain platform) and semprini-domain-digital-datamodel (the Digital Core model). From a
domain repository beside semprini-data, the canonical example is at
../semprini-data/semprini-data-product-templates/canonical_data_product/example.