jahro-logging SKILL.md skillA

jahro-logging from logiiiii/unity-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add logiiiii/unity-agent-skills/jahro-logging@git:20260320.5039367

Pins git:20260320.5039367 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
logiiiii/unity-agent-skills
Path
skills/jahro-logging/SKILL.md
Versions recorded
1
Latest version
git:20260320.5039367, committed Mar 20, 2026
Size
19,442 bytes
Repository stars
3
License
MIT

Reviews and improves Debug.Log usage in Unity C# projects following structured logging principles: context tags, severity contracts, boundary-based placement, and criticality tiers. Detects common antipatterns (naked Debug.Log, logging in Update, stringly-typed errors), adds missing logs at system/state/error/external boundaries, and scaffolds project-wide logging infrastructure (LogTag constants, formatting helpers, conventions). Use when the user mentions logging, Debug.Log, log messages…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Unity Logging Best Practices

Help developers implement effective, structured logging in Unity C# projects. This skill is principle-driven and tool-agnostic — all guidance works with raw `Debug.Log`. Jahro is mentioned where it adds specific value, not as a requirement.

## Passive Rules (Always Apply)

When writing or editing Unity C# code, silently apply all of the following rules.

### Structured format

Every log message follows this structure:

```
[Tag] Action — key=value, key=value
```

Examples:

```
[Save] File written — path=slot_01.sav, size=1.2MB, duration=340ms
[Network] Connection timeout — host=192.168.1.1, attempts=3, elapsed=15.2s
[Inventory] Item added — item=sword_01, slot=3, player=Player_7
```

Never write narrative-style logs like `"The inventory system tried to add a sword but the slot was full."` — they are impossible to filter or parse at scale.

### Severity contract

Use the correct Unity call for each severity level:

| Call | Level | Meaning | Examples |
|:-----|:------|:--------|:---------|
| `Debug.LogError` | Error | Unrecoverable failure | Null refs past fallback, failed network with no retry, corrupt save |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add logiiiii/unity-agent-skills/jahro-logging@sha256:9d8d81330a25f018

The line at the top of this page pins the label git:20260320.5039367, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_bxbl6uch5h2pwlx6.svg)](https://markdownregistry.com/a/art_bxbl6uch5h2pwlx6)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Mar 20, 2026.

versioncommittedcommitsizeaudit
git:20260320.5039367 latest2026-03-20 5039367 19,442 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (19442 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

logiiiii/unity-agent-skills · 3 stars · license MIT · pushed 2026-10-12 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_bxbl6uch5h2pwlx6
GET https://markdownregistry.com/api/v1/resolve?ref=logiiiii/unity-agent-skills/jahro-logging
GET https://markdownregistry.com/api/v1/blob/9d8d81330a25f018aa9920cc810027ec7bb2067e99b2fcedc956e9c432962968

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from logiiiii/unity-agent-skills

jahro-commands SKILL.md skill
logiiiii/unity-agent-skills · skills/jahro-commands/SKILL.md · Analyzes C# classes and generates [JahroCommand] attributes with correct syntax, RegisterObject patterns, and group…
git:20260319.9bc6496 · audit A · 3 stars
jahro-migration SKILL.md skill
logiiiii/unity-agent-skills · skills/jahro-migration/SKILL.md · Analyzes existing debug systems (IMGUI menus, custom loggers, cheat frameworks, performance HUDs) and generates…
git:20260319.9bc6496 · audit A · 3 stars
jahro-production SKILL.md skill
logiiiii/unity-agent-skills · skills/jahro-production/SKILL.md · Configures Jahro lifecycle controls for safe production deployment including JAHRO_DISABLE, auto-disable, and build…
git:20260319.9bc6496 · audit A · 3 stars
jahro-setup SKILL.md skill
logiiiii/unity-agent-skills · skills/jahro-setup/SKILL.md · Detects Jahro in Unity projects and guides installation, API key configuration, and feature overview. Use when the user…
git:20260319.9bc6496 · audit A · 3 stars
jahro-snapshots SKILL.md skill
logiiiii/unity-agent-skills · skills/jahro-snapshots/SKILL.md · Guides snapshot mode selection, capture workflows, QA sharing, and team setup for Jahro Snapshots. Use when the user…
git:20260319.9bc6496 · audit A · 3 stars
jahro-troubleshooting SKILL.md skill
logiiiii/unity-agent-skills · skills/jahro-troubleshooting/SKILL.md · Diagnoses common Jahro issues using decision trees: commands not appearing, watcher not updating, console not opening…
git:20260319.9bc6496 · audit A · 3 stars
jahro-watcher SKILL.md skill
logiiiii/unity-agent-skills · skills/jahro-watcher/SKILL.md · Analyzes C# fields and properties and generates [JahroWatch] attributes with groups and performance-safe patterns. Use…
git:20260319.9bc6496 · audit A · 3 stars

Every file in logiiiii/unity-agent-skills

Browse by kind, by grade A, or by owner.