agentleFS
JulianKerignardJulianKerignard/Unity-Skills/CLAUDE.md

Unity-Skills

CLAUDE.md8 starsChanged 9 months agoMITView on GitHub

A collection of 15 AI-powered skills for Unity 6+ development. Each skill is a structured instruction set (not executable code) that guides AI assistants through specific Unity workflows. There is no build system, no tests, no runtime — only Markdown files. Every SKILL.md follows a strict format: 1. YAML frontmatter — name (Title Case), description (single line with trigger keywords) 2. Ce que fait cette skill — one-paragraph summary 3. Prerequis — what's needed 4. Demarrage rapide — 3-5 numbered…

The file

We split this CLAUDE.md into the rules it gives an agent

8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every SKILL.md follows a strict format:

    line 44
  2. Distinctive:

    Language: All skill content is written in French.

    line 57
  3. Very specific:

    Cross-references: Use skill command names (/unity-code-gen, /uitk, /dots) and always maintain bidirectional links between related skills.

    line 60
  4. Distinctive:

    When modifying or adding skills:

    line 88
  5. Distinctive:

    Update cross-references: If skill A references skill B, check that B references A back where relevant.

    line 92
  6. Distinctive:

    After any change, verify:

    line 99
  7. Very specific:

    No SKILL.md exceeds ~200 lines (workflow should be concise, details go to references/)

    line 101
  8. Very specific:

    No stale Unity API references (grep for Unity 2020, Unity 2021, deprecated APIs)

    line 103

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What This Is

A collection of 15 AI-powered skills for Unity 6+ development. Each skill is a structured instruction set (not executable code) that guides AI assistants through specific Unity workflows. There is no build system, no tests, no runtime — only Markdown files.

Repository Structure

.claude-plugin/
  plugin.json           # Plugin manifest — enables `claude plugin install`

skills/
  unity/                # Reference skill (loaded for any Unity question)
    SKILL.md            # Entry point (~330L) — architecture, patterns, decisions
    references/         # Deep-dive reference files
      architecture.md   # Patterns: SO events, state machines, service locator, MVP, UITK, Cinemachine
      csharp-patterns.md # C# conventions, lifecycle, async Awaitable, C# 9 features
      performance.md    # CPU/GPU/memory budgets, profiling, mobile targets
      project-structure.md # Folder organization, naming, import settings, asmdef
      specialized.md    # Animation, 2D, Shader/VFX Graph, physics, AI/Inference Engine
      workflow.md       # Git, testing, CI/CD, Build Profiles

  unity-<name>/         # 14 execution skills (one per workflow)
    SKILL.md            # Workflow entry (< 200L): decision tree, steps, rules
    references/         # Templates, patterns, recipes loaded on demand

Installation

# npx (une commande, multi-agent compatible)
npx skills add JulianKerignard/Unity-Skills

# ou plugin natif Claude Code
claude plugin marketplace add JulianKerignard/Unity-Skills
claude plugin install unity-skills

Skill Architecture

Every SKILL.md follows a strict format:

  1. YAML frontmatter — name (Title Case), description (single line with trigger keywords)
  2. Ce que fait cette skill — one-paragraph summary
  3. Prerequis — what's needed
  4. Demarrage rapide — 3-5 numbered steps
  5. Arbre de decision — guides pattern/approach selection (ASCII or table)
  6. Guide etape par etape — detailed numbered steps
  7. Regles strictes — TOUJOURS/JAMAIS constraints
  8. Skills connexes — cross-references to related skills (bidirectional)
  9. Troubleshooting — table of common issues/solutions

Key Conventions

  • Language: All skill content is written in French. Technical terms and code identifiers stay in English.
  • Target: Unity 6.x (6.0–6.3 LTS). APIs reference Unity 6+ (Awaitable, linearVelocity, [UxmlElement], Build Profiles, Render Graph, Object.InstantiateAsync).
  • Size limits: SKILL.md < 200 lines. References files can be longer but aim for < 350 lines each.
  • Cross-references: Use skill command names (/unity-code-gen, /uitk, /dots) and always maintain bidirectional links between related skills.
  • No code execution: Skills are pure documentation. They don't import packages or run anything — they instruct an AI on what to do.

The 18 Skills

SkillCommandType
skills/unity/(auto-loaded)Reference — comprehensive Unity guide
skills/unity-code-gen//unity-code-genGenerate production C# + NUnit tests
skills/unity-test//testNUnit tests (EditMode, PlayMode, async)
skills/unity-debug//debugSystematic bug diagnosis with decision trees
skills/unity-rapid-proto//protoInstant gameplay prototyping
skills/unity-perf-audit//perf-auditStatic code analysis for 30+ anti-patterns
skills/unity-editor-tools//editorCustom inspectors, windows, drawers (IMGUI + UITK)
skills/unity-refactor//unity-refactorSafe incremental refactoring
skills/unity-shader-gen//shaderHLSL/ShaderLab shaders (URP/HDRP/Built-in)
skills/unity-build-config//build-configCI/CD, build scripts, Build Profiles
skills/unity-ui-toolkit//uitkUI Toolkit (UXML + USS + C# bindings)
skills/unity-multiplayer//netcodeNetcode for GameObjects, Lobby, Relay
skills/unity-addressables//addressablesAsync asset loading, memory management
skills/unity-animation//animAnimator, IK, Timeline, Playables API
skills/unity-dots//dotsECS, Job System, Burst Compiler
skills/unity-audio//unity-audioAudio system, SFX pooling, AudioMixer, spatial 3D
skills/unity-2d//2d2D development, Tilemaps, Light2D, Sprite Atlas
skills/unity-save//unity-saveSave system, persistence, serialization, cloud saves

Editing Skills

When modifying or adding skills:

  • Verify YAML frontmatter: name in Title Case, description is a single line with all trigger keywords
  • No trigger overlap: Each trigger keyword should map to exactly one skill. Grep across all SKILL.md files to verify.
  • Update cross-references: If skill A references skill B, check that B references A back where relevant.
  • Update README.md: The root README contains the skill table, skill map diagram, and stats — keep them in sync.
  • Use Context7 MCP to verify Unity API accuracy before writing patterns or templates that reference specific Unity APIs.
  • French grammar: Skill content is in French but avoid accented characters in code identifiers.

Validation Checklist

After any change, verify:

  1. Each SKILL.md has all 9 standard sections listed above
  2. No SKILL.md exceeds ~200 lines (workflow should be concise, details go to references/)
  3. Cross-references are bidirectional
  4. No stale Unity API references (grep for Unity 2020, Unity 2021, deprecated APIs)
  5. README.md skill count and stats match reality

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.