.kilocode/skills/skill_debug/SKILL.md
--- name: skill_debug description: Autonomous Debugging Instructions for Visual Studio Code: for [plugin]. --- ## Purpose This document defines a **self-directed debugging workflow** for a Large Language Model (LLM) operating inside or alongside **Visual Studio Code: (VS Code:)**. The goal is for the LLM to: 1. Inspect a codebase without human intervention 2. Identify likely failure points 3. Insert breakpoints programmatically 4. Generate a valid VS Code: `launch.json` debugging configuratio
npx skillsauth add noizefield/audio-plugin-coder .kilocode/skills/skill_debugInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This document defines a self-directed debugging workflow for a Large Language Model (LLM) operating inside or alongside Visual Studio Code: (VS Code:). The goal is for the LLM to:
launch.json debugging configurationThis workflow assumes the LLM has:
The LLM must operate as a deterministic debugger, not a conversational assistant.
Core principles:
main.py, index.js, app.ts, Program.cs).vscode configurationOutput a workspace map internally before proceeding.
For each execution path:
Mark all high-risk lines.
Automatically insert breakpoints at:
Create or update:
.vscode/launch.json
stopOnEntry is enabled{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "LLM Autonomous Debug",
"program": "${workspaceFolder}/index.js",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"stopOnEntry": true,
"outputCapture": "std",
"env": {
"NODE_ENV": "development"
}
}
]
}
Adapt as required for other languages.
Debug: Start DebuggingIf debugger fails to attach, halt and report configuration errors.
While execution is paused or running:
Capture:
On error or crash, collect:
The LLM must:
These must be tagged as low-signal, not removed.
Transmit a structured payload containing:
launch.json{
"environment": {},
"breakpoints": [],
"errors": [],
"rawLogs": "",
"analysisHints": []
}
If the root cause is not definitive:
Never apply fixes without isolating the cause.
Stop only when:
At that point, transition from debugging mode to remediation mode.
This document defines behavior, not intent.
The LLM must act as a debugger first, a theorist second, and a code generator last.
development
# SKILL: TROUBLESHOOTING & ISSUE RESOLUTION ## STEP 1: CHECK KNOWN ISSUES FIRST **Before trying random solutions:** ```powershell # Search known issues database $errorPattern = "duplicate target juce" $knownIssues = Get-Content ...kilocode\troubleshooting\known-issues.yaml | ConvertFrom-Yaml $matches = $knownIssues.issues | Where-Object { $_.error_patterns -match $errorPattern } if ($matches) { Write-Host "✓ Known issue found: $($matches.title)" Write-Host "Resolution: $($matches
tools
# SKILL: TESTING **Goal:** Stability Check. ## TASKS 1. **Pluginval:** Run validation script. 2. **Crash Analysis:** If crash reported, read Documents/APC_CRASH_REPORT.txt. 3. **Manual Check:** Ask user to load in DAW and move knobs.
tools
# SKILL: ARCHITECTURE & PLANNING **Goal:** Define DSP architecture, complexity assessment, and implementation strategy **Trigger:** `/plan [Name]` **Input:** Reads `plugins/[Name]/.ideas/creative-brief.md` and `parameter-spec.md` **Output Location:** `plugins/[Name]/.ideas/` --- ## 🎯 PHASE 2: PLAN (Architecture & Strategy) **Prerequisites:** - `plugins/[Name]/.ideas/creative-brief.md` exists - `plugins/[Name]/.ideas/parameter-spec.md` exists - Phase 1 (DREAM) complete **Output Files:** - `p
tools
# SKILL: PACKAGING (Cross-Platform) **Goal:** Create professional, cross-platform plugin installers for Windows, macOS, and Linux **Trigger:** `/ship [Name]` or "Ship [Name]" **Prerequisites:** Phase 4 (CODE) complete, audio engine working, all tests passed **Output Location:** `dist/[Name]_v[version]/` --- ## Overview This skill handles the complete packaging and distribution process for APC plugins. It supports: - **Local builds** (current platform only) - **GitHub Actions builds** (cross