sql-bi-expert

Generate PostgreSQL queries for BI dashboards with ordering, rounding, and Russian aliases.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/modus-bi/dtp-bi-dashboards --skill sql-bi-expert
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sql-bi-expert
Source: https://github.com/modus-bi/dtp-bi-dashboards/tree/main/skills/sql-bi-expert
Command: npx skills add https://github.com/modus-bi/dtp-bi-dashboards --skill sql-bi-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

BI teams often struggle to write correct, performant SQL for dashboards, leading to inconsistent visuals and delays.

Core Features & Use Cases

  • Generates BI-optimized SQL with proper ORDER BY, explicit data types, rounding, and clear Russian aliases for charting and dashboards.
  • Supports time-series, top-N, Year-over-Year comparisons, and multi-dimensional aggregations across regions or categories.
  • Use case: quickly produce SQL for a time-series dashboard or a top-N regional analysis without manual SQL crafting.

Quick Start

Provide a BI-ready SQL query for your dashboard in one step.

Frequently Asked Questions about sql-bi-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate PostgreSQL queries for time-series and top-N BI dashboards?▼

Generate BI dashboard SQL by providing a basic query request to produce PostgreSQL queries optimized for time-series and top-N analysis. The output follows best practices for syntactic correctness, explicit ordering, and rounding for accurate visualizations.

What is the best way to write SQL for YoY comparisons across multiple regions?▼

Write SQL for YoY comparisons by generating optimized PostgreSQL queries that handle multi-dimensional aggregations across regions or categories. The process ensures proper date-bound filters, NULL handling, and integer extraction for accurate comparison metrics.

Can I use this to generate BI SQL with specific charting aliases and rounding rules?▼

Generate BI SQL with specific charting aliases and rounding rules directly from a query request. The output applies clear Russian field aliases, explicit data types, and rounding to ensure dashboard charts render consistently and correctly.

How do I ensure my dashboard SQL handles NULL values and performance checks?▼

Ensure dashboard SQL handles NULL values and performance by generating PostgreSQL queries with built-in performance checks and strict NULL handling. The generated code applies explicit data types and date-bound filters to prevent visual rendering delays.

Does this approach work for PostgreSQL aggregations without manual query crafting?▼

This approach works for PostgreSQL aggregations without manual query crafting by taking a BI-ready request and outputting a complete query. It automatically applies best practices for explicit ordering, rounding, and syntax to eliminate manual SQL writing.