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 agent to diagnose and fix this issue.

Issue: $ARGUMENTS

Run this command:

code
Task(subagent_type="debugger", prompt="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