/ai-analyst-plus:question-framingfrom ai-analyst-plus
Structures analytical questions using the Question Ladder (Goal, Decision, Metric, Hypothesis) and a 7-field Analysis Design Spec before touching data. Useful for clarifying vague analysis requests.
Ships in ai-analyst-plus. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Structure analytical questions using the Question Ladder framework so every analysis starts with a clear decision context, measurable success criteria, and testable hypotheses.
Apply this skill when starting any new analysis, when a user asks a vague question ("How are we doing?"), or when an analysis request lacks decision context. Always frame before analyzing.
Before executing, check .knowledge/learnings/index.md for relevant entries:
Every analytical question climbs four rungs:
GOAL → What business outcome are we trying to achieve?
DECISION → What specific decision will this analysis inform?
METRIC → What will we measure to inform that decision?
HYPOTHESIS → What do we expect to find, and why?
The rule: Never start analyzing data until you can state all four rungs. If the requester only gives you a goal ("improve retention"), your first job is to climb the ladder before touching data.
Step 1: Extract the decision Ask: "What will you DO differently based on the answer?"
Step 2: Define success criteria Ask: "How will you know the analysis answered your question?"
Step 3: Form testable hypotheses Ask: "What do you think is happening, and why?"
Step 4: Identify data requirements Ask: "What data do we need, and do we have it?"
Step 5: Produce the Question Brief
Write the brief using the template below. Save it to question_brief.md in the working folder, or present it inline.
| Bad Question | Problem | Good Question |
|---|---|---|
| "How are our users doing?" | No decision context, unmeasurable | "Did the onboarding redesign improve Day-7 retention for new users?" |
| "Analyze our funnel" | No hypothesis, no scope | "Where in the signup-to-purchase funnel are we losing the most users, and does it differ by acquisition channel?" |
| "What's our conversion rate?" | Reporting, not analysis | "Why did conversion rate drop 15% in March, and is it affecting all segments equally?" |
| "Tell me about churn" | Too broad, no decision | "Which user segments have the highest 90-day churn rate, and what behaviors predict churn in the first 30 days?" |
| "Is our product doing well?" | Unmeasurable, no comparison | "How does our monthly active user growth compare to Q3, and which features are driving engagement?" |
When multiple questions emerge, prioritize:
HIGH IMPACT
│
┌─────────────┼─────────────┐
│ DO FIRST │ PLAN FOR │
│ (Quick win) │ (Strategic) │
HIGH │ │ │
FEASIBILITY ──────────────┼──────────────── LOW
│ │ │ FEASIBILITY
│ DO IF TIME │ SKIP │
│ (Nice to have)│ (Not worth) │
└─────────────┼─────────────┘
│
LOW IMPACT
Impact criteria:
Feasibility criteria:
The Question Brief is the concrete artifact the Ladder produces. Climb the
Ladder first, then fill the seven spec fields. Every field is required; if you
cannot fill one, ask the user. Save it to question_brief.md in the working
folder (or present it inline for quick asks).
# Question Brief: [Title]
## Date: [YYYY-MM-DD]
### Business Context
[2-3 sentences: what's happening, why this matters now]
### The Question Ladder
| Rung | Statement |
|------|-----------|
| **Goal** | [Business outcome] |
| **Decision** | [Specific action this informs] |
| **Metric** | [What we'll measure] |
| **Hypothesis** | [What we expect to find and why] |
### 1. Question
What are we trying to answer?
[A specific, testable question, sharpened from the Ladder]
### 2. Decision
What will this analysis inform?
[A concrete action the team will take based on the answer]
[If the answer is "nothing specific", this may be reporting, not analysis. Confirm with the user.]
### 3. Data Needed
| Data | Source | Available? | Notes |
|------|--------|-----------|-------|
| [metric/field] | [table/system] | Yes/No/Partial | [gaps, quality concerns] |
### 4. Dimensions
What should we segment or decompose by?
- [Dimension 1]: [why: what would different values tell us?]
- [Dimension 2]: [why]
- [Dimension 3]: [why]
### 5. Time Range & Granularity
- **Period:** [start date to end date]
- **Granularity:** [daily / weekly / monthly]
- **Comparison:** [vs. prior period / vs. same period last year / vs. benchmark]
### 6. Output Format
What deliverable does the user need?
- [ ] Quick answer (1-2 sentences + supporting number)
- [ ] Analysis report (structured findings with charts)
- [ ] Presentation deck (slides for stakeholders)
- [ ] Data table (for further analysis by the user)
### 7. Success Criteria
How will we know the analysis answered the question?
[Specific, falsifiable conditions, e.g. "Identify which segment drove >50% of the decline"]
### Priority
- **Impact:** [High/Medium/Low, with justification]
- **Feasibility:** [High/Medium/Low, with justification]
- **Recommendation:** [Do First / Plan For / Do If Time / Skip]
Scope calibration. Match spec depth to the request. A number pull gets 1-2 sentences per field and fits on one screen; a monitoring ask gets a medium spec; an exploration or deep dive gets full sections with sub-bullets. Never let the spec become a blocker for quick pulls.
Before analysis: present the brief, STOP, and confirm with the user before running any queries. The spec often reveals data gaps, scope mismatches, or missing context; catching them upfront saves hours of rework.
During analysis: check the spec before each major step: are you still answering the stated question? If something more interesting appears, note it as a follow-up but finish the original question first.
After analysis: verify the deliverable matches field 6 and the success criteria in field 7 are met; if not, note what is missing and why.
Writing rules for the spec fields:
Incoming request: "Can you look at our signup numbers?"
Reframed:
| Rung | Statement |
|---|---|
| Goal | Increase new user signups by 20% in Q1 |
| Decision | Should we invest in fixing the mobile signup flow or increasing top-of-funnel traffic? |
| Metric | Signup completion rate by device type + traffic source conversion rate |
| Hypothesis | Mobile signup completion rate is <50% of desktop because the form doesn't render properly on small screens. Fixing mobile is higher ROI than more traffic. |
Incoming request: "I'm curious about our power users"
Reframed:
| Rung | Statement |
|---|---|
| Goal | Increase the percentage of users who become power users (>10 sessions/month) |
| Decision | Which onboarding interventions should we prioritize to convert casual → power users? |
| Metric | Behaviors in first 7 days that predict power user status at Day 30 |
| Hypothesis | Users who complete the tutorial AND create a project in their first session are 3x more likely to become power users. The tutorial completion rate is only 23%. |
Incoming request: "Analyze our churn"
Reframed:
| Rung | Statement |
|---|---|
| Goal | Reduce 90-day churn from 35% to 25% |
| Decision | Which segment's churn should we tackle first — low-engagement users or users who hit a specific friction point? |
| Metric | 90-day churn rate by: (a) engagement tier in first 30 days, (b) last feature used before churning |
| Hypothesis | Users who never use Feature X churn at 2x the rate of users who do. Feature X has a discoverability problem, not a value problem. |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ai-analyst-lab/ai-analyst-plugin --plugin ai-analyst-plus47 skills in this plugin
/always-compareNever present a metric or number in isolation; anchor every number to a comparison (prior period, benchmark, or another segment) or state that none is available. Use every time you show a number: rates, counts, revenue, averages, query results, chart labels, summary stats. Trigger on output containing "the rate is", "we saw", "total", "average", "conversion", "revenue", "users", "sessions", "churn", "AOV", "NPS", or any figure pulled from data./analysis-designTurn a vague hunch or stakeholder request into a rigorous analysis plan via a staged pipeline (hypothesis sharpening, confound scan, V1, feedback, V2 redesign). Trigger on "I think X caused Y", "design an analysis for", "what's driving", "V2 after feedback", "stakeholder comments", "redesign the analysis". Vs question-framing (the lightweight framing gate before every analysis): use THIS only for a real hunch, confound scan, or V1 to V2 redesign./analyst-coreOperating rules for every data analysis. Apply for ANY data-analysis intent: "analyze", "investigate", "why did X change", "compare", "report on", "dashboard", "metrics", "funnel", "retention", "revenue", "conversion", "trend", "segment", "forecast", "how are we doing", "dig into", "break down", or any question about data, a metric, a CSV, or a table. Sets the method and routes to the other skills; load before any analytical question./archaeologyRetrieve proven SQL patterns, table cheatsheets, and join patterns from .knowledge/query-archaeology/ so past work gets reused. Fire as a pre-flight step before writing ANY SQL. Also trigger on "do we have a known query for X", "how do we usually join these tables", "have we computed this metric before". If the store is empty or missing, exit silently. Also owns the writer convention: after a validated analysis, curate the final SQL here./businessBrowse and search the organization's business context in .knowledge/organizations/: glossary terms, product catalog, metric definitions, OKRs, team structure. Trigger on "/business", "show me our glossary", "what metrics are defined?", "what products do we have?", "show me our OKRs", "who's on which team?", "look up [business term]", "what's the meaning of [term]?". Use this instead of reading the files directly./causalCausal inference toolkit for when experiments are not possible: estimate treatment effects from observational data with assumption checks and mandatory caveats. Invoke as /causal. Trigger on "causal", "caused", "impact of", "effect of", "attribution", "counterfactual", "difference-in-differences", "DiD", "propensity matching", "pre-post". If randomization IS possible, route to /experiment design instead.Other plugins' skills for the same job