single-or-array-pattern

Pattern for functions that accept either a single item or an array. Use when creating CRUD operations, batch processing APIs, or factory functions that should flexibly handle one or many inputs.

by EpicenterHQ· Repository·development
Also installable via skills CLI
npx skills add EpicenterHQ/epicenter/skills/single-or-array-pattern

Source

Path:skills/single-or-array-pattern(main)

Related in development

single-or-array-pattern | AgentArea Skills