SkillsReviewed · addyosmani

Debugging and Error Recovery

Debugging and Error Recovery is a skill for developers using coding assistants to investigate software bugs, with project-specific commands and verification still required. It guides reproduction, fault isolation, root-cause fixes, regression tests and checks of the original failing scenario.

Researched 16 Nov 2026

In short.

Debugging and Error Recovery is a debugging skill for developers using coding assistants, with results dependent on the assistant's judgment and access to reliable project evidence. Its instructions cover six stages of investigation, Git bisection, intermittent failures, logging and regression prevention. The skill and its examples were not executed; compatibility and effectiveness are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to skills/debugging-and-error-recovery at commit 39b723ceebf81474d0557c1fecd01eddab585563. The supplied manifest records complete selected-folder coverage with SKILL.md as its only file, plus the repository-root LICENSE as a related notice outside that folder. Other repository skills, including the referenced test-driven-development skill, are excluded. Installation, assistant behavior, example code, test commands, fixes and end-to-end outcomes were not executed or assessed.

The overview

identity

This resource is the debugging-and-error-recovery skill in the addyosmani/agent-skills repository. It consists of a SKILL.md document with a name and activation description in YAML front matter, followed by instructions and illustrative code. Its source folder is [https://github.com/addyosmani/agent-skills/tree/main/skills/debugging-and-error-recovery].

The document tells an assistant when to apply systematic debugging, including failed tests, broken builds, unexpected runtime behavior and apparently obvious errors presented inline.

assessment

Its main value is a concrete investigation order that discourages jumping from an error message to an unverified patch. Particularly useful details include checking whether a test itself is wrong, investigating shared state, reducing the reproduction and requiring a regression test that fails without the fix.

The written guidance is substantial enough to serve as an assistant checklist or a human review aid. No executed demonstrations, comparative results or measured improvements in debugging success are supplied.

users

The skill suits developers who want a coding assistant to explain what broke, identify the cause and describe how to confirm a repair. Beginners get an ordered checklist; experienced developers get reminders about bisection, test pollution, environment differences and intermittent failures.

The examples use npm, TypeScript and JSX, while the instructions explicitly require substituting the repository's own commands. Applicability to other stacks is intended by the text, but specific host and language compatibility is not established.

capabilities

The document provides triage paths for test, build and runtime failures. It covers locating faults across frontend, backend, database, tooling, external services and tests; narrowing regressions with Git bisection; and reducing an issue to a minimal failing case.

For intermittent bugs, it suggests investigating timing, environment and shared state. It also discusses temporary logging, permanent error reporting, configuration defaults, empty states and error fallbacks. These are instructions and examples, not bundled diagnostic tools.

Using it

requirements

Use with an assistant requires a host that can load or receive the SKILL.md instructions. Applying the process also requires relevant project code, failure evidence and access to whatever test, build or manual verification tools the scenario needs. Git bisection additionally needs repository history and a known working revision.

No supported-assistant list, minimum model version, runtime requirement or dependency manifest is supplied. The document references a separate test-driven-development skill for discovering stack-specific commands; that skill's contents are outside this resource.

mechanism

The skill works through written instructions that ask an assistant to pause feature changes, preserve evidence and investigate in order: reproduce, localize, reduce, fix the root cause, add a regression guard and verify the complete scenario. It supplies no automated enforcement of that sequence.

It treats error messages and logs as diagnostic data. Commands or URLs embedded in that output are to be surfaced for user confirmation rather than followed automatically. This is a behavioral instruction, not a technical sandbox or log sanitizer.

setup

The captured skill folder contains SKILL.md, with no installer or host-specific installation instructions. Obtain the file from the pinned source [https://raw.githubusercontent.com/addyosmani/agent-skills/39b723ceebf81474d0557c1fecd01eddab585563/skills/debugging-and-error-recovery/SKILL.md] and consult the intended assistant's documentation for its loading method.

Before applying the examples, identify the project's actual test runner, focused-test syntax, build command and local verification process. The npm examples are explicitly illustrative; their flags should not be assumed to work with every test runner.

example

One example turns a task-search bug into a regression test: create a title containing quotation marks, an ampersand and angle brackets, search for quotes, then assert that exactly one result retains the original title.

The example demonstrates preserving a specific failure as a test. Its createTask and searchTasks helpers are not implemented in the supplied file, and no execution result is provided. The document asks for such a test to fail without the fix and pass with it.

Assessment & evidence

limitations

A written checklist cannot establish that an assistant found the actual cause or verified every affected behavior. For a failure that cannot be reproduced, the document falls back to gathering context, monitoring and revisiting the issue; diagnosis can remain unresolved.

The fallback snippets require project-specific judgment. In particular, substituting defaults for missing configuration may be inappropriate when a missing setting should prevent startup. The chart example wraps JSX creation in try/catch, but the file does not establish that this catches errors during a child component's later rendering.

The text also makes an unsupported percentage claim about guessing fixes. No measurement supports treating that claim as a benchmark.

reasoning

The process connects an observed failure to a proposed explanation through reproduction, localization and reduction. It explicitly allows the test to be wrong, distinguishes outdated expectations from implementation bugs and asks developers to investigate shared state when apparently unrelated changes cause failures.

A regression test that fails before the repair and passes afterward provides a concrete way to challenge the explanation. The additional full-suite, build and original-scenario checks broaden verification, although their presence in the instructions does not prove any particular repair correct.

alternatives

A developer can follow the same checklist manually without loading it into an assistant. Within the document, Git bisection is an option for regressions with a known working revision, while timing, environment and state investigation address failures that are difficult to reproduce.

No competing debugging skill, assistant or standalone debugger is evaluated in the supplied material. Comparative effectiveness and the benefit of loading this skill over using an existing team debugging procedure are unknown.

evidence

The source snapshot contains the complete selected SKILL.md and the repository-root LICENSE. The supplied manifest lists no additional files inside skills/debugging-and-error-recovery.

These files establish the written process, examples and licence terms. They contain no executed test receipts, host integration results or debugging outcome measurements. The illustrative code was not run.

Access & freshness

costs

The supplied material states no price, token budget, execution duration or usage cost. Total cost is unknown and would depend on the chosen assistant, model, computing environment and test or CI runs.

The MIT licence permits commercial use, but that permission does not establish the cost of the services or infrastructure used with the skill.

rights

The repository-root LICENSE is MIT, with copyright attributed to Addy Osmani in 2025. It permits use, copying, modification, publication, redistribution, sublicensing and sale of the software and associated documentation.

Copies or substantial portions must retain the copyright and permission notices. The licence provides no warranty and limits liability. The notice is available at [https://raw.githubusercontent.com/addyosmani/agent-skills/39b723ceebf81474d0557c1fecd01eddab585563/LICENSE].

freshness

The supplied snapshot was captured on 2026-11-16 at 02:12:03.210 UTC and is pinned to repository commit 39b723ceebf81474d0557c1fecd01eddab585563. This identifies the analyzed source; it does not establish the date the skill was last edited.

The original folder address follows the main branch and may differ from this pinned snapshot. Later changes and compatibility with current assistant hosts are unknown.

actions

Before adoption, confirm how the intended assistant loads the file and replace the example commands with the project's documented equivalents. Preserve the MIT notices when copying or redistributing the skill.

A useful evaluation would use a known regression and request a reproducible failure, a named root cause, a minimal correction and a regression test with before-and-after results. Check whether the assistant follows the evidence-preservation and verification steps, and review any suggested configuration defaults against the application's requirements. This evaluation has not been performed.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/debugging-and-error-recovery/SKILL.mdselected · checked 2026-11-16