databrickslabs

22 mods across 2 repositories, 393 stars between them.

adding-subpackage

01

databrickslabs/ontobricks

Skill Claude CodeCodex

Use when adding a new subpackage under back/core/, back/objects/, or agents/ — e.g. a new graph DB engine, W3C parser, industry importer, reasoning module, or domain class. Enforces the checklist defined in .cursor/07-project-conventions.mdc.

298 2d ago A 63 tokens

ai-feature

02

databrickslabs/ontobricks

Skill Claude CodeCodex

Use when the user adds, changes, or refactors an LLM agent under src/agents/ — or anything that goes through Foundation Model API or an MLflow-traced LLM call. Mandatory under CNS §3.5 and .cursor/12-ai-feature-lifecycle.mdc. Walks the SPEC → dataset → eval-harness → impl → re-eval sequence.

298 2d ago A 79 tokens

changelog

03

databrickslabs/ontobricks

Skill Claude CodeCodex

Use after any code change (feature, fix, refactor, review fixup) to update /changelogs/YYYY-MM-DD.log and run the test suite. Mandatory post-change routine — see .cursorrules.

298 2d ago A 48 tokens

code-review

04

databrickslabs/ontobricks

Skill Claude CodeCodex

Use when the user asks for a code review, asks to "review the code", or requests review of a feature/PR/branch. Runs the OntoBricks review checklist defined in .cursorrules.

298 2d ago A 47 tokens

deploy

05

databrickslabs/ontobricks

Skill Claude CodeCodex

Use when the user asks to deploy, ship, release, or push OntoBricks to Databricks. Wraps the Databricks Asset Bundle deploy for the FastAPI app and the MCP server, with the bootstrap-perms safety net described in README.md.

298 2d ago A 56 tokens

refactoring

06

databrickslabs/ontobricks

Skill Claude CodeCodex

Use when the user asks to "refactor", restructure, clean up, simplify, deduplicate, extract, or reorganize code. Enforces the Martin Fowler discipline defined in src/.codingrules.md and .cursor/08-testing-and-deployment.mdc.

298 2d ago A 55 tokens

databrickslabs/ontobricks

Cursor rule Cursor

You are an expert in Python, FastAPI, Jinja2, Databricks SDK, Databricks REST APIs, RDF/OWL/SPARQL/SHACL standards, graph databases, and graph viewer engineering.

298 2d ago A 0 tokens

Project Overview

08

databrickslabs/ontobricks

Cursor rule Cursor

OntoBricks is a Python FastAPI web application designed to run as a Databricks App. It provides ontology management, graph viewer engineering, and metadata governance tools on top of Databricks Unity Catalog.

298 2d ago A 0 tokens

databrickslabs/ontobricks

Cursor rule Cursor

Cursor rule "Code Style and Structure" from databrickslabs/ontobricks, covering code style and structure and code smells and preferred refactorings.

298 2d ago A 0 tokens

Project Conventions

13

databrickslabs/ontobricks

Cursor rule Cursor

Cursor rule "Project Conventions" from databrickslabs/ontobricks, covering project conventions, subpackage patterns (reference), adding a new subpackage checklist, init.py conventions (detailed) and merge safety (feature branch → develop).

298 2d ago A 0 tokens

databrickslabs/ontobricks

Cursor rule Cursor

Cursor rule "Testing and Deployment" from databrickslabs/ontobricks, covering testing and deployment, documentation rules and working style for refactoring.

298 2d ago A 0 tokens

Package Management

15

databrickslabs/ontobricks

Cursor rule Cursor

The Databricks Apps deploy runs uv run --frozen and installs verbatim from uv.lock. Two failure modes have broken deploys before, so treat the lockfile as a release artifact.

298 2d ago A 0 tokens

databrickslabs/ontobricks

Cursor rule Cursor

All application errors go through the centralized hierarchy in back/core/errors/. A global exception handler in shared/fastapi/main.createapp() translates them into a uniform ErrorResponse JSON body.

298 2d ago A 0 tokens

databrickslabs/ontobricks

Cursor rule Cursor

This file documents the actual design conventions in the codebase, not aspirations. The two structural rules ("no inline CSS/JS in templates", "shared assets under front/static/") live in 05-code-style-and-structure.mdc § Frontend (HTML/CSS/JS). This file covers visual language, components, naming and asset wiring.

298 2d ago A 0 tokens

databrickslabs/ontobricks

Cursor rule Cursor

This rule is the gate that closes the 5-agents-zero-eval gap. The companion path of least resistance is .claude/skills/ai-feature/SKILL.md.

298 2d ago A 0 tokens

cursorrules

19

databrickslabs/ontobricks

Cursor rule Cursor

This repository uses modular Cursor rules with scoped .mdc files (YAML frontmatter for name/priority/scope). See .cursor/.

298 2d ago A 981 tokens

databrickslabs/ontobricks

Instructions file CodexOpenCode

AGENTS.md instructions for databrickslabs/ontobricks: Pointer file for AI coding agents (Codex, Gemini CLI, OpenAI Agents, etc.).

298 2d ago A 164 tokens

databrickslabs/ontobricks

Instructions file

Claude Code instructions for databrickslabs/ontobricks, covering claude.md — operating contract for ontobricks, imported canonical rules, claude-only additions, skills (auto-invoked by description) and databricks-related work.

298 2d ago A 726 tokens

PITFALL_RULES

22

databrickslabs/ontobricks

Agent

The assistant MUST proactively avoid the following pitfalls when creating or modifying any ontology. Check each applicable rule before proposing or applying changes, and warn the user if a requested change would introduce one of these pitfalls.

298 2d ago A 0 tokens