AGENT SKILL

metric-movement-diagnostic

Use this skill when a KPI or metric moved and the team needs to understand why. Trigger on phrases like why did this metric move, KPI drop, conversion is down, activation spiked, root cause metric movement, diagnose the change, explain the decline, metric variance, or what drove this increase.

License 许可
MIT
最近更新
2026-11-11
Stars
★ 1
Forks
0

01 前言 Front Matter

name
metric-movement-diagnostic
description
Use this skill when a KPI or metric moved and the team needs to understand why. Trigger on phrases like why did this metric move, KPI drop, conversion is down, activation spiked, root cause metric movement, diagnose the change, explain the decline, metric variance, or what drove this increase.
disable-model-invocation
false

02 资源文件 1

03 SKILL.md 正文

Metric Movement Diagnostic

Contract

You are the metric movement diagnostician. Your job is to separate real behavior change from measurement change, then identify the most plausible drivers without overclaiming causality.

This skill can plan or execute a diagnostic depending on available data; it is read-only over the data. If the metric definition is unclear, start with metric-contract or metric-lineage. If data trust is unclear, run data-quality-audit first. When the answer collapses to a single slice, hand the detail to segment-diagnostics; when the finding is leadership-bound, hand off to executive-readout.

Read references/analysis-standards.md for the analytical spine and references/causal-claims-guide.md before any causal phrasing.

Workflow

Phase 1: Lock the Metric and Window (Evidence Setup)

Define metric, source of truth, baseline period, comparison period, grain, and expected seasonality. Locate the underlying data under workspace/, data/, analysis/, sql/, or dbt/. For a CSV/TSV extract, profile it before attributing anything, so freshness and coverage are established facts:

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/profile_table.py" path/to/metric_data.csv

Phase 2: Rule Out Measurement Change FIRST

Before any behavioral story, check the plumbing: data freshness, schema or event changes, tracking/SDK version changes, dashboard filter edits, partial or trailing periods, denominator drift, deduplication changes, backfills, and source outages. Compare the metric's own definition and lineage across the two periods.

Hard STOP rule. If the movement is fully explained by a measurement or definition change — an instrumentation change, a filter edit, a partial period, a backfill, a denominator redefinition — then STOP the behavioral investigation and report the movement as a measurement artifact, not a real behavior change. Do not proceed to hunt for product/marketing drivers of a movement that is not real. Recommend metric-lineage or data-quality-audit to confirm and correct.

Phase 3: Quantify the Movement

Report absolute and relative change, the volume/business consequence, and variance or a confidence band when the metric is noisy. Distinguish a movement that clears the metric's normal week-to-week noise from one that does not.

Phase 4: Decompose Drivers

Examine mix shift, funnel steps, cohorts, segments, channels, geos, devices, products, campaigns, and lifecycle stages. Separate where the movement appears (the largest-denominator segment is usually not the "cause") from why it happened. For heavy segment work, delegate to segment-diagnostics.

Phase 5: Check Timing

Compare against launches, incidents, pricing changes, campaigns, holidays, seasonality, policy changes, and external events. Coincidence in time is a hypothesis, not proof.

Phase 6: Decision Gate — Depth and Claim Strength

When the fastest useful answer and the rigorous answer diverge, or the user wants a causal claim the data cannot support, ask with AskUserQuestion:

  • Depth — quick triage (rule out measurement + name the leading hypothesis) vs full decomposition (segment/funnel/timing contribution accounting).
  • Claim strength — report as "associated with / coincides with" vs commit to a causal claim (which requires a design this skill does not run).

Phase 7: Rank Hypotheses and Recommend

Separate likely / possible / ruled out / needs data. Give the fastest validation or fix and state what evidence would change the diagnosis.

Output Format

# Metric Movement Diagnostic: <metric>

**Movement:** <absolute + relative, base → comparison>
**Verdict:** Real behavior change / Measurement artifact / Mixed / Cannot tell
**Most likely driver:** ...
**Confidence:** High / Medium / Low
**Recommended action:** ...

## Measurement Integrity
## Size Of Movement
## Driver Decomposition
| Driver | Evidence | Contribution | Confidence | Next Check |
|--------|----------|--------------|------------|------------|

## Timing Correlations
## Ruled Out
## Open Questions

Save a durable diagnostic to workspace/analysis/lead-analyst/diagnostics/ if workspace/ exists, otherwise analysis/lead-analyst/diagnostics/, using:

YYYYMMDD-HHMMSS-movement-<slug>.md

Close with a completion status block:

STATUS: DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT
Artifact: <path or "none — returned inline">
Verdict: <real change | measurement artifact | mixed>
Next skill: /lead-analyst:segment-diagnostics | metric-lineage | data-quality-audit | executive-readout
Open concerns: <none or list>

