AgentSkillsCN

debug-issue

诊断并修复游戏中出现的 Bug 或运行时问题。通过分析错误信息、追踪代码执行路径、查阅 Godot 文档,并结合实际修复方案,迅速定位问题根源并加以解决。当游戏运行结果与预期不符时,此功能将成为您的得力助手。

SKILL.md
--- frontmatter
name: debug-issue
description: Diagnose and fix a bug or runtime issue in the game. Analyzes error messages, traces code paths, checks Godot docs, and applies fixes. Use when something doesn't work as expected.
argument-hint: <error-message or behavior-description>

Debug Issue

Invoke the debugger subagent to diagnose and fix this issue.

Issue: $ARGUMENTS

Call the debugger tool:

code
debugger(objective="Debug this issue: $ARGUMENTS. Follow the full 7-step debug process: understand the problem, gather context, diagnose root cause, look up Godot docs (MANDATORY), apply minimal fix, verify, and report.")

After the agent returns its report, summarize for the user:

  • Root cause identified
  • Fix applied (files and lines modified)
  • Any related risks or prevention notes