Debug

Analyze error traces and execute code to locate and fix root causes.

1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/samdae/archflow --skill debug-samdae
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Debug
Source: https://github.com/samdae/archflow/tree/main/skills/debug
Command: npx skills add https://github.com/samdae/archflow --skill debug-samdae

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables systematic debugging workflows by integrating error analysis, direct code execution, and reference documentation to locate and fix root causes efficiently.

Core Features & Use Cases

  • Error-driven debugging: Trace issues from logs to code and architecture diagrams.
  • Deterministic fixes: Execute targeted code paths to reproduce and verify bugs.
  • Documentation-driven validation: Cross-reference with spec/arch/trace docs to ensure design-consistency after fixes.
  • Use Case: When confronted with a failure in the BE-frontend interaction, use this Skill to locate the mismatch and implement a minimal, documented fix.

Quick Start

Provide an error stack trace and any relevant docs; the Skill will analyze, propose a fix plan, and guide the debugging session.

Frequently Asked Questions about Debug

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

FAQPage Schema
How do I fix bugs using error stack traces and architecture diagrams?

To fix bugs effectively, you trace issues from error stack traces to code and architecture diagrams, applying direct code execution to reproduce and verify the root cause for deterministic, design-consistent fixes.

What is the best way to debug frontend and backend interaction failures?

Debugging frontend and backend interaction failures requires locating the mismatch using trace logs and architecture diagrams. You can then execute targeted code paths to implement a minimal, documented fix.

Can I reproduce and verify bug fixes with direct code execution?

Yes, executing targeted code paths allows you to deterministically reproduce and verify bug fixes. This approach combines error analysis with code execution to validate the root cause resolution.

How do I ensure design-consistency and traceability after a bug fix?

Ensure design-consistency and traceability after a bug fix by cross-referencing the applied changes with spec, arch, and trace docs. This validates the fix against the original architecture.

What do I need to provide to start an end-to-end debugging session?

To start an end-to-end debugging session, you need to provide an error stack trace and any relevant reference documentation. The system will analyze these inputs, propose a fix plan, and guide the process.