metric-reconciliation
Use when two reports disagree, a KPI needs reconciliation across sources, or actuals need to be compared with a plan, forecast vintage, or prior methodology. Align population, coverage, calendar, attribution, and observation windows before computing gaps. Identify missing slices and preserve unresolved residuals.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- metric-reconciliation
- description
- Use when two reports disagree, a KPI needs reconciliation across sources, or actuals need to be compared with a plan, forecast vintage, or prior methodology. Align population, coverage, calendar, attribution, and observation windows before computing gaps. Identify missing slices and preserve unresolved residuals.
- disable-model-invocation
- false
02 资源文件 1
- 其他routing-eval.jsonl306 B
03 SKILL.md 正文
Metric Reconciliation
Contract
Reconcile two extracts of a single metric at a declared grain. Use each source's definition and as-of date to establish whether the comparison is valid.
Workflow
- Identify the decision, intended comparison grain, and reference source. Trace
each extract back to its query, export, or report and record its version or
as-of date. Use
metric-contractormetric-lineageto resolve unclear fields. - Write down both measurement scopes. Distinguish the reporting period, attribution lookback, and outcome observation horizon. Use the same canonical wording for verified equivalents and record the mapping. A scope label is a claim to substantiate. If a material field is unknown, obtain the definition or report the comparison as unresolved.
- Export one row per comparison key per side. Before aggregating, check join fanout and confirm whether channel or segment memberships overlap. Recompute distinct counts at the requested grain and carry numerator and denominator for rates. Label unavailable or immature rows explicitly.
- Run
../../scripts/reconcile_metrics.pywith the two CSVs and a comparison specification. See input format and example. Review scope differences and row status before using a delta. Record the output asmetric-reconciliation.jsonin the analysis workspace. - For a known scope change, rerun one side on a verified common basis. If a bridge is needed, start from the old published value and change one documented rule at a time using intermediate reruns. Show each signed adjustment, its source, and the unexplained residual. State the adjustment order because interacting rules can change individual contributions. Keep unmatched slices and unverified bridge components visible.
Output Format
Return the JSON comparison and report the decision, scope and vintages, comparable gaps, suppressed comparisons, and each material discrepancy's owner and next check.
Anti-Patterns
- Filling a missing observation with zero or reporting an immature cohort as complete.
- Comparing different attribution methods without a common-basis rerun.
- Treating numerical agreement as source certification or evidence of causality.
04 同仓库更多 Skills
analysis-handoff
Use to make a recurring SQL analysis reproducible, hand it to another analyst, or check whether an analysis bundle changed. Capture the exact query, metric definitions, inputs, source vintages, checks, and rerun steps in a portable folder without requiring a copy of row-level results.
conversation-ingestion
File a conversation transcript or notes from an interview, research discussion, or support exchange. Preserve the raw material, capture decisions and actions, and update participant and company timelines. Trigger on 'process this conversation', 'ingest this conversation', 'file this transcript', or 'conversation notes to KB'. For standalone media use media-ingest. For source routing use ingest.
minimal-skill
Minimal shared skill fixture for marketplace renderer and validator examples.
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).
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).
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.