ZooWork
ZooWork Market · Skill

extract-enum

Use when refactoring TypeScript code that repeats a fixed set of meaningful values into a shared enum. Apply this when replacing repeated domain strings such as statuses, roles, or states with a reusable string enum, deciding when a union type is better for UI-only props, and migrating call sites without numeric enums, implicit values, reverse lookups, const enums, or declaration merging.

◇
batoanng
batoanng-ai-agent-extract-enum · v1.0.1
分类coding-agents-ides
安装次数9
更新时间2026-08-09T01:27:30.195Z
校验状态待验证