jahro-production
정보
이 스킬은 디버깅 도구가 릴리스 빌드로 유출되는 것을 방지하기 위해 Jahro의 프로덕션 안전 제어를 구성합니다. 컴파일 타임 플래그, 릴리스 빌드 자동 비활성화, 런타임 스위치를 포함한 3단계 비활성화 메커니즘을 설정합니다. 프로덕션 배포, CI/CD 파이프라인 처리 또는 라이프사이클 제어 구현 시 사용하세요.
빠른 설치
Claude Code
추천npx skills add jahro-console/unity-agent-skills -a claude-code/plugin add https://github.com/jahro-console/unity-agent-skillsgit clone https://github.com/jahro-console/unity-agent-skills.git ~/.claude/skills/jahro-productionClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
Jahro Production Readiness
Help users configure Jahro for safe production deployment so debugging tools never leak into release builds.
Three-Tier Disable Mechanism
Jahro evaluates these conditions at startup in priority order:
1. JAHRO_DISABLE defined? → Disabled (highest priority)
2. Auto-disable ON + Release build? → Disabled
3. Enable Jahro switch → Uses switch value (lowest priority)
Tier 1: JAHRO_DISABLE Preprocessor Define
What: Compile-time disable. When defined, Jahro exits at initialization regardless of all other settings.
How to set:
- Open Edit → Project Settings → Player
- Under Other Settings → Scripting Define Symbols
- Add
JAHRO_DISABLE(semicolon-separated if other defines exist:MY_DEFINE;JAHRO_DISABLE)
When to use: CI/CD pipelines, absolute control, platform-specific disabling (set per-platform defines).
Validation: Build logs show "Jahro Console: Disabled in this build".
Tier 2: Auto-disable in Release Builds
What: Runtime check. Jahro checks Debug.isDebugBuild at startup. If false (Release build) and this setting is ON, Jahro disables itself.
How to set:
- Open Tools → Jahro Settings → General Settings
- Enable Auto-disable in Release Builds
When to use: Recommended default for most projects. Development and Debug builds keep Jahro active; Release builds automatically disable it.
Validation: Same build log message when triggered.
Tier 3: Manual Enable/Disable
What: The master toggle in Jahro Settings.
How to set: Tools → Jahro Settings → General Settings → Enable Jahro
When to use: Temporarily disable during development (e.g., testing without Jahro interference).
Recommendation
For most projects:
- Enable Auto-disable in Release Builds (Tier 2) — this is sufficient
- Add JAHRO_DISABLE (Tier 1) in CI/CD for extra safety
- Leave the manual toggle ON for development
Lifecycle
Initialization (BeforeSplashScreen)
Jahro initializes via [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSplashScreen)]:
- Loads settings from
Assets/Jahro/Resources/jahro-settings.asset - Evaluates the three-tier disable logic
- If disabled: logs "Jahro Console: Disabled in this build" and exits early — minimal overhead
- If enabled: sets up logging infrastructure, then continues to runtime boot
The BeforeSplashScreen timing ensures Jahro is ready before any game code runs, so it captures logs from the very start.
Runtime Boot
After initialization (if enabled):
- Initializes console storage and UI view
- Verifies API key, starts session
- Injects UI manager (window, tabs, launch button)
- Binds hotkeys and mobile activation
Shutdown
Triggered on app quit, assembly reload, or explicit Jahro.Release():
- Saves console state (window size, position, favorites)
- Disposes logger, destroys UI
- Ends Jahro session
CI/CD Guidance
Setting JAHRO_DISABLE per build configuration
In your build script or CI/CD pipeline:
// In a custom build script
PlayerSettings.SetScriptingDefineSymbolsForGroup(
BuildTargetGroup.Android,
"JAHRO_DISABLE;OTHER_DEFINES");
Or via command line:
unity -batchmode -executeMethod Build.PerformReleaseBuild \
-define "JAHRO_DISABLE"
Build log validation
After a Release build, verify Jahro is properly disabled:
// Expected in build log output:
Jahro Console: Disabled in this build
If this message is absent and Jahro was expected to be disabled, check:
JAHRO_DISABLEis in the correct platform's Scripting Define Symbols- Auto-disable is ON and the build is actually a Release build (not Development)
Runtime Validation Code
Add this to verify Jahro's state in a build:
void Start()
{
#if JAHRO_DISABLE
Debug.Log("JAHRO_DISABLE is defined — Jahro stripped at compile time");
#else
Debug.Log($"Jahro.Enabled: {Jahro.Enabled}");
if (Jahro.Enabled)
Debug.LogWarning("Jahro is ENABLED in this build — is this intentional?");
#endif
}
Production Readiness Checklist
Use this checklist before shipping:
- Auto-disable in Release Builds is ON in Tools → Jahro Settings
- (Optional) JAHRO_DISABLE added to Scripting Define Symbols for release platform
- Build configuration is Release (not Development Build)
- Build log contains "Jahro Console: Disabled in this build"
- Test the Release build: pressing ~ or triple-tap does NOT open console
-
Jahro.Enabledreturnsfalseat runtime in the Release build -
jahro-settings.assetis committed to version control with correct settings - API key is NOT exposed in public builds (Jahro handles this — when disabled, no network calls are made)
Role-Based Access (Team Projects)
For teams using the Jahro web console:
| Role | Permissions |
|---|---|
| Owner | Billing, subscription, team settings, role assignment, ownership transfer |
| Admin | Manage members (except Owner), configure integrations, access all content |
| Member | Create/view/edit snapshots, interact with assigned content |
Configure roles at console.jahro.io → Team Settings.
Contextual Awareness
| Pattern | Suggestion |
|---|---|
| User mentions "release build" or "shipping" | Guide through production checklist |
| User mentions CI/CD or build pipeline | Show JAHRO_DISABLE in build scripts |
| User has JAHRO_DISABLE but expects Jahro to work | Explain priority: define overrides everything |
| User asks about performance in production | Reassure: disabled Jahro exits early with near-zero overhead |
Verification
Verify: Make a Release build (not Development Build). Run it. Confirm:
- Build log shows "Jahro Console: Disabled in this build"
- Console does NOT open on ~ or triple-tap
Jahro.EnabledreturnsfalseThen make a Development Build and confirm Jahro works normally.
GitHub 저장소
연관 스킬
content-collections
메타이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.
polymarket
메타이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.
creating-opencode-plugins
메타이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.
sglang
메타SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.
