CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

alert-triage

The workflow uses alert logs, traces, and metrics to assess an incident, connect failures to repository code or external causes, and post a diagnosis to the alert’s Slack thread. When a small, clear repository fix is safe, it directs the agent to create a branch, add or update a test, and open a pull request without merging; otherwise, it explains why no fix is proposed. It also sets evidence-handling and privacy constraints and specifies a concise handoff and stage transition.

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A lean, well-structured operational runbook: concrete tool invocations with payloads, explicit error-recovery branches, hard safety guardrails, and a clear handoff format. The only minor weakness is a couple of unspecified command details (metric aggregation arguments, the --since placeholder).

DimensionReasoningScore

Conciseness

The body never explains concepts Claude already knows (no definitions of traces, git, or pull requests); the opening paragraph on Mastra Alerts card anatomy is proprietary-system knowledge Claude genuinely lacks. Every sentence carries operational weight, e.g. "People watching the alert read this first" justifies the posting step.

5 / 5

Actionability

Tool calls are given with exact payloads ("alert_list_logs with { \"level\": \"error\", \"perPage\": \"50\" }") plus explicit result-handling branches ("pending: true", "posted: false" with a retry-once loop) and named kinds ("kind: \"diagnosis\"", "kind: \"fix\"", "kind: \"no_fix\""). Minor gaps keep it below fully copy-paste ready: alert_metric_aggregate gets no argument specification and "git log -p --since=…" uses an ellipsis placeholder.

4 / 5

Workflow Clarity

A clear four-step sequence (read incident, find cause, fix, hand off) with explicit validation checkpoints: read-failure handling ("mark the cause _unsure_... Never present a cause as confirmed without data that shows it"), the Slack post retry feedback loop, the "Never merge, approve or enable auto-merge" guardrail, and the no-safe-fix exit path.

5 / 5

Progressive Disclosure

A single-file skill of roughly 50 lines with no bundle files present and no need for external references; it is organized into clear numbered sections with a scannable handoff checklist, which merits a 5 under the rubric's simple-skill guidance.

5 / 5

Total

19

/

20

Passed

Description

70%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A specific, distinctive description with concrete actions and an explicit safety boundary ("never merge"). Its main weakness is the absence of any 'when to use this' trigger clause, which caps completeness, and slightly thin coverage of natural trigger synonyms.

Suggestions

Add an explicit trigger clause, e.g. "Use when a Mastra Alerts card needs triage, when an incident alert fires, or when the user asks to diagnose an alert."

Include natural trigger variations such as "triage", "on-call", or "incident card" so users' phrasing matches without reading the body.

Consider mentioning the Slack diagnosis post and final handoff so the description covers the full scope of what the skill does.

DimensionReasoningScore

Specificity

"Diagnose a Mastra Alerts card from the incident's traces, logs and metrics, then open a fix pull request for review (never merge)" names the domain and several concrete actions with explicit data sources and a safety boundary. It falls short of 5 because it omits parts of the actual workflow (Slack updates, handoff), and exceeds 3 because it goes beyond 1-2 generic actions.

4 / 5

Completeness

The 'what' is clear (diagnose from observability data, open a fix PR, never merge), but there is no 'Use when...' clause or equivalent explicit trigger guidance; per the judging guidelines this caps completeness at 3. The 'when' is only weakly implied by the Mastra Alerts framing.

3 / 5

Trigger Term Quality

Natural keywords like "alert", "incident", "traces, logs and metrics", "pull request", "diagnose" and "fix" match what an on-call user would say. A few natural terms are missing (e.g. "triage", "on-call", "incident card"), keeping it below comprehensive coverage at 5.

4 / 5

Distinctiveness Conflict Risk

"Mastra Alerts card" is a proprietary, distinctly named trigger with a clear niche (incident triage ending in a review-only pull request); conflict risk with other skills is minimal.

5 / 5

Total

16

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

mastra-ai/mastra

Path

mastracode/factory/factory-skills/alert-triage/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.