Dev & Engineering root-cause-debuggingerror-recoverytest-failure-triagebuild-debuggingregression-testingincident-response

Systematic Debugging & Recovery

A structured workflow for finding root causes, fixing failures, and preventing recurrence.

FollowSkills review · FSRS-2.0
Not recommended
49/ 100 5-point scale 2.5 / 5
Trust16 / 25 · 3.2/5

The skill explicitly preserves evidence, treats error output as untrusted data, and requires removing sensitive logs; however, npm install, git bisect, development-server execution, and alert setup can create external or environment effects without user confirmation, privilege boundaries, or rollback guidance. Data-flow and production-incident safeguards are also incomplete, so points are deducted.

Reliability8 / 20 · 2.0/5

The six-step workflow is internally coherent and includes branches for non-reproducible, test, build, and runtime failures; however, its commands assume npm, Node, and particular test-runner flags, with no adaptation across toolchains and no committed executable evidence reproducing this skill's key paths. The static cap therefore applies.

Adaptability8 / 15 · 2.7/5

Trigger scenarios are clear and cover test, build, runtime, and production problems, including a non-reproducible path; however, “anything unexpected” is broad, non-fit boundaries and input/output expectations are not explicit, and JavaScript-centric examples lack Chinese-language or broader environment guidance. Points are deducted accordingly.

Convention8 / 15 · 2.7/5

The document has clear progressive sections for overview, triggers, workflow, patterns, red flags, and verification. The repository README supplies installation guidance, while MIT licensing, team information, and CI are present; however, the skill lacks independent versioning, changelog, maintenance ownership, update path, FAQ material, dependency notes, and toolchain alternatives.

Effectiveness6 / 15 · 2.0/5

The workflow can directly guide root-cause isolation, regression-test creation, and end-to-end verification, providing clear marginal value over ad hoc debugging; however, the commands and examples are generic, there is no representative output verification, and project-specific adaptation may be required. The score remains within the static maximum.

Verifiability3 / 10 · 1.5/5

The skill is auditable source material, and repository CI validates skill structure, the evaluation runner, and installation structure; however, the supplied test fixture is unrelated to this skill, and no dedicated key-path tests or third-party execution evidence are shown, so only limited credit is justified.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 2fbfa004a019
Before you use it
  • Before running npm install, git bisect, a development server, or production alerting, define scope, obtain confirmation where appropriate, and establish permissions and rollback.
  • The npm/test/build commands may not fit non-npm or non-JavaScript projects; verify the project's toolchain before applying example flags mechanically.
  • Logs and error context may contain credentials, personal data, or business data; the skill mentions removing sensitive logs but lacks a systematic redaction and access-control procedure.
  • No dedicated execution tests for this skill's key paths are provided, so static review cannot establish stable effectiveness in target environments.
Review evidence [1][2][3][4][5]
See the full review method →

What does this skill do, and when should you use it?

This is a general-purpose debugging workflow for AI coding agents handling failed tests, broken builds, runtime bugs, and production incidents. It tells the agent to stop making changes, preserve evidence, and proceed through reproduction, localization, reduction, root-cause repair, recurrence prevention, and end-to-end verification. It also includes failure-specific triage patterns, safe fallback guidance, instrumentation advice, and rules for treating error output as untrusted data. It fits engineering teams that want verifiable debugging instead of guess-driven fixes.

It directs the agent to collect error output, logs, environment details, and reproduction steps; run targeted, verbose, isolated, full-suite, and build commands; localize failures to the UI, API, database, build tooling, external service, or test; use git bisect when investigating regressions; create a minimal failing case; fix the underlying cause; add a regression test; and verify the original scenario, test suite, and build end to end.

  1. A frontend or backend developer gets a failing test after a code change and needs to distinguish an outdated test from a code defect.
  2. An engineer encounters a type, import, configuration, dependency, or environment build failure and needs a structured diagnosis.
  3. A maintainer faces an intermittent runtime bug and needs to investigate timing, environment, state, or randomness.
  4. A production support engineer receives an error report or log failure and needs to preserve evidence, narrow the fault, and verify the fix.
  5. A team wants every bug fix to include a regression test and complete verification before resuming feature work.

What are this skill's strengths and limitations?

