mikecfisher/agent-debug-mode · Archived

debug-fixed

User confirms the bug is fixed. Clean up instrumentation and summarize.

First seen Jun 20, 2026

Installation

$ npx skills add mikecfisher/agent-debug-mode --skill debug-fixed

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from mikecfisher/agent-debug-mode.

npx skills add mikecfisher/agent-debug-mode

Browse all from mikecfisher/agent-debug-mode

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License LICENSE
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,298 B
  • docs SUMMARY.md 90 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

Debug Fixed

User confirms the bug is fixed. Clean up and summarize.

User Notes

$ARGUMENTS

Workflow

Step 1: Remove Instrumentation

Remove all __debugLog() calls from instrumented files:

  • All __debugLog(...) calls
  • The logger function declaration at the top of each file
  • Any imports added for the logger (e.g., appendFileSync, mkdirSync, existsSync)

Step 2: Stop Collector

bun ./scripts/stop-collector.mjs

Step 3: Summarize

Provide a brief summary:

Root Cause: [Which hypothesis was confirmed and why]

Fix Applied: [What change fixed the issue]

Files Modified: [List of files that were changed]

Example Summary

Root Cause: Hypothesis A confirmed - items array was undefined when order.items wasn't provided by the caller, causing "Cannot read property 'length' of undefined"

Fix Applied: Added null check with default empty array: const items = order.items ?? []

Files Modified:

- src/api/orders.ts - Added defensive check in processOrder()

Optional Cleanup

The .debug/ directory can be left in place (it's gitignored) or removed:

rm -rf .debug