Godot Performance Optimizer

Godot 性能优化与适配专家,支持自然语言描述自动完成分辨率适配、性能分析、内存优化、帧率提升等优化工作

44 stars 4 forksOther

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add hhhh124hhhh/godot-mcp --skill godot-performance-optimizer
Manual install
git clone --depth 1 https://github.com/hhhh124hhhh/godot-mcp.git /tmp/godot-mcp
mkdir -p ~/.claude/skills
cp -r /tmp/godot-mcp/.claude/skills/godot-skills/sub-skills/godot-performance-optimizer ~/.claude/skills/godot-performance-optimizer

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Godot 性能优化专家技能

## 技能概述

`godot-performance-optimizer` 是专门用于 Godot 游戏性能优化和平台适配的智能化技能,能够根据用户的自然语言描述自动完成分辨率适配、性能分析、内存优化、帧率提升、平台适配等全面的性能优化工作。

## 核心功能

### 📱 分辨率适配系统
- **多分辨率支持**:自动适配不同屏幕分辨率和比例
- **DPI缩放**:智能DPI检测和UI缩放
- **横竖屏切换**:动态横竖屏布局适配
- **平台特定优化**:针对不同平台的显示优化

### ⚡ 性能分析工具
- **帧率监控**:实时FPS监控和分析
- **内存分析**:内存使用情况追踪和优化建议
- **渲染分析**:Draw call、Overdraw等渲染性能分析
- **瓶颈检测**:自动检测性能瓶颈和热点代码

### 🧠 内存优化系统
- **对象池管理**:智能对象池和内存回收
- **资源压缩**:纹理、音频等资源的智能压缩
- **垃圾回收优化**:GC策略优化和内存碎片整理
- **流式加载**:大型资源的流式加载和卸载

### 🎮 渲染优化
- **批处理优化**:减少Draw call和渲染批次
- **LOD系统**:细节层次距离优化
- **遮挡剔除**:智能遮挡剔除和视锥剔除
- **着色器优化**:GPU着色器性能优化

## 使用方法

### 分辨率适配优化
```
用户: "我的游戏在不同手机上显示不正常,需要适配各种屏幕尺寸"
系统: 自动实现:
- 检测目标设备分辨率范围
- 设计响应式布局系统
- 配置自动缩放和锚点
- 优化UI元素大小和间距
- 测试各种分辨率下的显示效果
```

### 性能分析和优化
```
用户: "游戏在低端设备上运行卡顿,需要优化到60FPS"
系统: 智能优化:
- 全面性能分析和瓶颈检测
- 优化渲染管线和Draw call
- 减少物理计算开销
- 优化脚本执行效率
- 调整画质设置和特效等级
```

### 内存使用优化
```
用户: "游戏内存占用过高,经常闪退,需要优化内存使用"
系统: 全面优化:
- 分析内存使用热点
- 实现智能对象池系统
- 优化资源加载和卸载策略
- 压缩纹理和音频资源
- 配置垃圾回收策略
```

### 平台性能适配
```
用户: "需要为PC、移动、主机三个平台优化性能"
系统: 多平台优化:
- 针对不同平台的性能策略
- 平台特定的渲染设置
- 输入和UI适配优化
- 性能分级和质量设置
```

## 工作流程

### 1. 性能分析阶段
```bash
# 全面性能检测
- 帧率和稳定性分析
- 内存使用情况检测
- 渲染性能瓶颈识别
- CPU和GPU使用率分析
```

### 2. 优化策略制定
```bash
# 制定优化方案
- 确定优化优先级
- 选择合适的优化技术
- 平衡画质和性能
- 制定分阶段优化计划
```

### 3. 自动优化实施
```bash
# 执行优化操作
- 自动调整渲染设置
- 优化代码和算法
- 配置资源压缩
- 实现内存管理策略
```

### 4. 效果验证
```bash
# 验证优化效果
- 对比优化前后性能
- 测试不同设备表现
- 验证稳定性改善
- 生成优化报告
```

## MCP 工具集成

### 性能分析工具
- `get_performance_metrics` - 获取性能指标
Read the full skill on GitHub

Details

Skill name
godot-performance-optimizer
Path
.claude/skills/godot-skills/sub-skills/godot-performance-optimizer/SKILL.md
License
MIT
Repo updated
15 November 2025

FAQ

What does the Godot Performance Optimizer skill do?

Godot 性能优化与适配专家,支持自然语言描述自动完成分辨率适配、性能分析、内存优化、帧率提升等优化工作

How do I install the Godot Performance Optimizer skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add hhhh124hhhh/godot-mcp --skill godot-performance-optimizer. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Godot Performance Optimizer popular?

It lives in hhhh124hhhh/godot-mcp, which has 44 GitHub stars and 4 forks.

Related skills

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.