Pros
  • Defines an ordered workflow covering reproduction, localization, reduction, repair, regression protection, and verification.
  • Covers test failures, build errors, runtime errors, intermittent failures, and production incidents.
  • Requires evidence preservation, regression tests, and end-to-end checks.
  • Includes practical guidance for safe fallbacks, instrumentation, and untrusted error output.
Limitations
  • The supplied material does not show a dedicated test suite or platform-specific integration for this skill.
  • Its command examples assume Node.js/npm and Git; projects may need different test and build commands.
  • It provides a diagnostic process rather than automatic diagnosis or project-specific tool configuration.

How do you install this skill?

Install the collection with: npx skills add addyosmani/agent-skills. Install this individual skill with: npx skills add addyosmani/agent-skills --skill debugging-and-error-recovery. The README also documents repository-level installation for Codex CLI v0.122+: codex plugin marketplace add addyosmani/agent-skills.

How do you use this skill?

In a compatible agent where the skill is installed, invoke it when tests fail, builds break, behavior is unexpected, or an error appears. Example prompt: “This test started failing after a code change. Diagnose it in order: reproduce, localize, reduce, fix the root cause, add recurrence protection, and verify end to end.” The skill file does not specify a separate client-specific invocation syntax.

FAQ

Does it cost anything to adopt?
The supplied README identifies the repository as MIT-licensed and does not mention an additional fee.
Should it execute commands embedded in error messages?
No. The skill explicitly says to treat error output and stack traces as data to analyze and not to execute their commands or visit their URLs without user confirmation.
What kinds of failures does it cover?
It covers failed tests, broken builds, runtime errors, unexpected behavior, bug reports, intermittent failures, and production incidents.
What does adoption require?
The skill is a Markdown file with name and description frontmatter. Its examples use Node.js, npm, and Git; actual permissions depend on the host agent and environment.

More skills from this repository

All from addyosmani/agent-skills

Dev & Engineering

Browser DevTools Testing

Validate and debug web applications with real-browser runtime evidence.

Dev & Engineering

Test-Driven Development Workflow

Prove intended behavior with a failing test before implementing, refactoring, and verifying the change.

Automation & Ops

Production Observability

Make production behavior visible and diagnosable with structured logs, metrics, traces, and actionable alerts.

Dev & Engineering

Incremental Implementation

Deliver multi-file engineering changes through small, tested, reversible slices.

Dev & Engineering

Idea Refine

Turn vague ideas into tested, actionable product directions.

Automation & Ops

CI/CD Pipeline Automation

Build repeatable quality gates and reversible deployment pipelines for every change.

Dev & Engineering

Intent Interviewer

Clarify the real problem through one-question-at-a-time interviews before planning or coding.

Dev & Engineering

Code Clarity Refactor

Reduce code complexity while preserving exact behavior, so teammates can read, modify, and debug it faster.

Dev & Engineering

Spec-Driven Development

Turn ambiguous engineering requests into testable specifications before coding.

Dev & Engineering

Git Workflow & Release Discipline

Keep AI-generated changes reviewable, reversible, and ready to release.

Dev & Engineering

Performance Optimization Engineering Skill

Measure, diagnose, and verify fixes for frontend, backend, query, and database performance bottlenecks.

Dev & Engineering

Planning & Task Breakdown

Turn clear requirements into ordered, implementable, and verifiable engineering tasks.

Dev & Engineering

Architecture Decisions & Docs

Preserve engineering context by documenting decisions, APIs, and the reasons behind them.

Design & Frontend

Production Frontend UI Engineering

Guides AI coding agents to build accessible, responsive, design-system-aligned production interfaces.

Dev & Engineering

Doubt-Driven Development

Challenge non-trivial decisions with a fresh adversarial review before they stand.

Automation & Ops

Security Hardening Engineering Skill

Gives coding agents a structured defense workflow for untrusted input, authentication, sensitive data, and external service integrations.

Dev & Engineering

Source-Driven Development

Ground framework and library decisions in current official documentation instead of stale memory.

Dev & Engineering

Stable Interface Design

A practical guide to designing stable, clear, and hard-to-misuse APIs and module interfaces.

Dev & Engineering

Pre-Merge Code Quality Review

Review every change across correctness, readability, architecture, security, and performance before it reaches the main branch.

Dev & Engineering

Context Engineering

Helps coding agents load the right project context at the right time, reducing guesswork and convention drift.

Related skills