menza-data-analystlisted
Install: claude install-skill riteshkew/yc-skills
# Workflow
When this skill triggers, follow these steps in order.
## Step 1 — Locate the CSV
Check whether the user has provided a CSV path.
- If a path is provided, confirm the file exists and has a header row.
- If no path is provided, ask: "Please provide the path to your CSV file. See `resources/sales.csv` for a working example with columns: order_id, region, product, units, revenue, date."
- The engine works with any CSV that has no quoted commas — simple comma-separated values only.
## Step 2 — Clarify the question
Check whether the user has asked a question.
- If a question is provided, confirm it maps to a supported pattern (see list below).
- If no question is provided, ask what they want to know about the data.
## Step 3 — Run the analysis engine
Execute from the skill root:
```bash
node scripts/ask.mjs <path-to-csv> "<question>"
```
The engine exits 0 on success (including "unsupported" responses) and exits 1 only on file/input errors. Capture stdout. If the process exits non-zero, surface the stderr message.
## Step 4 — Present the answer
The engine outputs a Markdown block containing:
- The question (echoed)
- The detected intent
- The computed answer
- A supporting table (for top-N and group-by questions)
Present this output directly. For numeric answers, note the units (e.g. USD, count).
## Step 5 — Offer follow-up analysis
After presenting the answer, offer one or two follow-up questions the user might ask based on the result. For example:
- A