CtrlK
BlogDocsLog inGet started
Tessl Logo

metodologia-bi-architecture

BI solution design — semantic layers, dashboard patterns, self-service analytics, KPI frameworks. Use when the user asks to "design BI architecture", "build a KPI framework", "set up self-service analytics", "design dashboard hierarchy", "create a semantic layer", or mentions metric trees, drill-down patterns, or reporting strategy.

SKILL.md
Quality
Evals
Security

BI Architecture: Business Intelligence Solution Design & Analytics Strategy

BI architecture defines how organizations consume data for decision-making — KPI frameworks, semantic layers, dashboard hierarchies, self-service analytics, and governance. This skill produces BI documentation that enables teams to deliver trustworthy, scalable, and accessible analytics.

Principio Rector

Un dashboard sin semántica es un gráfico bonito sin significado. La arquitectura BI diseña cómo las organizaciones consumen datos para decidir — desde el semantic layer que define qué significan las métricas hasta los dashboards que las presentan a la audiencia correcta.

Filosofía BI

  1. Semantic layer = contrato de significado. Cada métrica tiene una definición única, una fórmula, y un owner. Sin semantic layer, cada equipo calcula revenue diferente.
  2. Self-service con guardrails. Los usuarios deben poder explorar datos sin pedir tickets, pero dentro de un framework de gobernanza que asegure calidad y seguridad.
  3. Menos dashboards, más decisiones. La meta no es 100 dashboards — es que los decisores actúen con confianza. KPI trees > dashboard sprawl.

Inputs

The user provides a system or project name as $ARGUMENTS. Parse $1 as the system/project name used throughout all output artifacts.

Parameters:

  • {MODO}: piloto-auto (default) | desatendido | supervisado | paso-a-paso
    • piloto-auto: Auto para KPI framework y semantic layer, HITL para dashboard hierarchy y self-service strategy.
    • desatendido: Cero interrupciones. Arquitectura BI documentada automáticamente. Supuestos documentados.
    • supervisado: Autónomo con checkpoint en semantic layer design y platform selection.
    • paso-a-paso: Confirma cada KPI tree, metric definition, dashboard tier, y governance policy.
  • {FORMATO}: markdown (default) | html | dual
  • {VARIANTE}: ejecutiva (~40% — S1 KPI framework + S3 reporting + S6 governance) | técnica (full 6 sections, default)

Before generating architecture, detect the analytics context:

!find . -name "*.sql" -o -name "*.yml" -o -name "*.yaml" -o -name "*.lookml" -o -name "*.json" | head -30

Use detected tools (Looker, Tableau, Power BI, Metabase, dbt, etc.) to tailor recommendations.

If reference materials exist, load them:

Read ${CLAUDE_SKILL_DIR}/references/bi-patterns.md

When to Use

  • Designing KPI frameworks and metric hierarchies for an organization
  • Building semantic layers that define business metrics consistently
  • Architecting dashboard hierarchies from executive to operational levels
  • Enabling self-service analytics with governed data access
  • Establishing visualization standards and chart selection guidelines
  • Evaluating BI platform choices and migration strategies

When NOT to Use

  • Data pipeline design and orchestration → use data-engineering skill
  • dbt transformations and data modeling → use analytics-engineering skill
  • ML model serving and prediction systems → use data-science-architecture skill
  • Data quality rules and validation → use data-quality skill

Delivery Structure: 6 Sections

S1: KPI & Metric Framework

Defines the organization's metric hierarchy — what to measure, how metrics relate, ownership.

Includes:

  • Metric tree decomposition (north star metric → supporting metrics → input metrics)
  • Leading vs lagging indicator classification
  • Metric ownership mapping (which team owns which metric)
  • Metric definitions (formula, data source, grain, dimensions, filters)
  • Target setting framework (benchmarks, thresholds, alerting rules)
  • Metric lifecycle (proposed → active → deprecated → retired)

Key decisions:

  • Top-down vs bottom-up metric design: executive alignment vs team autonomy
  • Single source of truth: one definition per metric, enforced in semantic layer
  • Metric granularity: too many metrics = noise; too few = blind spots — aim for 5-7 KPIs per department, 15-25 supporting metrics
  • Alert thresholds: static vs dynamic baselines for anomaly detection

