Agent Skills › lthoangg/OpenAgentd › oad/debug

oad/debug

GitHub

OpenAgentd 调试工作流,涵盖 Rust 后端、Web UI 及 Tauri 壳的故障排查。通过提取症状、定位边界、窄化复现、分析日志与遥测数据,先写测试再修复代码,最终报告根因并交付。

.agents/skills/oad/debug/SKILL.md lthoangg/OpenAgentd

Trigger Scenarios

系统出现 Bug 或回归问题 会话异常或工具执行失败 性能缓慢或运行时错误 需要分析生产或开发环境日志

Install

npx skills add lthoangg/OpenAgentd --skill oad/debug -g -y
More Options

Non-standard path

npx skills add https://github.com/lthoangg/OpenAgentd/tree/main/.agents/skills/oad/debug -g -y

Use without installing

npx skills use lthoangg/OpenAgentd@oad/debug

指定 Agent (Claude Code)

npx skills add lthoangg/OpenAgentd --skill oad/debug -a claude-code -g -y

安装 repo 全部 skill

npx skills add lthoangg/OpenAgentd --all -g -y

预览 repo 内 skill

npx skills add lthoangg/OpenAgentd --list

SKILL.md

Frontmatter
{
    "name": "oad\/debug",
    "description": "OpenAgentd debugging workflow — triage, reproduce, and fix bugs across the Rust backend, web UI, and Tauri shells, and analyze logs and OTEL telemetry from dev or production installs. Use for bugs, regressions, session problems, slow or failing tools, and runtime issues."
}

Find the boundary that failed, prove it with a test, fix it there.

1. Triage

Extract the symptom, expected behavior, reproduction steps, affected surface (backend, web, desktop, mobile, provider, tool), session id, workspace, model, and timing. Inspect available evidence before asking; ask only when a missing decision blocks progress.

2. Route to a reference

The skill directory is given when this skill loads; read what applies:

Surface Reference
API, persistence, SSE, agent loop, tools, providers (appv3/) references/backend.md
Web UI (web/) references/frontend.md
Desktop or mobile shell, sidecar, IPC, CSP references/tauri.md
Logs, OTEL spans, tool usage, production installs references/production.md

3. Reproduce narrowly

  • Recreate the smallest scenario, matching the user's mode, workspace, model, and message order.
  • Capture durable evidence: HTTP response, persisted rows, SSE frames, log records, a failing test, or a UI snapshot.
  • Dev state lives in .openagentd/dev/ (data/openagentd.db, state/logs, state/otel); a production install uses ~/.local/share/openagentd and ~/.local/state/openagentd.

4. Diagnose

  • Name the failing boundary: route validation, persistence, queueing, stream emission, agent loop, hook, tool, provider, web store, renderer, or native process.
  • Check how the data looks on the wire and on disk, not only in memory (for example, multipart form fields arrive with CRLF line breaks).
  • Search for the existing pattern before inventing a new one. Preserve unrelated work.

5. Fix with a test first

Load oad/testing and follow Prove-It: a failing reproduction test, the smallest root-cause fix, then the surface's full gate. Do not edit the implementation before the reproduction test exists.

6. Report

Root cause, changed files, checks run with results, and anything left unverified. Load oad/commit to ship it.

Version History

  • 7571dbc Current 2026-10-19 04:10

Same Skill Collection

.agents/skills/guidelines/SKILL.md
.agents/skills/oad/commit/SKILL.md
.agents/skills/oad/release/SKILL.md
.agents/skills/oad/review/SKILL.md
.agents/skills/oad/testing/SKILL.md
.openagentd/skills/guidelines/SKILL.md
.openagentd/skills/oad/commit/SKILL.md
.openagentd/skills/oad/debug-prod/SKILL.md
.openagentd/skills/oad/debug/SKILL.md
.openagentd/skills/oad/diagram/SKILL.md
.openagentd/skills/oad/docs/SKILL.md
.openagentd/skills/oad/plan/SKILL.md
.openagentd/skills/oad/release/SKILL.md
.openagentd/skills/oad/review/SKILL.md
.openagentd/skills/oad/search-doc/SKILL.md
.openagentd/skills/oad/test-driven-development/SKILL.md
.openagentd/skills/oad/testing/SKILL.md
app/agent/builtin_skills/self-healing/SKILL.md
app/agent/builtin_skills/skill-installer/SKILL.md
appv3/contract/builtin_skills/self-healing/SKILL.md

Metadata

Files
0
Version
7571dbc
Hash
917367fd
Indexed
2026-10-19 04:10

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-31 01:39
浙ICP备14020137号-1