Agent Skills › lthoangg/OpenAgentd › oad/debug

oad/debug

GitHub

OpenAgentd调试工作流,涵盖故障排查、复现与修复。支持Rust后端、Web UI及Tauri多端应用,结合日志和OTEL遥测数据分析生产或开发环境中的Bug、回归及性能问题,强调先测试后修复。

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

Trigger Scenarios

需要定位并修复跨平台应用的Bug或回归问题 分析日志和OTEL遥测数据以诊断运行时异常

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
33e03a8
Hash
917367fd
Indexed
2026-10-19 04:10

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-05 11:13
浙ICP备14020137号-1