sql-to-bi-builder

Installation
SKILL.md

SQL To BI Builder

Overview

Use this skill to transform sql.md query collections into a service-based BI prototype. This skill must generate both backend and frontend services from SQL-derived artifacts.

Workflow

  1. Parse markdown SQL blocks into a normalized query catalog.
  2. Infer query semantics (metrics, dimensions, time columns, grain hints).
  3. Extract P0 filter candidates from SQL DSL (WHERE predicates) into structured filter metadata (dsl_ast first, regex fallback).
  4. Recommend chart types from inferred semantics.
  5. Build a dashboard specification with layout coordinates.
  6. Generate a UI scaffold that renders the dashboard structure.
  7. Generate service bundle (services/backend + services/frontend) that depends on generated SQL artifacts.

Input Contract

Expect one markdown file with one or more SQL fenced blocks. Use this pattern for best results:

Installs
2
GitHub Stars
2
First Seen
May 27, 2026
sql-to-bi-builder — xdelin/openclaw-education-skills