Skip to main content
在 Manus 中运行任何 Skill
一键导入

dashboard-metric-label-vs-sql-definition

星标0
分支0
更新时间2026年5月8日 09:52

Write precise client-facing definitions of dashboard KPIs / metrics by reading the backing SQL, not the display label. Use when: (1) drafting an "explain this dashboard to a client" doc, tooltip, onboarding email, or page-by-page narration; (2) the user pushes back on a metric definition you wrote ("that's not what X means"); (3) you're about to describe what a KPI "means" using its rendered label, the variable name in Python, or the column alias in SQL; (4) writing release notes, ADRs, or methodology notes for a metric. Covers the two traps caught repeatedly: (a) display label diverges from underlying SQL (e.g. "Active Students" labels a query that is literally `COUNT(*) FROM predictions WHERE scoring_date = MAX(scoring_date) AND <term>_suppressed IS NULL` — i.e. "rows in today's scoring run, post-suppression"); (b) UI toggles (term, lookback, segment) silently re-parametrize the count, so the same number means different things depending on which pill is active.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
2 个文件
SKILL.md
readonly