pi-godot-toolkit0.0.2
Godot 4 toolkit for pi: GDScript best practices, docs lookup, gdUnit4 tests and verification.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
pi-godot-toolkit
An all-in-one extension for using Godot with pi.
It helps agents write better, more maintainable GDScript and automate common tasks without being prompted to.
The extension activates only inside a Godot project, where it discovers the skills and adds a short task → skill map to pi's instructions.
Features
- Best practices - code and scenes follow Godot's best practices advice.
- Task automation - skills for researching APIs, moving
.gdfiles, and running tests. - Verification - GDScript is compiled by Godot itself, so autoloads resolve and the errors are real.
- gdUnit4 - support for writing and running unit tests.
Requirements
- Godot Engine 4.x (resolved via
GODOT_BINorPATH).
Optional
- gdUnit4 (6.x) - agents will write and run unit tests.
- GDQuest GDScript formatter - agents will check and lint
.gdfiles.
Installation
pi install npm:pi-godot-toolkit
Or add it to settings.json under packages:
{ "packages": ["npm:pi-godot-toolkit"] }
Verify
- Type
/to browse the skills, or load one with/skill:<name>. - Or just ask: "run the tests for
test/settings", "what signals doesArea2Demit?", "rename this script".
Skills
godot-best-practices- follow best practices when writing or reviewing code.godot-doc-search- API research based on your project's Godot version.gdscript-check- compile, format, and lint.gdfiles.gdscript-file-manager- move/rename/delete.gdfiles with their.uidcompanions.running-gdunit4-tests- run gdUnit4 tests.writing-gdunit4-tests- write gdUnit4 test suites.