metric-diagnostics
O que ela faz
Esta skill explica por que um número subiu, caiu ou se afastou do que era esperado. Ela é para analistas e gestores que precisam entender uma mudança antes de agir sobre ela.
Quando usar
- ✓Quando uma métrica importante caiu ou subiu mais do que o esperado.
- ✓Quando um número não bate com o que a equipe esperava.
- ✓Quando quiser saber quais fatores provavelmente causaram uma mudança de métrica.
Link da skill
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/metric-diagnostics/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Quero saber por que a nossa taxa de conversão caiu na semana passada e quais fatores causaram isso.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente reproduz a métrica, define uma comparação justa e mede o tamanho da mudança. Ele verifica os fatores prováveis contra os dados e separa o que foi comprovado do que ainda está incerto.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Related Skills
Use $gather-business-context when business context is needed to understand the metric, analysis period, ownership, or plausible explanations.
Use $product-business-analysis when the task asks for a recommendation or tradeoff decision after diagnosing the movement.
Use $analyze-data-quality when dashboard trust, grain, freshness, or source disagreement could affect the metric.
Metric Diagnostics
Use this skill to diagnose why a metric changed or differs from expectation. Reproduce the metric, define the comparison, quantify the movement, validate likely drivers, and state what is verified, likely, unresolved, and useful to do next.
Clarify with the user when a missing input would materially change the analytical frame or recommendation. Otherwise make a reasonable assumption, state it, and proceed.
Skill Configuration
Source Discovery And Verification
Use the relevant semantic layer as a starting map, not a boundary.
- Explore all possible sources. Search every connected or provided source that could contain task-relevant data or change the interpretation. Within each structured-data source, run fresh catalog or metadata discovery for relevant schemas, datasets, tables, views, models, and metrics. Known sources, tables, dashboards, and semantic mappings are starting points, not stopping points.
- Compare duplicates and conflicts. When sources overlap or disagree, compare ownership, freshness, definition, grain, coverage, and directness. Use the best authoritative source, or combine complementary sources when needed. Note material conflicts, explain why the selected source or sources control the answer, and verify selected data through live reads before concluding.
Source Access Guardrail
Before querying sources, building artifacts, or drawing conclusions, determine whether the answer requires a specific source of truth.
If a required source is unavailable, stop that path. Tell the user what source is needed, ask them to make it available or provide a reviewed fallback, and do not treat weaker substitutes as equivalent.
If the missing source is only optional enrichment, continue with the strongest available evidence and label the gap when it materially affects the answer.
Workflow
1. Define The Diagnostic Question
Frame the diagnostic so it is clear what changed and what comparison would prove it.
Define:
- what the metric means in business terms
- the time window and comparison that make the change measurable
- the population and grain that determine what counts
- the source that owns the metric definition
- the diagnostic question being answered, for example movement, concentration, or reconciliation
Use $gather-business-context when business context is needed to understand what the metric means, what changed around the analysis period, or which explanations are plausible.
2. Validate The Metric Definition And Source
Before explaining the movement, confirm that the metric is defined correctly and that the source data can measure it reliably.
Confirm the metric definition, grain, aggregation logic, filters, joins, exclusions, freshness, lineage, and any disagreement between trusted surfaces. Keep this source check focused on issues that could change the answer.
Treat current context, named semantic layers, and familiar table names as source candidates, not source selection. For broad metric questions, run live source discovery against available tables, dashboards, metric docs, semantic layers, or other source-of-truth surfaces before choosing the controlling source. When both are available, inspect at least one business-facing or top-line surface and one lower-level source surface, then state why the selected source owns the answer.
Use $analyze-data-quality when freshness, grain, joins, missingness, schema drift, outliers, unexpected categories, or distribution shifts could affect trust.
Use $jupyter-notebooks when fresh SQL, Python, statistical modeling, reusable calculations, or multi-step decomposition need an inspectable analytical record.
3. Establish The Metric Pattern
Before looking for drivers, establish the metric pattern the diagnostic needs to explain. Quantify the metric over the relevant period and scope. If the question includes a comparison, reproduce that comparison.
Do not search for causes until the size, timing, and scope of the pattern are verified or explicitly marked uncertain.
4. Choose The Diagnostic Plan
Perguntas frequentes
Ela me diz o que fazer a respeito?
Quando você precisar de uma recomendação, a skill aponta para o fluxo de análise de produto e de negócio.
Ela verifica se os próprios dados estão errados?
Sim. Ela pode usar o fluxo de qualidade de dados quando a confiança nos dados puder afetar o resultado.
O que a resposta final inclui?
Ela informa o que foi verificado, o que é provável, o que continua sem solução e o que é útil fazer a seguir.
Detalhes
Descrição original do autor
Diagnose why a metric changed or differs from expectation. Use when the task is to identify likely drivers of a metric movement, anomaly, gap, or discrepancy.
repo: XiaomiMiMo/MiMo-Code
Popularidade
- Estrelas no GitHub
- 14 mil
- Posição no ranking
- #11321
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
effect
14 milAjuda seu agente a responder perguntas sobre o framework TypeScript Effect verificando o código-fonte e a documentação, em vez de confiar na memória.
arxiv
14 milAjuda seu agente a pesquisar, ler, citar e acompanhar artigos acadêmicos no arXiv, incluindo resumos, citações BibTeX, downloads de PDF e links de citação.
claude-code
14 milAjuda seu agente a passar uma tarefa de programação para a ferramenta de linha de comando do Claude Code, como uma execução única, uma sessão interativa ou um trabalho em segundo plano.
codex
14 milAjuda seu agente a rodar a ferramenta de linha de comando do OpenAI Codex sem uma janela de chat, para tarefas de programação, scripts e pipelines automatizados.
Skills parecidas
gitcrawl
394 milPermite que seu agente pesquise um arquivo salvo de issues e pull requests do GitHub, agrupe os duplicados e verifique o status atual deles no GitHub.
slacrawl
394 milPermite que seu agente pesquise e conte mensagens em um arquivo local do Slack, verifique quão atualizado ele está e o atualize quando necessário.
goplaces
394 milAjuda seu agente a buscar lugares, obter detalhes e avaliações e identificar nomes de lugares usando o Google Places, com saída em JSON para scripts.