godot-mcp: Skill for Claude Code

.claude/skills/godot-skills/sub-skills/godot-test-debugger/SKILL.md

godot-test-debugger is a skill for Claude Code from hhhh124hhhh/godot-mcp. It costs 42 tokens per session (6,199 once invoked), scanned A, original, MIT.

A Godot game-development testing and debugging assistant. Godot is a tool for building games.

In plain words
What is it for?
Use it for unit, integration, performance, and regression tests, error diagnosis, debugging interfaces, logs, performance monitoring, and test reports.
Why use it?
It helps investigate bugs and check game behavior without manually designing every test or diagnostic tool.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is hhhh124hhhh/godot-mcp's own configuration. It tells Claude Code how to work on godot-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything godot-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hhhh124hhhh/godot-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hhhh124hhhh/godot-mcp/main/.claude/skills/godot-skills/sub-skills/godot-test-debugger/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hhhh124hhhh/godot-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for godot-test-debugger

README.md
[![agentmods](https://agentmods.dev/badge/skills/hhhh124hhhh/godot-mcp/godot-test-debugger/github.svg)](https://agentmods.dev/skills/hhhh124hhhh/godot-mcp/godot-test-debugger)
Your own site
<a href="https://agentmods.dev/skills/hhhh124hhhh/godot-mcp/godot-test-debugger"><img src="https://agentmods.dev/badge/skills/hhhh124hhhh/godot-mcp/godot-test-debugger/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for godot-test-debugger

Your own site · 80×15
<a href="https://agentmods.dev/skills/hhhh124hhhh/godot-mcp/godot-test-debugger"><img src="https://agentmods.dev/badge/skills/hhhh124hhhh/godot-mcp/godot-test-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,199 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.06199
Opus 5 $0.00021 $0.03099
Sonnet 5 $0.00008 $0.01240
Haiku 4.5 $0.00004 $0.00620

Measured 9d ago against content hash 0526f7fb15df, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

godot-test-debugger scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/godot-skills/sub-skills/godot-test-debugger/SKILL.md · 807 lines

How it starts

The opening of the file, as written. The whole thing — 807 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Godot 测试调试专家技能

技能概述

godot-test-debugger 是专门用于 Godot 游戏测试和调试的智能化技能,能够根据用户的自然语言描述自动完成单元测试、集成测试、性能测试、错误诊断、调试工具创建、问题定位等全面的测试调试工作。

核心功能

🧪 自动化测试系统

  • 单元测试:自动生成和运行单元测试
  • 集成测试:复杂场景的集成测试
  • 性能测试:帧率、内存、加载性能测试
  • 回归测试:版本更新后的回归检测

🔍 智能错误诊断

  • 异常捕获:全面的游戏异常捕获和分类
  • 错误分析:深度分析错误原因和影响范围
  • 修复建议:提供具体的修复方案和代码建议
  • 预防措施:预防同类错误的再次发生

🛠️ 调试工具生成

  • 调试界面:创建功能完整的调试UI界面
  • 日志系统:智能日志记录和分类系统
  • 性能监控:实时性能监控和可视化
  • 状态检查器:游戏状态实时检查工具

📊 测试报告生成

  • 测试覆盖度:代码覆盖度和功能覆盖度分析
  • 缺陷统计:缺陷分类、优先级和趋势分析
  • 性能报告:详细的性能分析报告
  • 质量评估:整体代码质量评估和建议

使用方法

单元测试创建

用户: "为我的角色控制系统创建完整的单元测试"
系统: 自动实现:
- 分析角色控制系统的所有功能
- 生成移动、跳跃、攻击等测试用例
- 创建边界条件和异常情况测试
- 设置测试数据和预期结果
- 运行测试并生成报告

性能测试实施

用户: "测试游戏在1000个敌人同时存在时的性能表现"
系统: 智能测试:
- 创建大规模场景测试环境
- 监控帧率、内存、CPU使用率
- 测试不同设备配置下的表现
- 分析性能瓶颈和优化建议
- 生成详细的性能测试报告

错误诊断和修复

玩家报告游戏在某个关卡崩溃,需要找出问题"
系统: 全面诊断:
- 分析崩溃日志和错误信息
- 重现崩溃场景和条件
- 定位问题代码和根本原因
- 提供多种修复方案
- 验证修复效果

调试工具创建

用户: "为开发团队创建一个完整的调试工具界面"
系统: 智能生成:
- 实时性能监控面板
- 游戏状态查看和修改工具
- 场景导航和对象检查器
- 命令控制台和脚本执行器
- 日志查看和过滤系统

工作流程

1. 测试需求分析

# 分析测试需求
- 识别核心功能模块
- 确定测试类型和范围
- 评估测试复杂度和优先级
- 制定测试计划和时间安排

2. 测试用例设计

# 设计测试用例
- 正常功能测试用例
- 边界条件测试用例
- 异常情况测试用例
- 性能压力测试用例

3. 自动测试实施

# 执行自动化测试
- 生成测试代码
- 配置测试环境
- 运行测试套件
- 收集测试结果

4. 问题诊断修复

# 诊断和修复问题
- 分析测试失败原因
- 定位问题代码位置
- 提供修复建议
- 验证修复效果

MCP 工具集成

测试执行工具

  • create_test_scene - 创建测试场景
  • run_unit_test - 运行单元测试
  • run_integration_test - 运行集成测试
  • run_performance_test - 运行性能测试

调试分析工具

  • analyze_error_log - 分析错误日志
  • detect_memory_leaks - 检测内存泄漏
  • profile_script_performance - 分析脚本性能
  • debug_node_hierarchy - 调试节点层次

代码质量工具

  • check_code_coverage - 检查代码覆盖度
  • analyze_code_complexity - 分析代码复杂度
  • validate_script_syntax - 验证脚本语法
  • check_naming_conventions - 检查命名规范

报告生成工具

  • generate_test_report - 生成测试报告
  • create_bug_report - 创建缺陷报告
  • export_performance_data - 导出性能数据
  • visualize_test_results - 可视化测试结果

Read the full file on GitHub · 807 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 807 lines · 42 tokens per session scan A 0526f7fb15df

Subscribe to this mod's changes

godot-test-debugger is a skill published in the GitHub repository hhhh124hhhh/godot-mcp (42 stars, last pushed 9mo ago), licensed MIT. It adds 42 tokens to every session and 6,199 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

develop-web-game

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with rendergametotext.

netease-youdao/LobsterAI · 64 tokens

tests-run

Execute Unity tests (EditMode or PlayMode) and return per-test results. Supports filtering by test assembly, namespace, class, and method. Refreshes the AssetDatabase first; defers execution across domain reloads if scripts changed. Precondition: every open scene must be saved — dirty scenes abort the run.

IvanMurzak/Unity-MCP · 68 tokens

godot-e2e

Write and run E2E (end-to-end) game tests using the godot-e2e framework. Python controls a live Godot game over TCP — Locator-based semantic queries, expect() auto-retry assertions, and engine log capture make failures self-diagnosing. Use this skill whenever you need to: Test actual gameplay: player movement…

valkor-ai/loom · 189 tokens

unity-agent-workflows

Use for AI-assisted Unity work that needs live repo discovery, project-derived routing, runtime-owner proof, runtime-visible output hard stops, runtime numeric proof for repeated visible-output failures, state-step guards, multi-agent scope ownership, modular C#/asmdef safety, UI/scene/visual asset gates, data-first…

hashgraph-online/awesome-codex-plugins · 146 tokens

gdunit-driver

Run gdUnit4 unit tests and parse results into structured output. Use this skill after writing or modifying code to verify correctness via unit tests, when diagnosing test failures, or when writing new test files. Triggers: "run tests", "test fails", "write a test", any gdUnit4/unit test mention. Supports both GDScript…

valkor-ai/loom · 84 tokens

sprite-gen

Generate clean 2D game sprites and animation atlases with a component-row pipeline: base identity, numeric sprite-request SSoT, per-state layout guides, image-gen row strips, chroma-key alpha cleanup, connected-component frame extraction, cell-based atlas composition, QA reports, and runtime manifest framelayout. Its…

aldegad/sprite-gen · 291 tokens