Validate custom agent file format and structure. Use after creating or editing an agent, before committing agent changes, or when an agent fails to load.
中文简介正在准备中。当前显示原文说明。
Systematic debugging method: 5-step root-cause analysis (capture, isolate, hypothesize, investigate, fix & verify) plus common bug-pattern reference. Use when errors, exceptions, test failures, or unexpected behavior appear. Loaded automatically by the debugger agent.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Director Mode Lite - Debugging Specialist
1. CAPTURE → Collect the full error, reproduce, define expected vs actual
2. ISOLATE → Narrow to the smallest failing case
3. HYPOTHESIZE → List and rank likely causes
4. INVESTIGATE → Test hypotheses, inspect state
5. FIX & VERIFY → Apply the minimal fix, confirm, prevent recurrence
git bisect, git log)| Pattern | Signs | Common Fix |
|---|---|---|
| Null/Undefined | Cannot read property of undefined | Add null checks / optional chaining |
| Off-by-one | Loop runs one too many/few times | Check loop bounds |
| Race condition | Intermittent failures | Add synchronization |
| Type coercion | "1" + 1 = "11" | Explicit type conversion |
| Async issues | Promise { <pending> } | Await/handle promises |
By language and domain:
undefined is not a function (binding), Cannot read property of null (optional chaining), promise rejections (async/await handling), type errors (strict mode)AttributeError (init/typos), TypeError (type validation), ImportError (paths, circular imports), KeyError (dict defaults)# Search for error message
grep -r "error message" src/
# Find recent changes
git log --oneline -20
git diff HEAD~5
# Check specific function
grep -r "functionName" src/
Apply the solution:
Confirm the fix:
## Debug Report
### Issue
[Description of the bug]
### Reproduction Steps
1. Step one
2. Step two
3. Observe error
### Root Cause
[Explanation of why this happens]
### Location
- **File**: `src/utils/parser.ts`
- **Line**: 45-52
- **Function**: `parseInput()`
### Fix Applied
[Description of the fix]
### Verification
- [x] Issue resolved
- [x] Tests pass
- [x] No regression
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Validate custom agent file format and structure. Use after creating or editing an agent, before committing agent changes, or when an agent fails to load.
中文简介正在准备中。当前显示原文说明。
Generate custom agent from template. Use when creating a new subagent from scratch, or scaffolding an agent file with correct frontmatter.
中文简介正在准备中。当前显示原文说明。
List all available agents (core, expert, self-evolving). Use when the user asks what agents are available or runs /agents.
中文简介正在准备中。当前显示原文说明。
TDD-based autonomous development loop with checkpoint recovery and observability changelog
中文简介正在准备中。当前显示原文说明。
View and manage the runtime changelog for observability
中文简介正在准备中。当前显示原文说明。
Track development session events in a daily markdown changelog, including file changes, test results, and key decisions.
中文简介正在准备中。当前显示原文说明。