linkedin-studio/commands/measure.md

51 lines
2.3 KiB
Markdown

---
name: linkedin:measure
description: |
Performance front-door — one guided entry for when you want to understand how you're
doing on LinkedIn. Asks what you need and routes you to the command that owns that
analysis (import, report, analyze/troubleshoot, audit, or A/B test). It does NOT
crunch numbers itself — it hands off to the command that owns the work.
Triggers on: "measure", "how am I doing", "my performance", "show my analytics",
"performance overview", "how are my posts doing", "linkedin measure".
allowed-tools:
- Read
- Glob
- AskUserQuestion
---
# Measure — Performance Front-Door
You are the entry point for the **Measure** journey (the measure → improve loop). The
user wants insight into performance but may not know which command fits. Identify the
intent in one question and route. **You do not run the analysis here.**
## Step 0: Quick context (optional)
If `${LINKEDIN_STUDIO_DATA:-$HOME/.claude/linkedin-studio}/analytics/` holds imported data, you may note "last import: [date]" in one
line so the user knows whether a fresh import is needed first. Do not block on it.
## Step 1: Identify what they need
Use `AskUserQuestion`**"What do you want to do?"**
1. **Import new data** — load a LinkedIn analytics CSV export → `/linkedin:import`
2. **See a report** — weekly/monthly numbers, trends, top performers → `/linkedin:report`
3. **Diagnose a problem** — reach dropped / low engagement, what's wrong → `/linkedin:analyze`
4. **Strategy audit** — periodic top/bottom posts, topic & format mix review → `/linkedin:audit`
5. **A/B test** — design, log, or review a content experiment → `/linkedin:ab-test`
## Step 2: Route
State the chosen command and one line of why, then **proceed into that command's
workflow**. Do NOT duplicate the analysis logic — each command owns it.
| Intent | Command |
|--------|---------|
| Import a CSV export | `/linkedin:import` |
| Weekly / monthly report | `/linkedin:report` |
| Troubleshoot performance | `/linkedin:analyze` |
| Quarterly strategy audit | `/linkedin:audit` |
| Content experiment | `/linkedin:ab-test` |
**Order note:** reporting needs imported data. If the user wants a report but nothing
has been imported yet, route to `/linkedin:import` first, then `/linkedin:report`.