.claude/skills/unity-template-generator/SKILL.md
Generates production-ready C# script templates (MonoBehaviour, ScriptableObject, Editor, tests). Use when creating new scripts or setting up project structure.
npx skillsauth add zsutxz/ClaudeLearning Unity Template GeneratorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Assists with generating production-ready Unity C# script templates that follow best practices and Unity conventions.
MonoBehaviour - GameObject components with lifecycle methods, serialized fields, component caching, and Gizmo helpers.
ScriptableObject - Data assets with [CreateAssetMenu], validation, encapsulation, and clone methods.
Editor Script - Custom inspectors or windows. Asks for UGUI vs UI Toolkit preference (see unity-ui-selector).
Test Script - NUnit/PlayMode tests with Setup/TearDown, [UnityTest], performance tests, and Arrange-Act-Assert pattern.
All templates include:
[SerializeField], PascalCase, XML docs)Placeholders: {{CLASS_NAME}}, {{NAMESPACE}}, {{DESCRIPTION}}, {{MENU_PATH}}, {{FILE_NAME}}
See template-reference.md for detailed customization options.
Use this Skill when: Discussing template options, understanding template features, or getting guidance on script structure
Use @unity-scripter agent when: Writing custom scripts with specific requirements or implementing complex Unity features
Use @unity-refactor agent when: Improving existing scripts or restructuring code for better maintainability
Use /unity:new-script command when: Actually generating script files from templates with specific parameters
Use /unity:setup-test command when: Setting up complete test environments with test scripts
documentation
Splits large markdown documents into smaller, organized files based on level 2 (default) sections. Use if the user says perform shard document
development
Walk every branching path and boundary condition in content, report only unhandled edge cases. Orthogonal to adversarial review - method-driven not attitude-driven. Use when you need exhaustive edge-case analysis of code, specs, or diffs.
business
Perform a Cynical Review and produce a findings report. Use when the user requests a critical review of something
data-ai
Orchestrates group discussions between all installed BMAD agents, enabling natural multi-agent conversations. Use when user requests party mode.