MCPInstall
melvynx avatar

code-debug

Debug hard bugs and performance regressions with a tight red-capable loop, falsifiable hypotheses, a focused fix, regression coverage, and real runtime proof.

Installs
51
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/melvynx/ai-maxxing-skills --skill code-debug
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads code-debug automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Build the feedback loop first. Name one fast, deterministic, agent-runnable command that exercises the user's exact symptom, run it, and capture the red result. Tighten and minimise it until every remaining element is load-bearing.

No red-capable loop means no hypotheses. If a loop cannot be built, report what was tried and request the missing access or artifact.

Once red:

  1. Rank 3 to 5 falsifiable hypotheses, each with a prediction.
  2. Test one variable at a time; prefer a debugger, then uniquely tagged targeted logs. Measure performance regressions before changing them.
  3. Compare the viable fixes and choose the smallest one that addresses the evidenced cause. In -a or auto mode, use the recommended reversible option without waiting for confirmation.
  4. Turn the minimal repro into a failing regression test at the real seam when one exists, then implement the fix and watch it pass. Document when the architecture provides no honest seam.
  5. Re-run the original unminimised loop and exercise the real runtime path. Passing tests alone do not prove the bug is fixed.

Before finishing, remove temporary instrumentation and throwaway harnesses, state the confirmed root cause, and pass the result through the verify skill. Finish only when the original symptom is proven gone or report BLOCKED: NOT PROVEN.

FAQ

What does the code-debug skill do?

Debug hard bugs and performance regressions with a tight red-capable loop, falsifiable hypotheses, a focused fix, regression coverage, and real runtime proof.

How do I install code-debug?

Run npx skills add https://github.com/melvynx/ai-maxxing-skills --skill code-debug in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/code-debug/ (personal) or .claude/skills/code-debug/ (project).

Which AI agents can use code-debug?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is code-debug safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains code-debug?

It is published by melvynx in melvynx/ai-maxxing-skills. It has 51 recorded installs.

More from melvynx/ai-maxxing-skills

View all →
melvynx avatar

connect-tool

melvynx/ai-maxxing-skills

Connect any tool (Notion, Stripe, ClickFunnels...) to every agent by installing its official CLI, or writing a one-file Python CLI over its API, then a global skill. Use for "connect-tool notion", "connect X", "make a CLI for X", "use my X API key".

Backend & APIs236 installs
melvynx avatar

grill-me

melvynx/ai-maxxing-skills

Interview the user in batches of 10 questions with recommended answers to sharpen a plan, an idea or an app before building. Use when the user says grill me, wants a rigorous interview, or when create-software, create-internal-app or create-landing needs a confirmed brief.

melvynx avatar

show-me

melvynx/ai-maxxing-skills

Explain the current topic visually with the smallest diagram, sketch, or HTML artifact that makes the point. Use when the user wants to see, diagram, sketch, or visualize structure, flow, or change.

Docs & Writing174 installs
melvynx avatar

wait-what

melvynx/ai-maxxing-skills

Stop. That last message did not land: re-pitch it.

144 installs
melvynx avatar

skill-manager

melvynx/ai-maxxing-skills

Install, update, remove, create, improve or audit skills for Claude Code and Codex, on this computer, in one folder or on their server. Use when the user says "installe ce skill", gives a skill link, "supprime ce skill", "mets à jour mes skills", "fais-en un skill", or a skill misbehaves.

Backend & APIs142 installs
melvynx avatar

use-style

melvynx/ai-maxxing-skills

Apply a named visual style to anything the user will look at - landing pages, apps, dashboards, HTML reports, documents, visuals. Use for /use-style, "list styles", a style name (vercel, stripe, linear, raycast, anthropic, gumroad, new-york-times, dusk, luma, testspirite, grid, black-grid, ios-app), or whenever you create a file with a visual design and the global rules name a default style.

Frontend & Design137 installs

Popular code quality & workflow skills

View category →
mattpocock avatar

grill-me

mattpocock/skills

A relentless interview to sharpen a plan or design.

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

mattpocock avatar

handoff

mattpocock/skills

Compact the current conversation into a handoff document for another agent to pick up.

mattpocock avatar

domain-modeling

mattpocock/skills

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

mattpocock avatar

codebase-design

mattpocock/skills

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

mattpocock avatar

diagnosing-bugs

mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.