S2: Semantic Layer Design

Establishes the translation layer between raw data and business concepts.

Headless BI / metrics layer tool comparison:

Criteriondbt Metrics / MetricFlowCubeLooker (LookML)AtScale
ApproachTransformation-layer metricsHeadless BI API serverBI-native semantic modelVirtual OLAP cube
Best fordbt-centric teamsMulti-tool API consumersLooker-committed orgsEnterprise, Excel users
Multi-tool servingVia Semantic Layer APINative REST/GraphQL/SQL APILooker only (or via API)XMLA, SQL, REST
CachingWarehouse-nativePre-aggregation enginePDTs + in-memoryAggregate tables + cache
AI/NL query readinessGrowing (dbt + LLM integrations)Strong (structured API)Looker + GeminiAtScale + Copilot
Choose whenAlready using dbt, want metrics-as-codeNeed tool-agnostic API layerLooker is primary BI toolLarge enterprise, heavy Excel

Includes:

  • Metric definitions in semantic layer (measures, dimensions, filters)
  • Dimension modeling (conformed dimensions, SCDs, hierarchies)
  • Business glossary integration (term definitions, synonyms, ownership)
  • Calculation logic (derived metrics, ratios, period-over-period, running totals)
  • Access control at semantic layer (row-level security, column masking)

Key decisions:

  • Tool-native vs tool-agnostic semantic layer: tool-agnostic preferred when multiple BI tools consume the same metrics
  • Push-down vs materialize: compute on query for flexibility, precomputed aggregations for performance
  • Metric drift prevention: define metrics once in the semantic layer, never in individual dashboards — duplicated definitions are the #1 cause of "my numbers don't match"
  • Caching strategy: query cache for repeated queries, aggregate tables for heavy groupings, extract schedules for slow sources

S3: Reporting Architecture

Designs the dashboard hierarchy — from executive summaries to operational detail.

Dashboard performance budget (non-negotiable targets):

  • Initial render: < 2 seconds (above 3s, users abandon)
  • Query execution: < 5 seconds for interactive queries; < 30s for complex aggregations
  • Data freshness SLA: define per dashboard tier — L1 executive: daily; L2 department: hourly; L3 operational: near-real-time; L4 ad-hoc: on-demand
  • Embed load time: < 2 seconds for customer-facing embedded analytics

Includes:

  • Dashboard hierarchy (L1: executive, L2: department, L3: operational, L4: ad-hoc)
  • Drill-down patterns (summary to detail, cross-dashboard navigation)
  • Refresh strategies (real-time, near-real-time, scheduled, on-demand)
  • Report distribution (push: email/Slack alerts; pull: self-service portal)
  • Embedded analytics patterns (JavaScript/React SDKs for in-app embedding; multi-tenant row-level security; white-label theming; SDK preferred over iframe for SSO and interactivity)
  • Reverse ETL (sync churn scores to CRM, push segments to ad platforms, deliver metrics to Slack — define sync frequency, conflict resolution, idempotency per destination)

Key decisions:

  • Push vs pull reporting: proactive alerts vs on-demand exploration
  • Real-time dashboard viability: most BI tools are not built for sub-second refresh — use materialized views or streaming aggregates; reserve real-time for operations centers
  • Dashboard count governance: audit quarterly, archive dashboards with zero views in 90 days
  • Parameterized vs static: dynamic filters vs fixed executive views

S4: Self-Service Analytics

Enables business users to explore data independently with guardrails.

Self-service guardrails — governed vs ungoverned zones:

ZoneAccessDataComputeGovernance
Certified / GovernedAll usersCurated marts, semantic layerShared warehouseMetric definitions locked, row-level security enforced
Exploratory / SandboxAnalysts, power usersStaging + marts, limited rawDedicated warehouse with quotasLabeled "exploratory", not for executive reporting
Raw / UngovernedData engineers onlyAll sourcesIsolated computeFull audit logging, no self-service access

