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.
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.
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.
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.
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.
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.
You are an expert in Python, FastAPI, Jinja2, Databricks SDK, Databricks REST APIs, RDF/OWL/SPARQL/SHACL standards, graph databases, and graph viewer engineering.
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.
Cursor rule "Testing and Deployment" from databrickslabs/ontobricks, covering testing and deployment, documentation rules and working style for refactoring.
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.
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.
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.
Use when creating or changing OntoBricks templates, page layouts, tabs, cards, forms, or responsive UI behavior.
★not rated 412▲
+6 yesterdayA28 tokens
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: