advanced-design-patterns
CommunityArchitect scalable, decoupled Unity systems
AuthorCriezzz
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill converts monolithic, tightly-coupled Unity C# code into modular, testable, and maintainable architectures so teams can avoid God Classes, circular dependencies, and brittle gameplay logic.
Core Features & Use Cases
- Pattern Templates: Ready-made interface and implementation templates for Strategy, Factory (with pooling), Observer, and Command patterns tailored for Unity.
- Generator Script: A pattern_gen.py script to scaffold concrete classes, factories, subjects, and commands to accelerate development.
- Best Practices & Audit: SOLID-focused guidance, lifecycle safety (unsubscribe in OnDisable/OnDestroy), pooling requirements, and an architecture audit checklist.
- Use Case: Replace a monolithic EnemyController with injectable strategy behaviors, spawn pooled projectiles via a PooledFactory, and update UI via an Observer-based subject to eliminate tight coupling.
Quick Start
Generate a strategy for EnemyAI using the provided generator and wire the produced interfaces into your EnemyController to swap behaviors at runtime.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: advanced-design-patterns Download link: https://github.com/Criezzz/Gametopia2026/archive/main.zip#advanced-design-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.