From auto-claude-skills
Reviews shipped feature outcomes by querying PostHog for adoption, error, and experiment metrics, then optionally creates gated follow-up Jira tickets. Use after release to validate hypotheses.
How this skill is triggered — by the user, by Claude, or both
Slash command
/auto-claude-skills:outcome-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Query analytics for a shipped feature, synthesize an outcome report, and optionally create follow-up Jira work. Entered independently after shipping — days or weeks later.
Query analytics for a shipped feature, synthesize an outcome report, and optionally create follow-up Jira work. Entered independently after shipping — days or weeks later.
Check which MCP tools are available:
Tier 1 — PostHog MCP:
If you have access to query-run, get-experiment, list-experiments, get-feature-flag, or create-annotation as MCP tools, use Tier 1.
Tier 2 — Manual Metrics: If no PostHog MCP tools are available, ask the user to provide metrics directly:
"I don't have PostHog MCP access. Please share any of the following:
- Dashboard screenshots or metric summaries
- Adoption numbers, funnel data, or error rates
- Experiment results if applicable
- Any specific concerns about the shipped feature"
~/.claude/.skill-learn-baselines/:
shipped_at, ship_method, hypotheses, and jira_ticket fieldsship_method is "pull_request", verify the PR was actually merged before proceeding (check pr_url via gh pr view)"Which feature should I review? Please provide the feature name, branch name, or Jira ticket ID."
Tier 1 (PostHog MCP available):
query-run with HogQL:
shipped_athypotheses, use each hypothesis's metric field to target specific events/properties instead of generic adoption querieslist-experiments to find experiments linked to the featureget-experiment for results, significance, and variant performanceget-feature-flag for rollout percentage and targeting rulesquery-run for error events associated with the featureTier 2 (Manual):
hypotheses, present each hypothesis and its metric to the user: "For H1 ([description]), I need the current value of [metric]. What is it?"Present a structured report:
Feature: [name] | Shipped: [date] | Branch: [name]
Adoption: [metrics summary — event counts, trend direction, comparison to pre-ship baseline]
Quality: [error rates, regression indicators]
Experiments: [results if applicable — significance, winning variant, effect size]
Assessment: One of:
Hypothesis Validation (when baseline has non-null hypotheses):
| ID | Hypothesis | Metric | Baseline | Target | Actual | Status |
|---|---|---|---|---|---|---|
| H1 | [description] | [metric] | [baseline] | [target] | [measured value] | [status] |
Status values:
Confirmed — Actual meets or exceeds targetNot confirmed — Actual does not meet targetInconclusive — Insufficient data, or validation window has not elapsedPartially confirmed — Directionally correct but below target thresholdWhen hypotheses is null in the baseline (or no baseline found): skip this section entirely. Fall back to the existing generic metrics flow with no behavioral change.
Recommendations: Specific next actions based on the assessment.
Present the report and ask:
"Based on this outcome review, would you like me to:
- Close the loop — no follow-up needed
- Create follow-up Jira tickets — I'll draft tickets for the recommended actions (requires your approval before creation)
- Investigate further — dig deeper into a specific metric or regression"
Wait for the user's choice.
If "Create follow-up tickets" (and Atlassian Rovo MCP available):
jira_ticket or the feature's parent ticket is unknown, find it first: call search(cloudId, "<feature name>") — the Rovo cross-system search returns the original ticket alongside any linked Confluence docs in one call. Fall back to searchJiraIssuesUsingJql only if search returns no matches.createJiraIssue to create the ticket.addCommentToJiraIssue on the original ticket with the outcome summary.If Atlassian Rovo MCP unavailable:
"I don't have Atlassian Rovo MCP access. Here are the recommended follow-up tickets — please create them manually: [formatted ticket descriptions]"
If follow-up work was identified:
"If follow-up work is needed, invoke Skill(auto-claude-skills:product-discovery) or Skill(superpowers:brainstorming) to begin the next cycle."
If the loop is closed:
"Outcome review complete. The feature loop is closed."
npx claudepluginhub damianpapadopoulos/auto-claude-skillsGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.