Includes:

  • Data access tiers (curated datasets, governed sandbox, raw access for power users)
  • User segmentation (consumer, explorer, analyst, data engineer)
  • Training and enablement plan (onboarding, documentation, office hours)
  • SQL access patterns (query editor, saved queries, shared snippets)
  • Feedback loop (user requests, prioritization, data team response SLA: acknowledge in 1 business day, resolve in 5)

Key decisions:

  • Openness vs governance: broad access increases adoption but risks misinterpretation
  • Certified vs exploratory content: clearly labeled "trusted" dashboards vs experiments
  • Compute guardrails: query timeouts (5 min default), row limits (1M rows for exports), cost quotas per user/group
  • Data literacy investment: training budget correlates directly with self-service success

S5: Visualization Standards

Defines chart selection, accessibility, color palettes, and interactivity guidelines.

Includes:

  • Chart selection guide (bar for comparison, line for trend, scatter for correlation, table for exact values — match chart type to analytical question)
  • Color palette standards (categorical max 8 colors, sequential for continuous, diverging for positive/negative; WCAG 2.1 AA contrast ratio >= 4.5:1)
  • Accessibility requirements (color-blind safe palettes, screen reader labels, alt text for all charts)
  • Interactivity patterns (tooltips, filters, drill-down, cross-filtering)
  • Layout templates (grid systems, information hierarchy, white space)
  • Anti-patterns: pie charts for 10+ categories, 3D charts, truncated axes, dual axes without clear labeling, too many KPIs on one screen
  • Information hierarchy: lead with big-picture KPIs, then detailed breakdowns; pair every metric with a target, prior period, or benchmark; always display active date range and units

Key decisions:

  • Standardization vs flexibility: enforced templates vs creative freedom — enforce for L1-L2 dashboards, allow flexibility for L3-L4
  • Dark mode support: design token approach for theme switching
  • Print/export: PDF-optimized layouts for board presentations

S6: BI Platform & Governance

BI platform decision matrix:

CriterionLookerPower BITableauSupersetMetabase
Best forGoverned metrics-as-codeMicrosoft ecosystemVisual explorationOSS, engineer-friendlySimple self-service
Semantic layerLookML (native, strong)Composite model / DAXLimited (extract-based)SQL Lab (basic)Questions (basic)
Embedded analyticsGood (Looker Embed SDK)Power BI Embedded (strong)Tableau EmbeddedSuperb (API-first)Good (iframe + SDK)
Cost modelPer-user ($$$)Per-user or capacity ($$)Per-user ($$$)Free (infra cost only)Free tier + Pro ($)
Choose whenStrong governance neededAlready on Microsoft stackHeavy visual explorationBudget-constrained, technical teamSmall team, quick start

Cost control patterns:

  • Query quotas: set per-user/group daily query limits; alert at 80% consumption
  • Materialized views: precompute heavy aggregations that serve 80%+ of dashboard queries
  • Extract schedules: move expensive queries to off-peak compute windows
  • License optimization: audit monthly active users vs licensed seats; downgrade inactive users after 60 days

Includes:

  • Platform evaluation criteria (features, cost, scalability, ecosystem, team skills)
  • Access control design (RBAC, row-level security, data classification enforcement)
  • Usage monitoring (dashboard views, query patterns, adoption metrics)
  • Change management (dashboard versioning, promotion workflows, testing)
  • Disaster recovery (backup, export, platform migration contingency)

Key decisions:

  • Single platform vs best-of-breed: simplicity vs specialization — single platform covers 80% of needs for most organizations
  • License model: per-user vs per-capacity vs consumption-based — model total cost at 2x current user count
  • Migration strategy: phased with parallel running preferred; big bang only for small teams

Trade-off Matrix

