From bootstrap-domain
Analytics practice patterns for dashboards, reports, metrics, KPIs, and business intelligence. Covers Looker, Tableau, Power BI, Metabase, SQL analysis, metric definitions, and data visualization best practices. Use when reviewing or building dashboards, reports, metrics, or analytical queries. Do not use for dbt/SQL data transformation (use analytics-engineering), data pipeline engineering (use data-engineering), or ML model development (use data-science).
How this skill is triggered — by the user, by Claude, or both
Slash command
/bootstrap-domain:analyticsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Domain-specific patterns and checklists for analytics and BI work.
Domain-specific patterns and checklists for analytics and BI work.
metric:
name: monthly_active_users
display_name: Monthly Active Users (MAU)
definition: >
Count of unique users who performed at least one
qualifying action in the trailing 28 days.
calculation:
sql: |
COUNT(DISTINCT user_id)
WHERE event_date >= DATEADD(day, -28, CURRENT_DATE)
AND event_type IN ('login', 'purchase', 'view')
grain: daily snapshot
dimensions:
- region
- platform
- user_segment
owner: analytics-team
notes:
- Excludes bot traffic
- Includes both free and paid users
- 28-day rolling window, not calendar month
Dashboard: [Business Area] Overview
Section 1: KPI Summary
- Metric cards with sparklines
- Period comparison (vs prior period, vs target)
Section 2: Trends
- Time series of key metrics
- Appropriate granularity (daily, weekly, monthly)
Section 3: Breakdown
- Dimension analysis (by segment, region, product)
- Tables or bar charts
Section 4: Details
- Drill-through to underlying data
- Filters for exploration
/*
Analysis: [Title]
Author: [Name]
Date: [Date]
Purpose: [What question are we answering?]
Key Findings:
- [Finding 1]
- [Finding 2]
*/
-- Step 1: Define base population
WITH base AS (
SELECT *
FROM source_table
WHERE date_column BETWEEN '2024-01-01' AND '2024-12-31'
),
-- Step 2: Calculate metrics
metrics AS (
SELECT
dimension,
COUNT(*) as count,
SUM(revenue) as total_revenue,
AVG(value) as avg_value
FROM base
GROUP BY dimension
),
-- Step 3: Add comparisons/context
final AS (
SELECT
*,
total_revenue / SUM(total_revenue) OVER () as pct_of_total
FROM metrics
)
SELECT * FROM final
ORDER BY total_revenue DESC
| Data Type | Recommended Chart |
|---|---|
| Trend over time | Line chart |
| Category comparison | Bar chart (horizontal if many categories) |
| Part of whole | Stacked bar, pie (≤5 slices) |
| Distribution | Histogram, box plot |
| Correlation | Scatter plot |
| Geographic | Map |
| KPI/single number | Scorecard with context |
npx claudepluginhub davekim917/bootstrap --plugin bootstrap-domainDesign and spec an analytical dashboard — define the question each chart answers, write the SQL queries, spec the layout and refresh cadence. Produces a complete dashboard spec ready to implement. Use when asked to "build a dashboard", "analytics dashboard", "BI dashboard", "weekly product health", or "visualize this data".
Provides expert business analysis for KPI frameworks, predictive models, real-time dashboards, and insights using Tableau, Power BI, Snowflake, BigQuery, Python, SQL. Useful for BA tasks and workflows.