← ClaudeAtlas

jahro-watcherlisted

Analyzes C# fields and properties and generates [JahroWatch] attributes with groups and performance-safe patterns. Use when the user wants to monitor variables at runtime, add watchers, track game state, replace Debug.Log polling, or mentions JahroWatch, real-time inspection, or variable monitoring.
Logiiiii/unity-agent-skills · ★ 2 · AI & Automation · score 75
Install: claude install-skill Logiiiii/unity-agent-skills
# Jahro Watcher Help users monitor game variables in real-time using Jahro's `[JahroWatch]` attribute system. ## Workflow 1. **Analyze** the user's code — identify fields/properties worth monitoring 2. **Generate** correct `[JahroWatch]` attributes 3. **Add registration** if needed (instance members require `RegisterObject`) 4. **VERIFY** — "Enter Play Mode, open the Watcher tab, confirm values update" ## Analyzing Code for Watcher Candidates When the user shares a class, identify members worth monitoring: **Good candidates:** - Game state fields: health, score, level, currency, inventory counts - Physics values: velocity, position, rotation (especially via properties wrapping Rigidbody) - Performance metrics: FPS, memory, draw calls - Enum state fields: game state, player state, AI state - Key counters: enemy count, player count, item count **Skip these:** - Constants and readonly compile-time values - Private implementation details that change every frame with no debugging value - References to other objects (Transform, GameObject) — watch their properties instead - Collections and dictionaries (arrays are supported, but dictionaries are not) **Suggest replacing Debug.Log polling:** If the user has `Debug.Log($"Health: {health}")` in `Update()`, recommend `[JahroWatch]` instead — it eliminates log spam and provides a clean real-time dashboard. ## Attribute Syntax ```csharp [JahroWatch("Display Name", "GroupName", "Description for detail modal")] ``` Constructor: