Agent Skills › lthoangg/OpenAgentd › oad/debug

oad/debug

GitHub

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

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

触发场景

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

安装

npx skills add lthoangg/OpenAgentd --skill oad/debug -g -y
更多选项

非标准路径

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

不安装直接使用

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.

版本历史

  • 7571dbc 当前 2026-10-19 04:10

同 Skill 集合

.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

元信息

文件数
0
版本
33e03a8
Hash
917367fd
收录时间
2026-10-19 04:10

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 13:54
浙ICP备14020137号-1