@bonnard/cli
Advanced tools
@@ -10,5 +10,9 @@ --- | ||
| This skill guides you through building and deploying a semantic layer. | ||
| The user has already run `bon init`. Walk through each phase in order, | ||
| confirming progress before moving on. | ||
| The user has already run `bon init`. | ||
| **IMPORTANT — pacing:** Complete ONE phase at a time. Before starting a phase, | ||
| briefly explain what it does and why. After completing it, show the user what | ||
| happened and ask if they're ready to move on. Do NOT run through all phases | ||
| in one go. | ||
| ## Phase 1: Connect a Data Source | ||
@@ -56,2 +60,5 @@ | ||
| **CHECKPOINT:** Show the user the tables and columns you found. Ask which | ||
| table they'd like to model first before proceeding. | ||
| ## Phase 3: Create Your First Cube | ||
@@ -127,4 +134,11 @@ | ||
| ## Phase 4: Create a View | ||
| ## Phase 4: Design Views for Your Audience | ||
| Before creating view files, ask the user: | ||
| - **Who will query this data?** (e.g., sales managers, product analysts, executives, AI agents) | ||
| - **What questions do they typically ask?** (e.g., "what's revenue by store this month?", "which products are trending?") | ||
| Use the answers to decide view names, which measures/dimensions to include, | ||
| and how to write descriptions. Each persona or use case may warrant its own view. | ||
| Views expose a curated subset of measures and dimensions for specific | ||
@@ -182,2 +196,6 @@ audiences. **Name views by what they answer** (e.g., `sales_performance`), | ||
| **CHECKPOINT:** Before deploying, summarize what will be deployed — list the | ||
| cubes, views, datasources, and any joins. Ask the user to confirm before | ||
| running `bon deploy`. | ||
| Log in (if not already) and deploy: | ||
@@ -184,0 +202,0 @@ |
+1
-1
| { | ||
| "name": "@bonnard/cli", | ||
| "version": "0.3.8", | ||
| "version": "0.3.9", | ||
| "type": "module", | ||
@@ -5,0 +5,0 @@ "bin": { |
Sorry, the diff of this file is not supported yet
2373087
0.08%