MuharremTozan/Agentic-Duel / .agent/skills/unity-visitor-pattern
unity-visitor-pattern
VerifiedImplements the Visitor pattern for decoupled operations on object structures. Perfect for PowerUp systems and complex stat modifications.
Unity Visitor Pattern
This skill provides a modular implementation of the Visitor pattern, specifically optimized for Unity systems where multiple component types need shared modification logic (e.g., PowerUps).
Core Features
- Double Dispatch: Safe and structured way to handle operations on multiple types.
- Scriptable Visitors: Data-driven logic providers that can be easily configured in the Inspector.
- Decoupled Logic: Keep your core components clean of "logic leakage" from external systems.
Core Files (Max 3)
VisitorCore.cs.txt: Base interfaces and visitable component base.ScriptableVisitor.cs.txt: Pro-path ScriptableObject implementation.VisitorExample.cs.txt: Concrete example for stat modification.
Usage
Refer to guide.md for implementation details and Pro/Light path distinctions.
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: 196k | 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: 192k | 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: 192k | 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: 192k | Updated | Claude CodeCodex | Verified | Install |