home/categories/backend/epicenterhq-epicenter-skills-single-or-array-pattern-skill-md
backenddevelopment

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.

EpicenterHQ
maintainer
EpicenterHQ
Mis à jour 1/20/2026
Étoiles
3931
Forks
261
quick start

Installation and usage

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.

Installation
$ install --globalskills.sh
Utilisation

Après l'installation, vous pouvez utiliser ce skill en exécutant la commande suivante dans votre terminal :

skills use single-or-array-pattern