agentleFS
wanwrickwanwrick/noosphere-public/.claude/skills/dabs-template-init/SKILL.md

dabs-template-init

Skill0 starsChanged 7 months agoMITView on GitHub

Bootstrap a new Databricks Asset Bundle data product from the DABs Data-Contract Golden Path template. Turns one data-contract.yml into Bronze ingestion + Silver DLT expectations + UC ABAC + Platinum AI-ready views + CI/CD gates. Use when a new data product has been intake'd via 10Q and is ready for build.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 0 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    After data-source-10q-intake produces a complete data-contract.yml.

    line 19
  2. Very specific:

    Run python -m pytest tests/unit/ -v (must be 9/9 green).

    line 39
  3. Very specific:

    All template placeholders replaced.

    line 47
  4. Very specific:

    If pii: true or regulated: true → invoke governance-audit before declaring init complete.

    line 56
  5. Very specific:

    If governance gate triggered: run governance-audit skill.

    line 60
  6. Very specific:

    If AI consumption: run ai-consumption-contract skill on the Platinum view.

    line 61
  7. Very specific:

    Update data-products/data-products.yaml with the new product row.

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

dabs-template-init

You are bootstrapping a fresh DABs project from templates/dabs-data-product-template/. This is the forkable Golden Path — one contract, four medallion layers, full CI/CD.

Source IP

  • Authored: ip/authored/dabs-data-contract-golden-path.md.
  • Authored: ip/authored/ai-ready-platinum-layer.md (Platinum publish).
  • Curated: ip/curated/dabs-cicd-asset-bundles.md.
  • Curated: ip/curated/dabs-custom-templates.md.

When to invoke

  • After data-source-10q-intake produces a complete data-contract.yml.
  • "Spin up a new data product", "init DABs project", "fork the Golden Path".

Required inputs

  1. Path to a valid data-contract.yml (validates against data-contract.schema.json).
  2. Target catalog + schema in Unity Catalog (placeholders OK if regulated review pending).
  3. Environment(s): dev / qa / prod.

Steps

  1. Copy templates/dabs-data-product-template/ to the new product location (e.g. data-products/<domain>-<dataset>/).
  2. Move the user's data-contract.yml to the project root and validate: bash scripts/validate_bundle.sh (6 checks must pass).
  3. Render databricks.yml — fill catalog, schema, env, host placeholders.
  4. Render resources/permissions.yml from the contract's access matrix and classification (UC ABAC tags driven by Tier 1–4).
  5. Render resources/pipeline.yml for Silver DLT expectations from the contract's quality block.
  6. Run python -m pytest tests/unit/ -v (must be 9/9 green).
  7. Render .github/workflows/ci.yml so PRs run validate + unit tests.
  8. Generate the initial AI Consumption Contract: python scripts/generate_ai_contract.py (reads the contract, produces the Platinum-layer publish manifest).

Output shape

  • A working DABs project at data-products/<domain>-<dataset>/.
  • All template placeholders replaced; no <TODO> left.
  • validate_bundle.sh exits 0; pytest exits 0.
  • A README.md at the project root explaining the contract and the deploy commands.

Verification

  • Sanitization: no employer / team / vendor / workspace ID anywhere.
  • Contract still validates after rendering (re-run schema check).
  • Permissions match the classification declared in the contract.
  • If pii: true or regulated: true → invoke governance-audit before declaring init complete.

Handoff

  • If governance gate triggered: run governance-audit skill.
  • If AI consumption: run ai-consumption-contract skill on the Platinum view.
  • Update data-products/data-products.yaml with the new product row.
  • Phase advance in initiatives/initiatives.yaml if the product is part of an active archetype.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.