Gearcoleco Debugging
drhelius/Gearcoleco
Debug and trace ColecoVision and Super Game Module games using the Gearcoleco emulator MCP server.
A skill your agent uses when troubleshooting bugs, analyzing stack traces, using debugging tools (breakpoints, loggers), or applying systematic debugging methodology across any technology stack.
$ npx skills add MadAppGang/claude-code --skill debugging-strategies -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install MadAppGang/claude-code debugging-strategies --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/dev/skills/core/debugging-strategies .claude/skills/debugging-strategies && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "debugging-strategies" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/dev/skills/core/debugging-strategies into .claude/skills/debugging-strategies/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debugging-strategies", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/MadAppGang/claude-code/tree/main/plugins/dev/skills/core/debugging-strategiesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add MadAppGang/claude-code --skill debugging-strategies -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install MadAppGang/claude-code debugging-strategies --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/dev/skills/core/debugging-strategies .agents/skills/debugging-strategies && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "debugging-strategies" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/dev/skills/core/debugging-strategies into .agents/skills/debugging-strategies/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debugging-strategies", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MadAppGang/claude-code --skill debugging-strategies -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install MadAppGang/claude-code debugging-strategies --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/dev/skills/core/debugging-strategies .cursor/skills/debugging-strategies && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "debugging-strategies" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/dev/skills/core/debugging-strategies into .cursor/skills/debugging-strategies/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debugging-strategies", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/MadAppGang/claude-code.git --path plugins/dev/skills/core/debugging-strategies--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add MadAppGang/claude-code --skill debugging-strategies -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install MadAppGang/claude-code debugging-strategies --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/dev/skills/core/debugging-strategies .gemini/skills/debugging-strategies && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "debugging-strategies" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/dev/skills/core/debugging-strategies into .gemini/skills/debugging-strategies/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debugging-strategies", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install MadAppGang/claude-code debugging-strategiesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add MadAppGang/claude-code --skill debugging-strategies -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/dev/skills/core/debugging-strategies .github/skills/debugging-strategies && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "debugging-strategies" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/dev/skills/core/debugging-strategies into .github/skills/debugging-strategies/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debugging-strategies", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MadAppGang/claude-code --skill debugging-strategies -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install MadAppGang/claude-code debugging-strategies --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/dev/skills/core/debugging-strategies .opencode/skills/debugging-strategies && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "debugging-strategies" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/dev/skills/core/debugging-strategies into .opencode/skills/debugging-strategies/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debugging-strategies", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
debugging-strategiesA skill your agent uses when troubleshooting bugs, analyzing stack traces, using debugging tools (breakpoints, loggers), or applying systematic debugging methodology across any technology stack.
Debugging Strategies is an agent skill from MadAppGang/claude-code. Use when troubleshooting bugs, analyzing stack traces, using debugging tools (breakpoints, loggers), or applying systematic debugging methodology across any technology stack.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Debugging and Responsive design. The repository describes itself as: claude code plugins marketplace. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6097ad4. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitnodeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Debugging Strategies loads about 2.3k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 487 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from MadAppGang/claude-code at commit 6097ad4, republished under its MIT licence (© MadAppGang). 487 words, ~2,295 tokens.
.claude/skills/debugging-strategies/SKILL.md (or your agent's skills folder).Language-agnostic debugging techniques and strategies applicable across all technology stacks.
1. Reproduce the bug reliably
2. Isolate the failing code path
3. Trace backwards from the error
4. Identify the root cause
5. Verify the fix
6. Add tests to prevent regressionRead stack traces bottom to top:
Error: Cannot read property 'name' of undefined
at formatUser (src/utils/format.ts:42) ← Error thrown here
at processUsers (src/services/user.ts:28) ← Called from here
at UserList.render (src/components/UserList.tsx:15)
at App.render (src/App.tsx:8) ← Entry pointFocus on YOUR code - skip framework/library internals initially.
| Category | Examples | Common Causes |
|---|---|---|
| Null/Undefined | Cannot read property 'x' of undefined | Missing data, async timing |
| Type Errors | x is not a function | Wrong type, typo |
| Logic Errors | Wrong output, no error | Incorrect conditions |
| Runtime Errors | Out of bounds, division by zero | Invalid input |
| Async Errors | Unhandled promise rejection | Missing error handler |
| Network Errors | Timeout, connection refused | API down, wrong URL |
When the bug is somewhere in a large codebase:
1. Find a known good state (commit, version)
2. Find current bad state
3. Test the midpoint
4. Narrow to half with bug
5. Repeat until foundGit bisect:
git bisect start
git bisect bad # Current commit is broken
git bisect good v1.0.0 # v1.0.0 was working
# Git checks out midpoint, test it
git bisect good/bad # Mark and continueSplit the code into sections and determine which section contains the bug:
┌─────────────────────────────────────┐
│ Code Section A │ ← Test: Bug here?
├─────────────────────────────────────┤
│ Code Section B │ ← Test: Bug here?
├─────────────────────────────────────┤
│ Code Section C │ ← Test: Bug here?
└─────────────────────────────────────┘Add logging/breakpoints at section boundaries, narrow down.
Explain the code line by line (to a rubber duck, colleague, or yourself):
When experimenting:
Start at the error, trace backwards:
1. Error occurs at line 42: user.name is undefined
2. Where does `user` come from? Line 38: const user = getUser(id)
3. What does getUser return? Check function...
4. getUser queries database, returns undefined if not found
5. Root cause: No null check after getUserStart at input, trace forward:
1. User enters email: "test@example"
2. Form submits to /api/register
3. API validates email... passes (bug: missing TLD check)
4. Saves to database with invalid email
5. Later processes fail on invalid emailfunction processOrder(order) {
console.log('processOrder START', { orderId: order.id });
try {
const validated = validateOrder(order);
console.log('Validation passed', { orderId: order.id });
const result = saveOrder(validated);
console.log('processOrder SUCCESS', { orderId: order.id, result });
return result;
} catch (error) {
console.error('processOrder FAILED', {
orderId: order.id,
error: error.message,
stack: error.stack
});
throw error;
}
}| Level | Use For | Example |
|---|---|---|
| ERROR | Failures requiring attention | Failed to save order: DB connection lost |
| WARN | Potential issues | Retry 2/3 for API call |
| INFO | Significant events | User logged in: user123 |
| DEBUG | Detailed diagnostics | Validating email: test@example.com |
| TRACE | Very verbose | Entering function processOrder |
// BAD: Unstructured
console.log('User ' + userId + ' ordered ' + items.length + ' items');
// GOOD: Structured
logger.info('Order placed', {
userId,
itemCount: items.length,
total: order.total,
timestamp: new Date().toISOString()
});| Type | Use Case |
|---|---|
| Line | Stop at specific line |
| Conditional | Stop only when condition is true |
| Logpoint | Log without stopping |
| Exception | Stop on thrown exception |
| DOM | Stop on DOM modification (browser) |
// BUG: Index out of bounds
for (let i = 0; i <= array.length; i++) {
console.log(array[i]); // Fails on last iteration
}
// FIX
for (let i = 0; i < array.length; i++) {
console.log(array[i]);
}// BUG: Race condition
async function getData() {
fetchData().then(data => { this.data = data; });
processData(this.data); // May run before fetch completes!
}
// FIX: Await the result
async function getData() {
this.data = await fetchData();
processData(this.data);
}// BUG: Accessing property of undefined
const name = user.profile.name;
// FIX: Optional chaining or guard
const name = user?.profile?.name;
// or
if (user && user.profile) {
const name = user.profile.name;
}// BUG: Mutating input
function addTax(price) {
price.total = price.amount * 1.2; // Mutates input!
return price;
}
// FIX: Return new object
function addTax(price) {
return {
...price,
total: price.amount * 1.2
};
}// BUG: All callbacks share same i
for (var i = 0; i < 3; i++) {
setTimeout(() => console.log(i), 100); // Logs: 3, 3, 3
}
// FIX: Use let (block scope) or capture value
for (let i = 0; i < 3; i++) {
setTimeout(() => console.log(i), 100); // Logs: 0, 1, 2
}# Start with inspector
node --inspect app.js
# Break on first line
node --inspect-brk app.jsWhen stuck, verify:
function processUser(user) {
// Guard clauses
if (!user) throw new Error('User is required');
if (!user.email) throw new Error('User email is required');
// Type assertions (TypeScript)
const email = user.email as string;
// Proceed with validated data
return formatUser(user);
}// Development-time checks
function divide(a, b) {
console.assert(b !== 0, 'Division by zero');
return a / b;
}try {
riskyOperation();
} catch (error) {
// Log with context
logger.error('Operation failed', {
error: error.message,
stack: error.stack,
context: { userId, operation: 'riskyOperation' }
});
// Recover or rethrow
throw new OperationError('Failed to complete operation', { cause: error });
}Debugging strategies applicable to all technology stacks
© MadAppGang, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/dev/skills/core/debugging-strategies of MadAppGang/claude-code.
Open the folder on GitHubat commit 6097ad4
Debugging Strategies next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Debugging Strategies this skillMadAppGang/claude-code | 285 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Gearcoleco Debuggingdrhelius/Gearcoleco | 142 | — | ~3.5k | Automated safety check: Pass | GPL-3.0 | |
| MCP Debuggerdebugmcp/mcp-debugger | 172 | — | ~3.8k | Automated safety check: Pass | MIT | |
| Dbgtheodo-group/debug-that | 158 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Ue Live DebuggingJasonMa0012/MooaToon | 750 | — | ~2.9k | Automated safety check: Notes | Custom licence | |
| Commodore64 Vice Debuggingidolpx/meatloaf | 128 | — | ~4.8k | Automated safety check: Pass | GPL-3.0 |
drhelius/Gearcoleco
Debug and trace ColecoVision and Super Game Module games using the Gearcoleco emulator MCP server.
debugmcp/mcp-debugger
A skill your agent uses when investigating a bug, failing test, or unexpected runtime behavior and the mcp-debugger MCP server is available — drives real step-through debuggers (breakpoints, stack…
theodo-group/debug-that
Debug applications using the dbg CLI debugger. An agent skill from theodo-group/debug-that.
JasonMa0012/MooaToon
A skill your agent uses when debugging UE C++ crashes, runtime bugs, or unexpected behavior with Rider MCP available.
idolpx/meatloaf
Debug Commodore 64 programs running under the VICE emulator through its binary monitor: BASIC, cc65-compiled C, and 6502 assembly.
tile-ai/tilelang-ascend
How to add debugging capabilities to TileLang Ascend example operators.
MadAppGang/claude-code
Content brief template and creation methodology for SEO-optimized content.
MadAppGang/claude-code
A skill your agent uses when detecting project technology stack from files/configs/directory structure, auto-loading framework-specific skills, or analyzing multi-stack fullstack projects (e.g…
MadAppGang/claude-code
On-page SEO optimization techniques including keyword density, meta tags, heading structure, and readability.
MadAppGang/claude-code
Techniques for expanding seed keywords and clustering by topic and intent.
MadAppGang/claude-code
SERP analysis techniques for intent classification, feature identification, and competitive intelligence.
MadAppGang/claude-code
A skill your agent uses when deciding whether to launch an agent, selecting which agent to use, or coordinating multiple agents.
Categories
A skill your agent uses when troubleshooting bugs, analyzing stack traces, using debugging tools (breakpoints, loggers), or applying systematic debugging methodology across any technology stack. Debugging Strategies is an agent skill from MadAppGang/claude-code. Use when troubleshooting bugs, analyzing stack traces, using debugging tools (breakpoints, loggers), or applying systematic debugging methodology across any technology stack.
Debugging Strategies fits situations like: troubleshooting bugs; analyzing stack traces; using debugging tools (breakpoints; applying systematic debugging methodology across any technology stack.
Run `npx skills add MadAppGang/claude-code --skill debugging-strategies -a claude-code`. Or copy the skill folder (plugins/dev/skills/core/debugging-strategies in MadAppGang/claude-code) into .claude/skills/debugging-strategies in your project. Claude Code loads it when a task matches its description.
Run `npx skills add MadAppGang/claude-code --skill debugging-strategies -a codex`. Or copy the skill folder (plugins/dev/skills/core/debugging-strategies in MadAppGang/claude-code) into .agents/skills/debugging-strategies in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MadAppGang/claude-code --skill debugging-strategies -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/debugging-strategies, .gemini/skills/debugging-strategies, .github/skills/debugging-strategies and .opencode/skills/debugging-strategies in your project.
Going by SKILL.md and its folder, Debugging Strategies needs the command-line tools its instructions call (git and node). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Debugging Strategies is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Debugging Strategies: Gearcoleco Debugging (drhelius/Gearcoleco, 142 stars), MCP Debugger (debugmcp/mcp-debugger, 172 stars), Dbg (theodo-group/debug-that, 158 stars) and Ue Live Debugging (JasonMa0012/MooaToon, 750 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
MadAppGang (a GitHub organization) maintains it in MadAppGang/claude-code, which has 285 GitHub stars. The repository holds 69 skills in this directory. The repository was last updated on March 15, 2026.
Source: MadAppGang/claude-code on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.