MCP HubMCP Hub
Вернуться к навыкам

jahro-setup

jahro-console
Обновлено 2 days ago
7 просмотров
12
12
Посмотреть на GitHub
Тестированиеapidesign

О программе

Этот навык определяет наличие Jahro в проектах Unity и предоставляет инструкции по настройке, когда пользователи спрашивают об установке, конфигурации или отладке функций. Он автоматически проверяет ссылки на Jahro в манифестах пакетов и коде, а затем предлагает соответствующие шаги установки или обзоры функций. Используйте его для вопросов по настройке Jahro или когда пользователи интересуются инструментами отладки Unity.

Быстрая установка

Claude Code

Рекомендуется
Основной
npx skills add jahro-console/unity-agent-skills -a claude-code
Команда плагинаАльтернативный
/plugin add https://github.com/jahro-console/unity-agent-skills
Git клонированиеАльтернативный
git clone https://github.com/jahro-console/unity-agent-skills.git ~/.claude/skills/jahro-setup

Скопируйте и вставьте эту команду в Claude Code для установки этого навыка

Документация

Jahro Setup & Orientation

Help users install, configure, and get oriented with the Jahro debugging platform for Unity.

Detection

Before giving advice, determine Jahro's status in the project:

Check 1 — Package Manager: Read Packages/manifest.json and search for io.jahro.console in the dependencies.

Check 2 — Code references: Search C# files for using JahroConsole or [JahroCommand or [JahroWatch.

Check 3 — Source folder: Check if jahro-unity-package/ or Assets/JahroPackage/ exists (indicates source-included installation).

ResultAction
Package found in manifestJahro is installed — check API key config
Code references but no packageJahro may be installed via source — verify
Nothing foundGuide installation

Installation

Via Unity Package Manager (recommended)

  1. Open Unity → Window → Package Manager
  2. Click +Add package from Git URL
  3. Paste: https://github.com/jahro-console/unity-package.git
  4. Click Install

Requirements: Unity 2021.3.0f1 or later. No additional dependencies.

API Key Configuration

After installation, the user needs an API key to enable snapshot sync and team features.

  1. Create account at console.jahro.io/auth/signup (free)
  2. In web console → navigate to Project → API Keys → copy key
  3. In Unity → Tools → Jahro SettingsAccount tab → paste API key
  4. Settings auto-validate and display project/team info

The API key connects the Unity project to the Jahro web console for snapshot uploads and team collaboration. Jahro works for local debugging (logs, commands, watcher) even without an API key, but snapshots won't upload.

Opening the Console

PlatformAction
Desktop (Editor/Standalone)Press ~ (tilde) key in Play Mode
Mobile (Android/iOS)Triple-tap at top of screen
ProgrammaticCall Jahro.ShowConsoleView()
AlternativeTap the floating Launch Button

The launch key is configurable in Tools → Jahro Settings → General Settings → Launch Key.

Keyboard shortcuts for tabs: Alt+1 (Text Mode), Alt+2 (Visual Mode), Alt+3 (Watcher), Alt+4 (Snapshots).

Feature Overview

Guide users to the right feature based on what they need:

What to adopt first

Recommend features in this order based on effort-to-value ratio:

1. Logs (zero effort) — Jahro automatically intercepts all Debug.Log, Debug.LogWarning, and Debug.LogError calls. Just open the console to see them filtered and searchable in-game. Especially valuable on mobile where you'd otherwise need ADB logcat or Xcode.

2. Commands (low effort) — Add [JahroCommand] attributes to existing methods to make them callable from the console. Ideal for cheats, debug actions, and testing without rebuilding. Works in both Text Mode (CLI with autocomplete) and Visual Mode (touch-friendly buttons).

Read references/api-reference.md for the [JahroCommand] attribute constructor and parameter types.

3. Watcher (low effort) — Add [JahroWatch] attributes to fields and properties for real-time monitoring. Replaces Debug.Log polling patterns. Values only update when the Watcher tab is open, so negligible performance cost.

Read references/api-reference.md for the [JahroWatch] attribute constructor and supported types.

4. Snapshots (needs API key) — Capture logs + screenshots + device metadata and share via URL. Three modes: Recording (local until upload), Streaming All (real-time), Streaming Except Editor (hybrid). Essential for QA teams on mobile.

Quick answers

"How do I open the console?" Press ~ on desktop, triple-tap on mobile, or call Jahro.ShowConsoleView().

