diagnose

Diagnose hard bugs and performance regressions with a structured debugging loop.

Updated May 17, 2026
One-click install
npx skills add https://github.com/tanglg/cms --skill diagnose-tanglg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diagnose
Source: https://github.com/tanglg/cms/tree/main/.codex/skills/diagnose
Command: npx skills add https://github.com/tanglg/cms --skill diagnose-tanglg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of diagnosing complex bugs and performance regressions, enabling users to efficiently identify and fix issues.

Core Features & Use Cases

  • Disciplined Diagnosis Loop: Offers a structured approach for diagnosing hard bugs and performance regressions.
  • Reproduce and Minimize: Facilitates the creation of reproducible scenarios to pinpoint the root cause.
  • Hypothesise and Instrument: Encourages the formulation of testable hypotheses and the use of instruments for effective debugging.
  • Fix and Regression Test: Assists in applying fixes and verifying them through regression testing.

Quick Start

Use the diagnose skill to run a disciplined diagnosis loop for the hard bug you're experiencing.

Frequently Asked Questions about diagnose

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose hard bugs and performance regressions using a structured approach?

To diagnose hard bugs and performance regressions, use a disciplined diagnosis loop to reproduce and minimize the scenario, formulate testable hypotheses, instrument the code, and verify fixes through regression testing.

What is the best way to find the root cause of a complex software bug?

The best way to find the root cause of a complex software bug is to create reproducible scenarios that minimize the variables, allowing you to pinpoint the exact trigger and systematically resolve the issue.

How do I verify a bug fix and prevent future performance regressions?

To verify a bug fix and prevent future performance regressions, apply the fix and then run regression testing to confirm the issue is resolved without introducing new problems into the software development environment.

Can I use a disciplined debugging methodology for user-reported issues?

Yes, you can use a disciplined debugging methodology for user-reported issues by applying a structured approach to reproduce the reported scenario and hypothesize the underlying fault within your development tools.

What do I need to reproduce and minimize a software bug scenario?

To reproduce and minimize a software bug scenario, you need access to development tools and a structured debugging methodology to formulate testable hypotheses and instrument the code for effective issue resolution.