ZC

zate/cc-godot

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

19 stars 质量 58 趋势 10

一款全面的 Claude Code 插件,适用于 Godot 游戏开发,具备命名空格命令、智能代理和自动化环境设置功能。

概览

一款全面的 Claude Code 插件,适用于 Godot 游戏开发,具备命名空格命令、智能代理和自动化环境设置功能。 - - /gd:setup,/gd:init-game,/gd:run,/gd:stop - - 交互式AI辅助游戏设计 - - 自动激活Godot特定问题 - - 会话开始时自动检查 - - 与Godot MCP服务器无缝集成 1. (4.5.1+) - 下载 2.(18+) - Godot MCP 服务器必备 3.- 克隆与构建: 该插件将以 /gd:* 命名空间提供 2. 这将是:- 自动检测Godot安装 - 验证Godot MCP服务器已建成 - 在你的项目中创建.mcp.json配置 - 验证一切正常 3. (MCP变更生效的必要条件) 4. 启动一个交互式规划代理,内容包括:- 询问你的游戏(2D/3D、类型、机制等)。

概述(AI 翻译)

一款全面的 Claude Code 插件,适用于 Godot 游戏开发,具备命名空格命令、智能代理和自动化环境设置功能。

特色

  • ** 🎮 命名空格命令** - /gd:setup、/gd:init-game、/gd:run、/gd:stop
  • ** 🤖 游戏规划代理** - 交互式AI辅助游戏设计
  • ** 🧠 Godot专长技能** - 针对Godot特定问题自动激活
  • ** 🔧 环境验证** - 会话开始时的自动检查
  • ** 📦 MCP 集成** - 与 Godot MCP 服务器无缝集成

安装

先决条件

  1. Godot Engine(4.5.1+)- 下载
  2. Node.js(18+)- Godot MCP 服务器必备
  3. Godot MCP 服务器 - 克隆和构建:

安装插件

  1. 添加Godot游戏开发市场

摘自任何目录中的Claude代码:

或者说,对于本地开发来说:

  1. 安装插件

该插件将以命名空间 /gd:* 提供。

快速启动

  1. 用Claude代码打开你的Godot项目

  2. 运行设置以配置环境

这将:

  • 自动检测Godot安装
  • 验证Godot MCP服务器已建成
  • 在您的项目中创建 .mcp.json 配置

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Godot Development Plugin for Claude Code

A comprehensive Claude Code plugin for Godot game development with namespaced commands, intelligent agents, and automated environment setup.

Features

  • 🎮 Namespaced Commands - /gd:setup, /gd:init-game, /gd:run, /gd:stop
  • 🤖 Game Planning Agent - Interactive AI-assisted game design
  • 🧠 Godot Expertise Skill - Automatic activation for Godot-specific questions
  • 🔧 Environment Validation - Automatic checks on session start
  • 📦 MCP Integration - Seamless integration with Godot MCP server

Installation

Prerequisites

  1. Godot Engine (4.5.1+) - Download
  2. Node.js (18+) - Required for Godot MCP server
  3. Godot MCP Server - Clone and build:
    git clone  ~/projects/godot-mcp
    cd ~/projects/godot-mcp
    npm install
    npm run build
    

Install the Plugin

  1. Add the Godot Game Development marketplace

    From Claude Code in any directory:

    /plugin marketplace add https://github.com/your-username/godot-claude-plugin
    

    Or for local development:

    /plugin marketplace add /absolute/path/to/godot-claude-plugin
    
  2. Install the plugin

    /plugin install gd@godot-gamedev
    

    The plugin will be available with the namespace /gd:*

Quick Start

  1. Open your Godot project in Claude Code

    cd my-godot-game
    claude .
    
  2. Run setup to configure the environment

    /gd:setup
    

    This will:

    • Auto-detect Godot installation
    • Verify Godot MCP server is built
    • Create .mcp.json configuration in your project
    • Validate everything is working
  3. Restart Claude Code (required for MCP changes to take effect)

  4. Initialize a new game (optional)

    /gd:init-game
    

    Launches an interactive planning agent that will:

    • Ask about your game (2D/3D, genre, mechanics, etc.)
    • Generate a comprehensive game design document
    • Create project folder structure
    • Set up initial scenes
  5. Start developing!

    /gd:run    # Test your game
    /gd:stop   # Stop the game
    

Available Commands

Command Description
/gd:setup Configure Godot development environment and MCP server
/gd:init-game Interactive game planning and project initialization
/gd:run Launch the game for testing
/gd:stop Stop the running game instance

Plugin Components

Commands (commands/)

Slash commands for common Godot workflows with the /gd: namespace.

Agents (agents/)

  • game-planner - Interactive game design assistant that asks questions and creates comprehensive game plans

Skills (skills/)

  • godot-dev - Godot Engine expertise that automatically activates when you ask Godot-related questions

Hooks (hooks/)

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add zate/cc-godot
新手?先看 mcpskill.org 教程 →