home/categories/backend/epicenterhq-epicenter-agents-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
์—…๋ฐ์ดํŠธ๋จ 2026. 3. 5.
์Šคํƒ€
4394
ํฌํฌ
319
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.

์„ค์น˜
$ install --globalskills.sh
์‚ฌ์šฉ๋ฒ•

์„ค์น˜ ํ›„ ํ„ฐ๋ฏธ๋„์—์„œ ๋‹ค์Œ ๋ช…๋ น์„ ์‹คํ–‰ํ•˜์—ฌ ์ด ์Šคํ‚ฌ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:

skills use single-or-array-pattern