Skip to content

Commit d8bc426

Browse files
committed
Simplify plugin manifests and fix godot-claude hooks format
- Shorten marketplace.json descriptions, remove redundant skills arrays - Consolidate agent whenToUse into description field - Fix hooks.json structure with proper "hooks" wrapper Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6710941 commit d8bc426

4 files changed

Lines changed: 38 additions & 121 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 10 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -11,65 +11,28 @@
1111
"plugins": [
1212
{
1313
"name": "godot-claude",
14-
"description": "Comprehensive Godot 4.6 development toolkit for studios. 15 skills covering GDScript, C#, shaders, GDExtension, navigation, animation, audio, patterns, multiplayer, optimization, and more. 9 commands for scene generation, export, and setup wizards. 2 agents for code review and performance analysis. 14 project templates for VP, multiplayer, RPG, FPS, platformer, RTS, racing, and roguelike games.",
15-
"source": "./godot-claude",
16-
"strict": false,
17-
"skills": [
18-
"./skills/godot-gdscript",
19-
"./skills/godot-csharp",
20-
"./skills/godot-shaders",
21-
"./skills/godot-gdextension",
22-
"./skills/godot-xr-vp",
23-
"./skills/godot-assets",
24-
"./skills/godot-navigation",
25-
"./skills/godot-animation",
26-
"./skills/godot-audio",
27-
"./skills/godot-tilemap",
28-
"./skills/godot-patterns",
29-
"./skills/godot-multiplayer",
30-
"./skills/godot-optimization",
31-
"./skills/godot-genres",
32-
"./skills/godot-engine-dev"
33-
]
14+
"description": "Comprehensive Godot 4.6 development toolkit for studios. 15 skills covering GDScript, C#, shaders, GDExtension, navigation, animation, audio, patterns, multiplayer, optimization, and more.",
15+
"source": "./godot-claude"
3416
},
3517
{
3618
"name": "mcp-app-next-ui",
37-
"description": "Build MCP Apps with Next.js, React, Tailwind CSS, and shadcn/ui. Covers registerAppResource, useApp, useHostStyles, and iframe embedding for interactive UI components that communicate with MCP servers.",
38-
"source": "./mcp-app-next-ui",
39-
"strict": false,
40-
"skills": [
41-
"./skills/mcp-app-next-ui"
42-
]
19+
"description": "Build MCP Apps with Next.js, React, Tailwind CSS, and shadcn/ui.",
20+
"source": "./mcp-app-next-ui"
4321
},
4422
{
4523
"name": "open-responses",
46-
"description": "Open Responses specification implementation for multi-provider LLM orchestration. Skills for orchestration patterns, Anthropic Agents SDK integration, and Rust backend development.",
47-
"source": "./open-responses",
48-
"strict": false,
49-
"skills": [
50-
"./skills/open-responses-orchestrator",
51-
"./skills/agents-sdk-open-responses",
52-
"./skills/rust-open-responses-engine"
53-
]
24+
"description": "Open Responses specification implementation for multi-provider LLM orchestration.",
25+
"source": "./open-responses"
5426
},
5527
{
5628
"name": "creative-frontend",
57-
"description": "Create distinctive, production-grade frontend interfaces with WebGPU 3D graphics. Combines bold UI design (Next.js, React, Tailwind, shadcn/ui) with Three.js TSL for immersive web experiences.",
58-
"source": "./creative-frontend",
59-
"strict": false,
60-
"skills": [
61-
"./skills/frontend-design",
62-
"./skills/webgpu-threejs-tsl"
63-
]
29+
"description": "Create distinctive, production-grade frontend interfaces with WebGPU 3D graphics.",
30+
"source": "./creative-frontend"
6431
},
6532
{
6633
"name": "tool-creator",
67-
"description": "Create AI-First CLI tools with uv, Typer, Pydantic, and Loguru. Scaffolds Python CLIs with --json output, paired skills, and modern package management.",
68-
"source": "./tool-creator",
69-
"strict": false,
70-
"skills": [
71-
"./skills/tool-creator"
72-
]
34+
"description": "Create AI-First CLI tools with uv, Typer, Pydantic, and Loguru.",
35+
"source": "./tool-creator"
7336
}
7437
]
7538
}

