debug

Diagnose Qaio failures by reading backend and frontend log files first.

2|Updated May 8, 2026
One-click install
npx skills add https://github.com/akiotanaka847/qaio-desktop --skill debug-akiotanaka847
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debug
Source: https://github.com/akiotanaka847/qaio-desktop/tree/main/skills/debug
Command: npx skills add https://github.com/akiotanaka847/qaio-desktop --skill debug-akiotanaka847

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents slow, trial-and-error debugging by forcing a log-first workflow that turns uncertain bug reports into concrete diagnoses.

Core Features & Use Cases

  • Log-first triage: Reads backend and frontend logs to identify the actual error before proposing any fix.
  • Targeted tracing/logging: Adds precise Rust tracing or frontend logger statements when existing logs lack required detail.
  • Actionable guidance: Provides exact expected log locations and a disciplined process for reproducing, re-reading logs, and removing temporary debug traces after resolution.

Quick Start

Tell the AI to debug your Qaio issue by reading ~/.qaio/logs/backend.log and ~/.qaio/logs/frontend.log first, then propose the smallest targeted tracing or logger additions needed to identify the failing code path.

Frequently Asked Questions about debug

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

FAQPage Schema
How do I debug Rust backend and React Tauri frontend failures without guessing?

Debugging Rust backend and React Tauri frontend failures requires a log-first investigation approach that reads rolling backend and frontend log files to identify the actual error before proposing any fix. This prevents slow trial-and-error debugging by turning uncertain bug reports into concrete root-cause diagnoses.

What's the best way to diagnose session and agent issues in a Rust backend?

Diagnosing Rust backend session and agent issues starts by reading the backend log files first to find the specific logged error. When existing logs lack detail, add targeted tracing::debug! instrumentation to the failing code path, reproduce the issue, and re-read the logs to pinpoint the exact failure.

When should I add tracing or logger statements during error diagnosis?

Add tracing or logger statements during error diagnosis only when existing logs are insufficient to identify the failing code path. Insert precise Rust tracing::debug! or frontend logger calls as targeted additions, then remove these temporary debug traces after resolving the root cause to maintain clean logging output.

Can I use this log-first debugging workflow for both frontend and backend reproduction scenarios?

This log-first debugging workflow applies to both frontend React/Tauri failures and backend Rust session/agent issues across common reproduction workflows. It reads frontend and backend log files first, diagnoses from the specific logged error, and adds targeted instrumentation only when logs lack the required detail.

Why does my trial-and-error debugging take so long to find the root cause?

Trial-and-error debugging takes long because it skips reading logs and relies on speculation instead of concrete error data. A log-first workflow prevents this by reading rolling backend and frontend log files to identify the actual error first, accelerating root-cause identification and eliminating uncertain guesses.

What limitations exist when fixing bugs with logs instead of direct inspection?

Fixing bugs with logs requires readable rolling log files to exist for both backend and frontend, and existing logs may lack the detail needed to identify the failing code path. When logs are insufficient, you must add targeted tracing or logger instrumentation and reproduce the issue to capture the missing diagnostic data.