mirror of
https://github.com/botpress/skills.git
synced 2026-09-19 05:20:42 +08:00
1.3 KiB
1.3 KiB
name, description, argument-hint
| name | description | argument-hint |
|---|---|---|
| adk-debug | Debug ADK bot issues | [error or problem description] |
Load the adk-debugger and adk skills, then start debugging immediately.
If $ARGUMENTS is vague ("broken", "not working", "slow", "weird", or empty), don't ask "what's wrong?" — investigate first. Run adk check --format json and adk logs error --format json, then present what you found.
If $ARGUMENTS mentions a specific component ("the search tool", "my workflow"), go directly to traces filtered by that component.
If $ARGUMENTS contains a pasted error or stack trace, read the file at the referenced line number immediately.
Debug Workflow
- Run
adk check --format jsonto rule out offline issues first. - Reproduce with
adk chat --single "<relevant message>" --format json. - Read traces and logs:
adk logs error --format json,adk traces --format json. - Identify root cause using the debug workflow from the skill.
- Suggest a targeted fix.
- Verify the fix with another
adk chatoradk check. - Write a regression eval for the bug — load the
adk-evalsskill, generate the eval file using the reproduction message as the user turn and the verified behavior as assertions, save it toevals/, and runadk evals <name>to confirm it passes.