DecisionEnablesConstrainsThreshold
Centralized Semantic LayerSingle source of truthBottleneck on central team50+ report consumers
Self-Service AnalyticsBusiness agility, reduced data team loadMetric misinterpretation riskMature data culture with governance
Real-Time DashboardsImmediate visibilityInfrastructure cost, complexityOperations centers, trading floors
Embedded AnalyticsIn-context decisions, product differentiationMaintenance complexitySaaS products, customer-facing analytics
Push Reporting (Alerts)Proactive awarenessAlert fatigue if poorly tunedKPI monitoring, anomaly detection
Governed SandboxSafe exploration, innovationCompute cost, data duplicationTeams transitioning to self-service

Assumptions

  • Data warehouse or lakehouse exists with curated data models
  • Business stakeholders have defined strategic objectives and KPIs
  • Data team exists to maintain semantic layer and governance
  • Analytics users have basic data literacy (or training is planned)
  • Budget covers BI platform licensing and infrastructure

Limits

  • Focuses on analytics consumption, not data pipeline engineering
  • Does not design transformation logic (dbt models, SQL)
  • Does not address data quality upstream of consumption
  • Dashboard design requires domain expertise; architecture enables but does not replace business context

Casos Borde

CasoEstrategia de Manejo
Startup sin BI existenteIniciar simple: una herramienta de dashboard, spreadsheet compartida para definiciones de metricas, access control basico; semantic layer se justifica con 10+ reportes
Ambiente multi-herramienta (Tableau + Power BI + Looker)Enforcing single semantic layer independiente de herramienta de consumo; o aceptar duplicacion con ownership boundaries claros por equipo
Resistencia ejecutiva a self-serviceEnfoque por tiers: L1 curado para ejecutivos, L3-L4 self-service para analistas; ganar confianza incrementalmente con labels de contenido certificado
Datos de alta frecuencia (sub-segundo)Dashboards real-time requieren streaming architecture y materialized views; la mayoria de BI tools limitan a 1-min refresh; Grafana o custom dashboards para true real-time
Reportes regulados (SOX, HIPAA)Audit trails, version control de reportes, access logging y certified reports con change management workflows; cero modificaciones ad-hoc a dashboards de compliance

Decisiones y Trade-offs

DecisionAlternativa DescartadaJustificacion
Semantic layer como unica fuente de verdad para metricasDefiniciones de metricas en cada dashboard individualMetricas duplicadas en dashboards son la causa #1 de "mis numeros no cuadran"; semantic layer enforza una definicion unica por metrica
Self-service con guardrails (zonas governed vs sandbox)Self-service sin restricciones o acceso solo via ticketsSin guardrails hay riesgo de malinterpretacion; con solo tickets el data team se convierte en bottleneck; las zonas balancean autonomia y gobierno
Performance budget no-negociable (render < 2s, query < 5s)Performance como nice-to-havePor encima de 3 segundos de render, los usuarios abandonan el dashboard; el performance budget es un constraint de diseno, no una meta aspiracional
Dashboard audit trimestral con archivado automaticoDejar dashboards acumularse indefinidamenteDashboard sprawl es entropia organizacional; archivar dashboards con zero views en 90 dias previene la proliferacion sin valor

Knowledge Graph

graph TD
    subgraph Core["Core: BI Architecture"]
        KPI[KPI & Metric Framework]
        SEM[Semantic Layer Design]
        REP[Reporting Architecture]
        SS[Self-Service Analytics]
        VIZ[Visualization Standards]
        GOV[BI Platform & Governance]
    end

    subgraph Inputs["Inputs"]
        OBJ[Strategic Objectives]
        DW[Data Warehouse/Lakehouse]
        USERS[Analytics Users]
        TOOLS[Existing BI Tools]
    end

    subgraph Outputs["Outputs"]
        TREE[KPI Metric Tree]
        LAYER[Semantic Layer Config]
        DASH[Dashboard Hierarchy]
        GUIDE[Visualization Guide]
    end

    subgraph Related["Related Skills"]
        DQ[data-quality]
        DGOV[data-governance]
        DENG[data-engineering]
        AE[analytics-engineering]
    end

    OBJ --> KPI
    DW --> SEM
    USERS --> SS
    TOOLS --> GOV
    KPI --> SEM --> REP --> SS --> VIZ --> GOV
    GOV --> TREE
    GOV --> LAYER
    GOV --> DASH
    GOV --> GUIDE
    DQ --> SEM
    DGOV --> GOV
    DENG --> SEM
    AE --> SEM

