Agent Skillslthoangg/OpenAgentd › oad/debug

oad/debug

GitHub

用于调查 OpenAgentd 各层级 bug、回归及运行时问题的调试工作流。涵盖问题分类、路由参考、窄化复现、代码诊断、测试驱动修复及验证报告,确保精准定位并安全修复缺陷。

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

Trigger Scenarios

需要排查软件缺陷或回归问题 用户报告运行时错误或异常行为 需要分析会话日志或重现特定故障场景

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/.openagentd/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 workflow for investigating bugs, regressions, sessions, and runtime issues."
}

Debug the reported issue across any surface of the OpenAgentd stack.

1. Triage the report

Extract: symptom, expected behavior, reproduction steps, affected surface (backend / frontend / desktop / mobile / agent / provider), session id, workspace, model, logs, and timing clues.

If the report is ambiguous, inspect available evidence first; ask only when a missing decision blocks safe progress.


2. Route to the right reference

Read the surface-specific reference for deeper commands, file maps, and gotchas. The skill directory is in the first line of this response — use it to build the path:

  • Backend / API / agent / providerread("<skill_dir>/reference/backend.md")
  • Frontend (web UI)read("<skill_dir>/reference/frontend.md")
  • Desktop or mobile (Tauri / Rust)read("<skill_dir>/reference/tauri.md")

When the issue spans multiple surfaces, read all relevant references.


3. Reproduce narrowly

  • Recreate the smallest scenario that demonstrates the bug.
  • Match the user's mode / workspace / model / message sequence when relevant.
  • Capture durable evidence: raw HTTP response, persisted history, SSE events, logs, failing test output, or UI state snapshot.

4. Diagnose from code and evidence

  • Search for existing patterns before editing.
  • Identify the boundary that failed: route validation, persistence, queueing, stream emission, agent loop, hook, tool, provider, frontend store, renderer, or Rust process.
  • Preserve unrelated work; do not reset or overwrite changes you did not make.

5. Fix surgically

Load oad/test-driven-development and follow the Prove-It pattern:

  1. Write a failing test that reproduces the bug — confirm it fails for the right reason.
  2. Make the smallest change that addresses the proven root cause.
  3. Confirm the test passes; run the full suite for no regressions.

Do not edit the implementation before the reproduction test exists.


6. Verify and report

  • Re-run the reproduction test and focused checks for the touched areas.
  • If feasible, run the repository's standard lint / type / test commands for the changed surface (see oad/testing for commands).
  • Report: root cause, changed files, checks run with results, and any remaining risk or unverified area.
  • Load oad/commit to ship the fix.

Version History

  • b4ec0d3 Current 2026-07-24 16:51

Same Skill Collection

.openagentd/skills/guidelines/SKILL.md
.openagentd/skills/oad/commit/SKILL.md
.openagentd/skills/oad/debug-prod/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

Metadata

Files
0
Version
ac16c4e
Hash
32732567
Indexed
2026-07-24 16:51

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 20:47
浙ICP备14020137号-1 $mapa de visitantes$