CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

debugging-and-error-recovery

Guides systematic root-cause debugging. Use when tests fail, builds break, something that worked yesterday broke, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need to figure out what broke and why — a systematic approach to finding and fixing the root cause rather than guessing. Use when asked what broke, why a test started failing, or why code throws, even when the diff, the function, or the stack trace is pasted inline and the cause looks obvious from reading it, so that the cause is named, the fix is minimal, and the reply says how to confirm it.

Quality

86%

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

73%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.

The body presents an excellent, explicitly sequenced debugging workflow with validation checkpoints and concrete commands, and it wisely treats error output as untrusted data. Its main weakness is token efficiency: several sections explain concepts or write code Claude already knows, and at ~295 lines some reference-worthy material is inlined.

Suggestions

Trim or remove sections that restate knowledge Claude already has — the TypeError/CORS explanations in Runtime Error Triage and the generic Safe Fallback Patterns code — keeping only the non-obvious process guidance.

Move Error-Specific Patterns and the non-reproducible-bug decision tree into a references/ file, linked from a short section in SKILL.md, to cut inline tokens and improve progressive disclosure.

Compress the Common Rationalizations table to the two or three entries that add process discipline beyond common knowledge.

DimensionReasoningScore

Conciseness

The decision trees and step structure are tight, but the body spends tokens on things Claude already knows: 'TypeError: Cannot read property... Something is null/undefined that shouldn't be', 'It works on my machine → Environments differ', and a generic safe-fallback/config-default code section. This fits anchor 3 ('mostly efficient but includes some unnecessary explanation or could be tightened') rather than anchor 4's 'minor instances' of over-explanation.

3 / 5

Actionability

Provides concrete, executable guidance: specific test commands ('npm test -- --grep "test name"'), a complete git bisect sequence, and a full regression-test code example with an honest substitution note ('npm shown — substitute the repository's own test command'). Not anchor 5 because some sections (Red Flags, Common Rationalizations) are advisory rather than executable, leaving minor gaps.

4 / 5

Workflow Clarity

A six-step triage checklist explicitly ordered ('Work through these steps in order. Do not skip steps') with feedback loops in the Step 1 non-reproducible tree and a final Verification checklist ('[ ] A regression test exists that fails without the fix'). This matches anchor 5: explicit validation steps, error-recovery loops, and a checklist.

5 / 5

Progressive Disclosure

No bundle files exist, and the single-file body is well-organized with clear section headers and one clearly signaled cross-skill reference ('per the test-driven-development skill's Discover the Stack First section'). It does not reach anchor 5 because at ~295 lines — beyond the under-50-line simple-skill exception — content like Error-Specific Patterns and Safe Fallback Patterns could be split into reference files; but it is comfortably above anchor 3's poorly-signaled organization.

4 / 5

Total

16

/

20

Passed

Description

91%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 strong description with explicit, concrete trigger phrases covering what the skill does and when to use it in third-person voice. The only weaknesses are the broad 'any unexpected error' trigger creating mild conflict risk and actions that are concrete but not fully comprehensive.

DimensionReasoningScore

Specificity

Names several concrete actions — 'finding and fixing the root cause', 'the cause is named, the fix is minimal, and the reply says how to confirm it' — with minor gaps in coverage rather than the comprehensive enumeration of anchor 5. It is clearly above anchor 3, which covers only 1-2 concrete actions.

4 / 5

Completeness

Explicitly answers both questions: what ('Guides systematic root-cause debugging... a systematic approach to finding and fixing the root cause rather than guessing') and when (three explicit 'Use when...' clauses with concrete trigger phrases). This matches anchor 5 exactly; anchor 4 would require the 'when' to be less specific.

5 / 5

Trigger Term Quality

Covers natural user phrasing comprehensively with synonyms and variations: 'tests fail', 'builds break', 'something that worked yesterday broke', 'why a test started failing', 'why code throws', 'any unexpected error'. Anchor 4 implies a few natural terms are missing; here the natural trigger vocabulary for the debugging domain is essentially complete.

5 / 5

Distinctiveness Conflict Risk

A clear niche (systematic root-cause debugging of breakage) with distinct triggers, but the phrase 'or you encounter any unexpected error' is broad, creating minor overlap risk with general error-handling skills. Anchor 5 requires minimal conflict risk; this is a notch below, fitting anchor 4's 'mostly distinct; minor overlap risk'.

4 / 5

Total

18

/

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

addyosmani/agent-skills

Path

skills/debugging-and-error-recovery/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.