Output Templates

FormatoNombreContenido
MarkdownA-01_BI_Architecture.mdDocumento completo con KPI framework, semantic layer design, dashboard hierarchy, self-service strategy, visualization standards y platform governance. Diagramas Mermaid de metric tree y dashboard hierarchy.
PPTXA-01_BI_Architecture_Executive.pptxPresentacion ejecutiva con KPI tree visual, dashboard hierarchy, platform comparison matrix y adoption roadmap. Para alineacion con C-level y data leadership.
HTMLA-01_BI_Architecture_{cliente}_{WIP}.htmlMismo contenido en HTML branded (Design System MetodologIA v5). Light-First Technical page con metric tree interactivo, dashboard hierarchy navegable, y platform comparison matrix. WCAG AA, responsive, print-ready.
DOCX{fase}_{entregable}_{cliente}_{WIP}.docxDocumento formal via python-docx (Design System MetodologIA v5). Cover page, TOC auto, headers/footers branded, tablas zebra. Para circulacion formal y auditoria.
XLSX{fase}_{entregable}_{cliente}_{WIP}.xlsxVia openpyxl con Design System MetodologIA v5. Headers branded (fondo navy, texto blanco, Poppins), formato condicional con colores semaforo, auto-filtros, valores sin formulas. Para catalogo de metricas, matrices de seleccion de plataforma y matriz de control de acceso.

Evaluacion

DimensionPesoCriterio
Trigger Accuracy10%Descripcion activa triggers correctos (BI architecture, KPI framework, semantic layer, self-service, dashboard hierarchy) sin falsos positivos con data-engineering o analytics-engineering
Completeness25%Las 6 secciones cubren KPIs, semantic layer, reporting, self-service, visualizacion y governance sin huecos; metric tree traza de north star a metricas operativas
Clarity20%Instrucciones ejecutables sin ambiguedad; cada metrica con definicion unica, formula, data source y owner; performance budgets con targets numericos
Robustness20%Maneja startup sin BI, multi-herramienta, resistencia ejecutiva, datos sub-segundo y reportes regulados con estrategias diferenciadas
Efficiency10%Proceso no tiene pasos redundantes; variante ejecutiva reduce a S1+S3+S6 sin perder KPI framework, reporting y governance
Value Density15%Cada seccion aporta valor practico directo; semantic layer tool comparison y BI platform decision matrix son herramientas de seleccion inmediata

Umbral minimo: 7/10.


Validation Gate

Before finalizing delivery, verify:

  • KPI hierarchy traces from north star to operational metrics
  • Every metric has a single, documented definition with owner
  • Semantic layer enforces consistent calculations across tools
  • Dashboard hierarchy covers executive, department, and operational levels
  • Performance budget met (render < 2s, query < 5s, freshness SLA defined)
  • Self-service access has guardrails (query timeouts, row limits, cost quotas)
  • Visualization standards address WCAG 2.1 AA accessibility
  • Platform selection documented with cost model at 2x current scale
  • Usage monitoring planned to track adoption and optimize licenses
  • Dashboard governance prevents sprawl (quarterly audit, archive policy)

Output Format Protocol

FormatDefaultDescription
markdown✅Rich Markdown + Mermaid diagrams. Token-efficient.
htmlOn demandBranded HTML (Design System). Visual impact.
dualOn demandBoth formats.

Default output is Markdown with embedded Mermaid diagrams. HTML generation requires explicit {FORMATO}=html parameter.

Output Artifact

Primary: A-01_BI_Architecture.html — KPI framework, semantic layer design, dashboard hierarchy, self-service strategy, visualization standards, platform governance.

Secondary: Metric catalog (.md), chart selection guide, dashboard template library, access control matrix.


Autor: Javier Montaño | Última actualización: 12 de marzo de 2026

Repository
JaviMontano/mao-discovery-framework
Last updated
First committed

Also appears in

JaviMontano/mao-pm-apex
In sync

since Aug 28, 2026

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.