jahro-commandslisted
Install: claude install-skill Logiiiii/unity-agent-skills
# Jahro Commands
Help users add runtime-callable debug commands to Unity code using Jahro's `[JahroCommand]` attribute system.
## Workflow
1. **Analyze** the user's code — identify methods that are good command candidates
2. **Generate** correct `[JahroCommand]` attributes with proper syntax
3. **Add registration** if needed (instance methods require `RegisterObject`)
4. **VERIFY** — "Enter Play Mode, press ~, check the Commands tab"
## Analyzing Code for Command Candidates
When the user shares a class, identify methods worth exposing as commands:
**Good candidates:**
- Public methods that change game state (damage, heal, spawn, teleport, reset)
- Methods used for testing and tuning (set difficulty, add currency, skip level)
- Diagnostic methods (print stats, dump state, force GC)
- Methods with simple parameter types (int, float, bool, string, Vector2, Vector3, enum)
**Skip these:**
- Unity lifecycle methods (Update, Start, Awake, OnEnable, OnDisable, OnDestroy)
- Private implementation details the developer wouldn't want to call manually
- Methods with complex parameter types (custom classes, interfaces, delegates)
- Property getters/setters (use `[JahroWatch]` for monitoring instead)
## Attribute Syntax
```csharp
[JahroCommand("command-name", "GroupName", "Short description of what it does")]
```
Constructor: `[JahroCommand(string name, string group, string description)]`
All parameters are optional. Defaults: name = method name, group = "Default", description =