debug-code

Automate code debugging with a 6-step loop and multi-round iteration.

3|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/Linearl/linearleaf_skill_repo --skill debug-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debug-code
Source: https://github.com/Linearl/linearleaf_skill_repo/tree/main/debug_code
Command: npx skills add https://github.com/Linearl/linearleaf_skill_repo --skill debug-code

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured, automated approach to debugging code, helping Copilot and VS Code users diagnose and fix issues efficiently through a repeatable workflow.

Core Features & Use Cases

  • Systematic Debugging: Follows a 6-step loop (Plan, Analyze, Design, Execute, Verify, Document) to resolve problems.
  • Multi-round Iterations: Supports progressive debugging for complex, multi-module projects.
  • Human Confirmation: Pauses at key points for user validation and decision making.
  • Bug & Knowledge Capture: Records debugging steps to build a reusable knowledge base.
  • Use Case: When a project exhibits an error, performance issue, or misconfiguration, trigger this skill to guide end-to-end debugging.

Quick Start

Use the debug-code skill in Copilot Chat by describing the issue, e.g., "My program crashes with TypeError, help me debug." Then ensure Agent Skills is enabled in VS Code.

Frequently Asked Questions about debug-code

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

FAQPage Schema
How do I systematically debug code errors in VS Code?

You can systematically debug code in VS Code by triggering an automated 6-step loop that plans, analyzes, designs, executes, verifies, and documents the fix for your runtime errors.

Can I use Copilot to debug multi-module projects with complex runtime errors?

Yes, Copilot can debug multi-module projects with complex runtime errors by supporting multi-round iterations that progressively resolve issues while pausing for your confirmation at key points.

What is the best way to capture and reuse debugging steps for recurring misconfigurations?

The best way to capture debugging steps for recurring misconfigurations is to use an automated workflow that records each iteration, building a reusable knowledge base for future problem resolution.

Does this debugging workflow work for performance problems and single-file bugs?

Yes, this debugging workflow works for single-file bugs, multi-module projects, runtime errors, performance problems, and misconfigurations by enforcing a repeatable 6-step diagnostic loop.

How do I start debugging a TypeError crash using Copilot Chat?

To start debugging a TypeError crash using Copilot Chat, enable Agent Skills in VS Code, then describe the issue directly in the chat to trigger the automated debugging workflow.