unity-patterns
Skill by Besty0728
Advises on choosing Unity design patterns for a given problem. It recommends one to three patterns and explains why simpler options are not enough.
Install unity-patterns
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Besty0728/Unity-Skills /tmp/Unity-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Unity-Skills/SkillsForUnity/unity-skills~/skills/patterns ~/.claude/skills/unity-patternsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Besty0728/Unity-Skills /tmp/Unity-Skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Unity-Skills/SkillsForUnity/unity-skills~/skills/patterns ~/.gemini/antigravity-cli/skills/unity-patternsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Unity Pattern Selector is an agent skill that helps decide whether a Unity design pattern is justified for a problem. It covers ScriptableObject, C# events and delegates, global event buses, interfaces, state machines, object pools, service layers, and generics or custom attributes. For each pattern it lists when to use it and when to avoid it.
The skill limits its answer to one to three patterns and explains why simpler options are not enough. For non-trivial choices it suggests a Decision Lab, which compares two or three implementations on switch cost, query cost, code complexity, and failure modes. It is aimed at Unity developers choosing an architecture approach. The source is documentation only.
Written from the project's SKILL.md and checked against it.
What it can do
- Pattern guideLists when to use and when to avoid nine Unity patterns, from ScriptableObject to generics.
- Pattern recommendationRecommends at most one to three patterns and explains why simpler options are not enough.
- Decision LabCompares two or three implementations of the same goal on cost, complexity and failure modes.
- Structured outputReturns recommended patterns, fit, simpler alternative, implementation boundary and tradeoffs.
Try asking
- Which Unity pattern fits a system that spawns many bullets?
- Compare a state machine with boolean flags for my enemy AI in Unity.
- Should I use C# events or a service layer for my Unity game?
Good to know
- Recommends at most one to three patterns per answer.
- Documentation only, with no REST skills to gate.
- Decision Lab is meant for choices that will outlive the current task.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: SkillsForUnity/unity-skills~/skills/patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to unity-patterns
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
unity-patterns: common questions
Does this skill write Unity code?
The source describes it as documentation only. Its output format includes a minimal implementation boundary, but no code generation is described.
When should I skip the Decision Lab?
Skip it when one option is clearly bounded, such as N of 10 or fewer, a state that changes once per session, or code that runs once at startup. A short paragraph explaining the simplest choice is enough then.
Which Unity patterns does it cover?
It covers ScriptableObject, C# events and delegates, global event bus or observer hub, interfaces, state machine, object pool, service layer, and generics or custom attributes.
How do I install unity-patterns?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is unity-patterns free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is unity-patterns safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to unity-patterns?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
