·go-create-enum
</>

go-create-enum

Generate Go enums following GO modular architechture conventions (string-based enums with validation, constructor, and String method). Use when creating type-safe string enumerations in internal/modules/<module>/enum/ or when user asks to create an enum, add an enum type, or define enum constants.

8Installs·0Trend·@cristiano-pacheco

Installation

$npx skills add https://github.com/cristiano-pacheco/ai-rules --skill go-create-enum

How to Install go-create-enum

Quickly install go-create-enum AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/cristiano-pacheco/ai-rules --skill go-create-enum
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: cristiano-pacheco/ai-rules.

SKILL.md

View raw

Generate type-safe Go enums following GO modular architechture conventions.

For an enum named "ContactType" with values "email" and "webhook":

Other code creates enums via the constructor (validation happens internally):

Generate Go enums following GO modular architechture conventions (string-based enums with validation, constructor, and String method). Use when creating type-safe string enumerations in internal/modules/<module>/enum/ or when user asks to create an enum, add an enum type, or define enum constants. Source: cristiano-pacheco/ai-rules.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/cristiano-pacheco/ai-rules --skill go-create-enum
Category
</>Dev Tools
Verified
First Seen
2026-02-20
Updated
2026-03-10

Browse more skills from cristiano-pacheco/ai-rules

Quick answers

What is go-create-enum?

Generate Go enums following GO modular architechture conventions (string-based enums with validation, constructor, and String method). Use when creating type-safe string enumerations in internal/modules/<module>/enum/ or when user asks to create an enum, add an enum type, or define enum constants. Source: cristiano-pacheco/ai-rules.

How do I install go-create-enum?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/cristiano-pacheco/ai-rules --skill go-create-enum Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/cristiano-pacheco/ai-rules