1---2name: metrics-anomaly-analysis3description: Use this skill when you need to identify, contextualize, and investigate metric anomalies from observability evidence; triggers include metrics anomaly analysis.4---5
6# Metrics Anomaly Analysis
7
8## When to Use
9
10- Use this skill when you need to analyze metric anomaly magnitude, duration, correlated signals, and business impact.
11- Use it to review an existing plan, result, or evidence set and produce actionable improvements.
12- Use it when context is incomplete but a bounded first pass is still valuable.
13
14## Output Format Options
15
16- Default to Markdown for review, execution, and incremental refinement.
17- When the user requests tables, CSV, JSON, or ticket fields, preserve risk, evidence, priority, and boundary information.
18- For machine-consumed output, confirm the schema, enums, and required fields first.
19
20## How to Use
21
221. Read and follow `prompts/metrics-anomaly-analysis.md`, including its input contract, execution rules, minimum coverage, and output order.
232. Add only context that changes the decision: scope, environment, version, constraints, evidence, and success criteria.
243. Audit the input, then separate confirmed facts, working assumptions, and open questions.
254. Rank by risk and evidence strength, and produce an artifact that can be executed or reviewed directly.
265. If information is missing, deliver a bounded first pass and state which conclusions remain unsupported.
27
28## Reference Files
29
30- Always read `prompts/metrics-anomaly-analysis.md`; it is the complete execution specification for this skill.
31- For evaluation or regression, read `evals/eval.yaml` and the relevant cases under `evals/cases/`.
32- Load `references/`, `examples/`, `scripts/`, or `output-formats.md` only when those directories exist and the task needs them.
33
34## Core Constraints
35
36- do not infer causation from synchronized movement alone
37- validate metric definitions and collection gaps
38- distinguish statistical from business anomalies
39- Never invent system behavior, fields, data, metrics, or root causes absent from the evidence.
40- Link important conclusions to evidence; mark unsupported conclusions as hypotheses with a verification method.
41- Explain priority using business impact, likelihood, or detectability.
42
43## Delivery Checklist
44
45- [ ] Covered: baseline deviation, duration and bursts, seasonality, dimensional breakdown, correlated metrics, business impact, alert quality, data completeness.
46- [ ] Separated facts, assumptions, gaps, and recommendations.
47- [ ] Gave high-risk items a priority, evidence basis, owner or next action.
48- [ ] Defined verifiable decision criteria instead of generic advice.
49- [ ] Performed no unauthorized production writes or destructive actions.
50
51## Common Pitfalls
52
53- Listing checks without preconditions, expected outcomes, or evidence.
54- Marking everything high priority and avoiding tradeoffs.
55- Substituting tool names or generic theory for domain reasoning.
56- Refusing incomplete input, or pretending incomplete evidence supports certainty.
57
58## Best Practices
59
60- Start with paths most likely to cause business loss, safety issues, or release blockage.
61- Reduce uncertainty through the smallest verifiable experiment and record reproduction conditions.
62- Make the artifact executable and independently reviewable by another engineer.