single-or-array-pattern
π―Skillfrom epicenterhq/epicenter
single-or-array-pattern skill from epicenterhq/epicenter
Part of
epicenterhq/epicenter(28 items)
Installation
git clone https://github.com/EpicenterHQ/epicenter.gitbun install # Will prompt to upgrade if your Bun version is too oldbun devbun install # Reinstall dependenciesbun installSkill Details
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.
More from this repository10
documentation skill from epicenterhq/epicenter
svelte skill from epicenterhq/epicenter
git skill from epicenterhq/epicenter
error-handling skill from epicenterhq/epicenter
styling skill from epicenterhq/epicenter
Enforces TypeScript best practices for type definitions, naming conventions, code organization, and type safety patterns.
Crafts concise social media guidelines for developers to share technical content effectively across LinkedIn, Reddit, and Twitter/X.
control-flow skill from epicenterhq/epicenter
rust-errors skill from epicenterhq/epicenter
honesty skill from epicenterhq/epicenter