mirror of
https://github.com/Donchitos/Claude-Code-Game-Studios.git
synced 2026-06-27 04:51:46 +00:00
Fix: rg --type gdscript is invalid — use --glob *.gd instead (#42)
* Fix: document that rg --type gdscript is invalid, use --glob *.gd instead Closes #37. ripgrep has no gdscript type — *.gd files are registered under the gap type (GAP programming language). Using --type gdscript produces a hard error, silently preventing any search from executing. Added explicit warnings in two places: - .claude/agents/godot-gdscript-specialist.md: new Tooling section with the correct Grep tool param (glob: "*.gd") and shell equivalent - docs/engine-reference/godot/current-best-practices.md: new Tooling section agents read at version-check time Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Fix: propagate rg --glob *.gd tooling warning to all Godot agents Closes the coverage gap identified in PR #42 review — the ripgrep gdscript-type warning was only in godot-gdscript-specialist. Added the same CRITICAL tooling section to godot-specialist, godot-gdextension-specialist, godot-shader-specialist, and godot-csharp-specialist so no Godot agent can silently misfire a search. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -388,6 +388,16 @@ Do NOT rely on inline version claims in this file — they may be wrong. Always
|
||||
|
||||
When in doubt, prefer the API documented in the reference files over your training data.
|
||||
|
||||
## Tooling — ripgrep File Filtering
|
||||
|
||||
**CRITICAL**: There is no `gdscript` type in ripgrep. `*.gd` files are registered
|
||||
under the `gap` type (GAP programming language). Using `--type gdscript` or passing
|
||||
`type: "gdscript"` to the Grep tool produces a hard error — the search never executes.
|
||||
|
||||
**Always use `glob: "*.gd"`** when filtering GDScript files:
|
||||
- Grep tool: `glob: "*.gd"` ✓ | `type: "gdscript"` ✗
|
||||
- Shell/CI: `rg --glob "*.gd"` ✓ | `rg --type gdscript` ✗
|
||||
|
||||
## Coordination
|
||||
- Work with **godot-specialist** for overall Godot architecture and scene design
|
||||
- Work with **gameplay-programmer** for gameplay system implementation
|
||||
|
||||
Reference in New Issue
Block a user