enum-plus

Installation
SKILL.md

Enum Plus

Overview

Use Enum(...) when plain constants or native enum are not enough and the task needs labels, metadata, option lists, reverse lookup, or enum-aware typing. Prefer the standard object form in application code because it keeps UI text, metadata, and lookups in one place.

Workflow

  1. Pick one enum shape and keep it consistent for the whole enum.
  2. Prefer the standard { value, label, ...meta } form unless the task is intentionally simpler.
  3. Use built-in enum methods before writing custom maps or switch statements.
  4. Read the matching reference file for deeper details.

Choose the Input Form

Installs
1
GitHub Stars
26
First Seen
Jul 30, 2026
enum-plus — antdv-next/admin