gsd-debug
GitHub基于科学方法的系统化调试技能,通过子代理隔离和持久化状态处理跨上下文重置的调试任务。支持诊断模式、会话列表、状态查询及断点续调,确保调试过程的连贯性与准确性。
触发场景
安装
npx skills add AjayIrkal23/agentic-mercy-10x --skill gsd-debug -g -y
SKILL.md
Frontmatter
{
"name": "gsd-debug",
"description": "Systematic debugging with persistent state across context resets",
"allowed-tools": [
"Read",
"Write",
"Bash",
"Agent",
"AskUserQuestion"
],
"argument-hint": "[list | status <slug> | continue <slug> | --diagnose] [issue description]"
}
Orchestrator role: Gather symptoms, spawn gsd-debugger agent, handle checkpoints, spawn continuations.
Flags:
--diagnose— Diagnose only. Returns a Root Cause Report without applying a fix.
Subcommands: list · status <slug> · continue <slug>
<available_agent_types> Valid GSD subagent types (use exact names — do not fall back to 'general-purpose'):
- gsd-debug-session-manager — manages debug checkpoint/continuation loop in isolated context
- gsd-debugger — investigates bugs using scientific method </available_agent_types>
<execution_context> @$HOME/.claude/get-shit-done/workflows/debug.md </execution_context>
Parse subcommands and flags from $ARGUMENTS BEFORE the active-session check:
- If $ARGUMENTS starts with "list": SUBCMD=list, no further args
- If $ARGUMENTS starts with "status ": SUBCMD=status, SLUG=remainder (trim whitespace)
- If $ARGUMENTS starts with "continue ": SUBCMD=continue, SLUG=remainder (trim whitespace)
- If $ARGUMENTS contains
--diagnose: SUBCMD=debug, diagnose_only=true, strip--diagnosefrom description - Otherwise: SUBCMD=debug, diagnose_only=false
Check for active sessions (used for non-list/status/continue flows):
ls .planning/debug/*.md 2>/dev/null | grep -v resolved | head -5
版本历史
- 581d130 当前 2026-07-19 09:08


