Registry / prisma

prisma/orm/ast-visitor-pattern

Use the frozen-class/visitor pattern for discriminated unions that have multiple dispatch sites. Use when creating a new set of variants (commands, IR nodes, factory calls) that will be switched over in 2+ places, or when refactoring an existing union type that has grown multiple switch sites.

Agent skill · version 8.0.0-rc.23-dev.7 · from prisma/orm

Install

npx yarkr-cli add skill:prisma/orm/ast-visitor-pattern

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:prisma/orm/ast-visitor-pattern
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:prisma/orm/ast-visitor-pattern

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:prisma/orm/ast-visitor-pattern

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.