verify-enum-values
CommunityPrevent enum drift before it breaks builds.
Software Engineering#kotlin#documentation sync#string literals#game logic#enum validation#backend parity
Authorwangdaqian08
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents silent bugs caused by enum string literals drifting across code, scripts, tests, and documentation. It helps you verify that every value you write matches the backend source of truth before it causes runtime rejection or hard-to-trace failures.
Core Features & Use Cases
- Source-of-Truth Checking: Confirms literals against backend/src/main/kotlin/com/werewolf/model/Enums.kt before use.
- Cross-File Parity: Helps keep Kotlin enums, dispatchers, handlers, database constraints, frontend types, CLI wrappers, and docs aligned.
- Safe Renames: Supports renaming enum values without breaking gameplay logic or external references.
- Use Case: Before changing a werewolf action, phase, or role value, use this Skill to verify the exact literal and update every dependent layer consistently.
Quick Start
Use the verify-enum-values skill to confirm the exact enum literal you plan to add or change against backend/src/main/kotlin/com/werewolf/model/Enums.kt before editing any related code or documentation.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: verify-enum-values Download link: https://github.com/wangdaqian08/werewolf-simple/archive/main.zip#verify-enum-values Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.