Skip to content
Skills Library
Programming · Analysis

diagnosing-bugs

/diagnosing-bugs

This skill should be used when diagnosing a reported bug, intermittent failure, stuck operation, or performance regression and isolating its cause with reproducible evidence.

Repository
oya-browser ↗
Licence
MIT
Last repository change
27.10.2026

Assessment and security

85/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content20 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

This skill should be used when diagnosing a reported bug, intermittent failure, stuck operation, or performance regression and isolating its cause with reproducible evidence.

Original author description

This skill should be used when diagnosing a reported bug, intermittent failure, stuck operation, or performance regression and isolating its cause with reproducible evidence.

How it works

  1. Establish an exact signal
  2. Minimize and compare hypotheses
  3. Verify or hand off
Original SKILL.md headings · 60 lines, 540 words
SKILL.md preview
---
name: diagnosing-bugs
description: "This skill should be used when diagnosing a reported bug, intermittent failure, stuck operation, or performance regression and isolating its cause with reproducible evidence."
---

# Diagnose the reported symptom

Preserve the assigned role and the user's authorization. QA and reliability assignments remain
investigation or verification unless repair is assigned. Write or run tests, add instrumentation,
or alter product code only when authorized. Reading this workflow grants no additional tools
or permissions. Read relevant repository instructions, glossary, and architectural decisions.

## Establish an exact signal

Record the user's symptom, expected result, environment, version, input, and relevant state.
Choose the smallest permitted observation that exercises the actual failing path: an existing
targeted test, a CLI fixture, an HTTP request, trace replay, or the product journey. Use Oya
Browser exclusively for browser reproduction, screenshots, and automation. Read the Oya skill
first. Use available native tools for native UI. Preserve the person's live sessions and tabs.

Use scratch data and separate resources. Capture only the lines needed to show the symptom;
redact credentials, auth headers, personal data, and sensitive payloads before sharing or saving.
Keep secrets in existing protected environment/configuration rather than command text.

Name the exact command or action sequence and the observed outcome. Make the signal specific
to the reported symptom; successful startup alone cannot prove a failed interaction is fixed.
For intermittent failures, report attempts, failures, timing, and controlled conditions rather
than claiming determinism. Bound repetition, resource use, and runtime.

If reproduction is blocked, state what was attempted and the missing environment or evidence.
Continue bounded static investigation where useful, label hypotheses as unverified, and request
only the information needed to unblock. Never claim reproduction or verification from code alone.

## Minimize and compare hypotheses

Reduce inputs, dependencies, and steps one at a time while preserving the exact symptom. Keep
a copy of the original case. For a hard bug, list a few ranked, falsifiable causes; for a simple
defect, use the smallest useful set. State what observation would support or reject each cause.
Share the leading hypotheses concisely, then continue permitted investigation without requiring
an approval checkpoint for routine diagnostic choices.

Choose each probe to distinguish hypotheses. Change one variable at a time. Prefer focused
inspection or a debugger to broad logging. Tag authorized temporary instrumentation with a
unique prefix and record its paths for cleanup. For performance, collect a baseline and compare
the same workload and conditions; account for warmup and variance before attributing a cause.

## Verify or hand off

For a diagnosis-only assignment, return the cause supported by evidence, rejected alternatives,
the smallest proposed repair, and an exact verification recipe. Keep implementation unchanged.

When repair and testing are authorized, exercise the real failure through the caller-facing
contract. Establish the regression signal before the fix, then rerun it and the original case
afterward. If forcing failure with a deliberate mutation, inspect the diff to confirm it landed
before trusting the result. Explain any missing test seam or limits of an isolated fake.

Remove owned temporary instrumentation and fixtures; preserve existing user changes and running
services. Report the cause, exact observations, executed checks, remaining uncertainty, and cleanup.
Use [assets/investigation.md](assets/investigation.md) when a repeatable investigation record is
useful; omit fields that do not apply. Complete only with an evidenced diagnosis or a clear
blocker and next actionable step, without presenting an unrun repair as verified.

Adapted from Matt Pocock's engineering skills; see [SOURCE.md](SOURCE.md) and [LICENSE](LICENSE).
Files in this package (4)
  • LICENSE 1 KB
  • SKILL.md 4 KB
  • SOURCE.md 1 KB
  • assets/investigation.md 1 KB

Versions

RepositoryScoreLicence
This page · oyadotai/oya-browser85MIT
VincenzoImp/pitcrew100MIT
FrancoStino/opencode-skills-collection100MIT
yuan88964/RelayStudio100MIT
byheaven/byheaven-skills100MIT
sickn33/agentic-awesome-skills100MIT
BaSui01/snow-app-skills100MIT
vahaah/astack100MIT
alexboo86/booharness100MIT

Identical content appears in 1 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version eaa04a25490e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100bug-diagnosis
    Find the root cause of hard bugs with a fast pass/fail repro, ranked falsifiable hypotheses and bisection. Use when a bug resists quick fixes, a failure is intermittent, or a regression needs tracing to its cause.
  • 95fg-debug
    Conversational diagnosis for hard bugs and performance regressions, vendored from mattpocock/skills diagnosing-bugs. Build a red-capable loop, reproduce and minimise, rank hypotheses with the human, then instrument. Diagnosis only — an active verified failure returns to fg-run…
  • 90app-bug-forensics
    Use when diagnosing or fixing user-reported application bugs. Guides evidence-backed root-cause analysis from symptoms, screenshots, logs, provider failures, background tasks, storage, or desktop lifecycle behavior through a scoped patch and regression tests.
  • 95diagnose
    Use when the user reports a hard bug, unexpected failure, or performance regression that needs root-cause analysis.
  • 100debugging-workflow
    Find the cause of a defect by hypothesis and bisection rather than by guessing, then fix it behind a regression test. Use when the user reports a bug, a crash, a test that fails intermittently, a performance regression or a production incident, asks why code behaves…
  • 100diagnose
    Disciplined diagnosis loop for hard bugs and performance regressions. Reproduce -> minimise -> hypothesise -> instrument -> fix -> regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.