MuharremTozan/Agentic-Duel / .agent/skills/unity-abstract-factory
unity-abstract-factory
VerifiedFactory pattern for creating families of related objects. Supports both ScriptableObject composition and simple prefab instantiation.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 741 B |
| assets/code/EquipmentFactory.cs.txt | markdown | 1.1 KB |
| assets/code/Factory.cs.txt | markdown | 1.0 KB |
| references/guide.md | markdown | 1.6 KB |
SKILL.md
View on GitHub---
name: unity-abstract-factory
description: Factory pattern for creating families of related objects. Supports both ScriptableObject composition and simple prefab instantiation.
---
# Unity Abstract Factory
Minimal factory pattern implementation for object creation.
## Core Features
1. **Generic Interface**: `IFactory<T>` for type-safe creation
2. **SO-Based Factories**: Data-driven object families
3. **Simple Prefab Factory**: Quick GameObject spawning
## Core Files (2 files)
- `Factory.cs.txt`: Complete factory pattern (interface + SO base + prefab factory)
- `EquipmentFactory.cs.txt`: Example themed factory implementation
## Usage
Inherit from `Factory<T>` for complex families, or use `PrefabFactory` for simple spawning.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |