·go-enum

Generate Go enums following GO modular architecture 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.

15Installs·2Trend·@cristiano-pacheco

Installation

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

How to Install go-enum

Quickly install go-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-tools --skill go-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-tools.

SKILL.md

View raw

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

Note: When a file contains a struct with methods, do not add standalone functions. Use private methods on the struct instead. For enum files, the private validate function is acceptable because the enum struct is a simple value wrapper without complex methods.

For an enum named "ContactType" with values "email" and "webhook" in the monitor module:

Generate Go enums following GO modular architecture 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-tools.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

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

Browse more skills from cristiano-pacheco/ai-tools

Quick answers

What is go-enum?

Generate Go enums following GO modular architecture 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-tools.

How do I install go-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-tools --skill go-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-tools