"How do I change the hotkey?" Tools → Jahro Settings → General Settings → Launch Key.

"Does Jahro work on mobile?" Yes — Android and iOS. Triple-tap to open. Supports Standalone (PC/Mac) and Mobile. WebGL, Consoles, and VR are on the roadmap.

"What's the performance impact?" Minimal. Watcher only reads values when the UI is visible. When disabled via JAHRO_DISABLE or auto-disable, Jahro exits at initialization with near-zero overhead.

"How do I disable Jahro in production?" Enable "Auto-disable in Release Builds" in Jahro Settings, or add JAHRO_DISABLE to Scripting Define Symbols. See the jahro-production skill for detailed guidance.

"Do I need to change my existing Debug.Log calls?" No. Jahro intercepts Unity's logging system automatically. Your existing Debug.Log, Debug.LogWarning, and Debug.LogError calls all appear in the Jahro console.

Assembly Configuration

Jahro scans selected assemblies for [JahroCommand] and [JahroWatch] attributes.

Configure in Tools → Jahro Settings → General Settings → Assemblies Selection.

Recommended: select your main game assembly plus Jahro assemblies (for Samples). The system supports up to 31 user assemblies and automatically filters Unity system assemblies.

If commands or watchers aren't appearing, check that the correct assemblies are selected.

Settings Persistence

Settings are saved to Assets/Jahro/Resources/jahro-settings.asset. Include this file in version control so all team members share the same configuration.

Contextual Awareness

When working with Unity code:

  • If you see using JahroConsole or [JahroCommand] or [JahroWatch] in existing code → Jahro is installed. Offer improvements or suggest additional features (watcher if only commands exist, commands if only watcher exists).
  • If you see OnGUI() with debug buttons → suggest migrating to Jahro commands.
  • If you see Debug.Log in Update() for monitoring values → suggest using [JahroWatch] instead.
  • If no Jahro references exist → offer setup guidance.

Next Steps

After setup, guide the user to the appropriate specialized skill:

User wants to...Suggest
Add debug commands to their codejahro-commands skill
Monitor variables in real-timejahro-watcher skill
Share debugging sessions with teamjahro-snapshots skill
Prepare for production releasejahro-production skill
Diagnose why something isn't workingjahro-troubleshooting skill
Migrate from a custom debug systemjahro-migration skill

For full API details, read references/api-reference.md. For common code patterns, read references/common-patterns.md.

GitHub репозиторий

jahro-console/unity-agent-skills
Путь: skills/jahro-setup
0
agent-skillsai-assistantai-codingclaude-codecursordebugging

Похожие навыки

evaluating-llms-harness

Тестирование

Этот навык Claude запускает lm-evaluation-harness для тестирования LLM на более чем 60 стандартизированных академических задачах, таких как MMLU и GSM8K. Он предназначен для разработчиков, чтобы сравнивать качество моделей, отслеживать прогресс обучения или сообщать академические результаты. Инструмент поддерживает различные бэкенды, включая модели HuggingFace и vLLM.

Просмотреть навык

cloudflare-cron-triggers

Тестирование

Этот навык предоставляет обширные знания по реализации Cloudflare Cron Triggers для планирования запуска Workers с помощью cron-выражений. Он охватывает настройку периодических задач, заданий технического обслуживания и автоматизированных рабочих процессов, а также решение распространенных проблем, таких как неверные cron-выражения и ошибки часовых поясов. Разработчики могут использовать его для настройки планировщиков обработчиков, тестирования cron-триггеров и интеграции с Workflows и Green Compute.

Просмотреть навык

webapp-testing

Тестирование

Этот навык Claude предоставляет инструментарий на базе Playwright для тестирования локальных веб-приложений с помощью Python-скриптов. Он позволяет проводить проверку фронтенда, отладку интерфейса, создание скриншотов и просмотр логов, одновременно управляя жизненным циклом сервера. Используйте его для задач автоматизации браузера, но запускайте скрипты напрямую, вместо чтения их исходного кода, чтобы избежать загрязнения контекста.

Просмотреть навык

finishing-a-development-branch

Тестирование

Этот навык помогает разработчикам завершать готовую работу, проверяя прохождение тестов и предлагая структурированные варианты интеграции. Он направляет рабочий процесс по слиянию, созданию пул-реквестов или очистке веток после завершения реализации. Используйте его, когда ваш код готов и протестирован, чтобы систематически завершать процесс разработки.

Просмотреть навык