Use DONE_WITH_CONCERNS when a driver is identified but evidence is partial; BLOCKED when the metric cannot be reconstructed for both periods; NEEDS_CONTEXT when the metric definition or source of truth must be pinned first.

Anti-Patterns

  • Explaining a metric movement before checking instrumentation and freshness.
  • Continuing to hunt behavioral drivers after a measurement change already explains the movement.
  • Calling the largest segment the cause when it is merely the largest denominator.
  • Ignoring mix shift and denominator movement.
  • Treating post-hoc segments or timing coincidence as causal proof.
  • Failing to distinguish "where the movement appears" from "why it happened."

04 同仓库更多 Skills

weisberg
weisberg/agile_agentic_analytics

minimal-skill

Minimal shared skill fixture for marketplace renderer and validator examples.

Skill与智能体开发
★ 1
weisberg
weisberg/agile_agentic_analytics

roadmap

Use this skill when the user wants a product roadmap, initiative sequencing, Now/Next/Later plan, quarterly roadmap, release theme map, product strategy-to-roadmap translation, or executive roadmap narrative. Trigger on phrases like "build a roadmap", "roadmap these initiatives", "what should be now next later", "sequence this backlog", "quarterly product roadmap", "theme-based roadmap", or "plan the next two quarters". Do NOT trigger for drafting or reviewing a single PRD (use prd-writer or prd-review), converting a PRD into an agentic PLAN.md (use prd-to-plan), or scoring/ranking a set of options without a time horizon (use prioritization).

产品经理
★ 1
weisberg
weisberg/agile_agentic_analytics

prioritization

Use this skill when the user wants to rank, score, triage, or compare product opportunities, features, PRD requirements, backlog items, roadmap candidates, or initiatives using RICE, impact-effort, confidence, reach, value, effort, risk, or tradeoff analysis. Trigger on phrases like "prioritize these features", "rank this backlog", "RICE score", "impact effort matrix", "what should we build first", "compare these initiatives", or "stack rank product bets". Do NOT trigger for a time-based roadmap (use roadmap), writing or reviewing one PRD (use prd-writer or prd-review), turning a PRD into an agentic plan (use prd-to-plan), or analyzing experiment results (use ab-testing or experimentation skills).

产品经理
★ 1
weisberg
weisberg/agile_agentic_analytics

prd-writer

Use this skill whenever the user wants to write, draft, create, or scaffold a PRD (Product Requirements Document), spec, product brief, one-pager, or "working backwards" PR/FAQ from an idea, rough notes, discovery inputs, or an existing partial draft that needs authoring. Trigger on phrases like "write a PRD", "draft a spec", "product doc for X", "one-pager", "PR/FAQ", "feature brief", or when the user describes a feature/product idea and asks for it to be turned into a written requirements document. Do NOT trigger for critique or approval-readiness review of an existing PRD (use prd-review), engineering design docs, RFCs, ADRs, prioritization, roadmaps, or technical architecture documents. The output of this skill is always a markdown file (or section thereof) that a real product team could ship from.

产品经理Skill与智能体开发
★ 1
weisberg
weisberg/agile_agentic_analytics

prd-to-plan

Use this skill when the user has a PRD (Product Requirements Document), spec, or product brief and wants to turn it into an executable plan for agentic development — a plan that AI coding agents (Claude Code, sub-agents, orchestrators) can actually run. Trigger on phrases like "turn this PRD into a plan", "agentic plan", "execution plan", "task graph", "break this down for Claude Code", "decompose this spec", "build plan", "implementation plan from PRD", "scrum-master plan", or when the user provides a PRD/spec and asks "what's next" or "how do we build this with agents". The output is always a structured `PLAN.md` artifact with phases, tasks, dependencies, validation gates, sub-agent assignments, and context bundles. Do NOT trigger for: writing the PRD itself (use prd-writer), pure engineering design / RFC / ADR (architecture is a separate artifact), or generic project management plans without an agentic execution model.

产品经理Skill与智能体开发
★ 1
weisberg
weisberg/agile_agentic_analytics

prd-review

Use this skill when the user has an existing PRD, product spec, one-pager, or PR/FAQ and wants critique, approval-readiness review, quality-bar scoring, required changes, or a red-team pass. Trigger on phrases like "review this PRD", "critique my product spec", "is this PRD ready", "PRD quality bar", "red-team this requirements doc", "find gaps in this PR/FAQ", or "what would block approval". Do NOT trigger for drafting a new PRD from an idea (use prd-writer), converting an approved PRD into an agentic implementation plan (use prd-to-plan), building a roadmap (use roadmap), or ranking multiple initiatives (use prioritization).

产品经理
★ 1