godot-claude/agents/godot-code-reviewer.md

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,9 @@
11
---
22
name: godot-code-reviewer
3-
description: Reviews Godot 4.6 GDScript, C#, and shader code for best practices, performance issues, and common mistakes
3+
description: Reviews Godot 4.6 GDScript, C#, and shader code for best practices, performance issues, and common mistakes. Use when the user wants a code review after writing or modifying Godot code.
4+
tools: Read, Glob, Grep
45
model: sonnet
56
color: magenta
6-
whenToUse: |
7-
Use this agent when the user has written or modified Godot code and wants a code review,
8-
or when proactive_review is enabled in settings after .gd, .cs, or .gdshader file changes.
9-
10-
<example>
11-
Context: User just finished writing a GDScript player controller
12-
user: "Can you review my player.gd for any issues?"
13-
assistant: Uses godot-code-reviewer to analyze the script
14-
</example>
15-
16-
<example>
17-
Context: User modified an enemy AI script
18-
user: "Check this enemy script for performance problems"
19-
assistant: Uses godot-code-reviewer to find performance antipatterns
20-
</example>
21-
22-
<example>
23-
Context: proactive_review is enabled, user just edited a shader
24-
system: PostToolUse hook suggests review after .gdshader edit
25-
assistant: Offers to run godot-code-reviewer on the shader
26-
</example>
27-
tools:
28-
- Read
29-
- Glob
30-
- Grep
317
---
328

339
# Godot Code Reviewer Agent

godot-claude/agents/godot-performance-analyzer.md

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,9 @@
11
---
22
name: godot-performance-analyzer
3-
description: Analyzes Godot 4.6 scenes and scripts for performance issues, recommending optimizations
3+
description: Analyzes Godot 4.6 scenes and scripts for performance issues, recommending optimizations. Use when the user wants to optimize their Godot project for better FPS or identify bottlenecks.
4+
tools: Read, Glob, Grep
45
model: sonnet
56
color: yellow
6-
whenToUse: |
7-
Use this agent when the user wants to analyze their Godot project for performance problems,
8-
optimize scenes for better FPS, reduce draw calls, or identify bottlenecks in their code.
9-
10-
<example>
11-
Context: User is experiencing low FPS in their game
12-
user: "My game runs at 30 FPS, can you analyze it for performance issues?"
13-
assistant: Uses godot-performance-analyzer to scan scenes and scripts
14-
</example>
15-
16-
<example>
17-
Context: User wants to optimize before release
18-
user: "Analyze my project for optimization opportunities"
19-
assistant: Uses godot-performance-analyzer to review the codebase
20-
</example>
21-
22-
<example>
23-
Context: User has a specific scene that's slow
24-
user: "The main_level.tscn scene is causing lag"
25-
assistant: Uses godot-performance-analyzer focused on that scene
26-
</example>
27-
tools:
28-
- Read
29-
- Glob
30-
- Grep
317
---
328

339
# Godot Performance Analyzer Agent

godot-claude/hooks/hooks.json

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
11
{
2-
"PostToolUse": [
3-
{
4-
"matcher": "Write|Edit",
5-
"hooks": [
6-
{
7-
"type": "prompt",
8-
"prompt": "Check if the edited file is a Godot file (.gd, .cs, .gdshader, .tscn, .tres). If it is a code file (.gd, .cs, .gdshader), check the user's settings in .claude/godot-claude.local.md for proactive_review. If proactive_review is true or not set, briefly mention that the godot-code-reviewer agent is available for a review. Do not automatically run the agent - just offer it as an option. For scene/resource files, no action needed."
9-
}
10-
]
11-
}
12-
],
13-
"SessionStart": [
14-
{
15-
"matcher": ".",
16-
"hooks": [
17-
{
18-
"type": "prompt",
19-
"prompt": "Check if this appears to be a Godot project (look for project.godot file). If so, briefly note that godot-claude skills and commands are available. Check for .claude/godot-claude.local.md settings file and note the user's preferences if it exists."
20-
}
21-
]
22-
}
23-
]
2+
"hooks": {
3+
"PostToolUse": [
4+
{
5+
"matcher": "Write|Edit",
6+
"hooks": [
7+
{
8+
"type": "prompt",
9+
"prompt": "Check if the edited file is a Godot file (.gd, .cs, .gdshader, .tscn, .tres). If it is a code file (.gd, .cs, .gdshader), check the user's settings in .claude/godot-claude.local.md for proactive_review. If proactive_review is true or not set, briefly mention that the godot-code-reviewer agent is available for a review. Do not automatically run the agent - just offer it as an option. For scene/resource files, no action needed."
10+
}
11+
]
12+
}
13+
],
14+
"SessionStart": [
15+
{
16+
"matcher": ".",
17+
"hooks": [
18+
{
19+
"type": "prompt",
20+
"prompt": "Check if this appears to be a Godot project (look for project.godot file). If so, briefly note that godot-claude skills and commands are available. Check for .claude/godot-claude.local.md settings file and note the user's preferences if it exists."
21+
}
22+
]
23+
}
24+
]
25+
}
2426
}

0 commit comments

Comments
 (0)