acc-create-visitor

Installation
SKILL.md

Visitor Pattern Generator

Creates Visitor pattern infrastructure for operations on object structures without modifying classes.

When to Use

Scenario Example
Operations on object structure Calculate price/tax on order items
Adding operations without modification Export visitors (JSON, XML, CSV)
Different operations on same elements Validation, transformation, rendering
Double dispatch needed Type-specific behavior without instanceof

Component Characteristics

Visitor Interface

  • Declares visit methods for each element type
  • One method per visitable element
  • Returns operation result
Related skills
Installs
1
GitHub Stars
71
First Seen
Feb 11, 2026