·go-enum
</>

go-enum

GO モジュラー アーキテクチャ規則に従って Go 列挙型を生成します (検証、コンストラクター、および String メソッドを備えた文字列ベースの列挙型)。 Internal/modules/<module>/enum/ でタイプセーフな文字列列挙を作成する場合、またはユーザーが列挙の作成、列挙型の追加、または列挙定数の定義を要求する場合に使用します。

15インストール·0トレンド·@cristiano-pacheco

インストール

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

go-enum のインストール方法

コマンドラインで go-enum AI スキルを開発環境にすばやくインストール

  1. ターミナルを開く: ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます
  2. インストールコマンドを実行: このコマンドをコピーして実行します: npx skills add https://github.com/cristiano-pacheco/ai-tools --skill go-enum
  3. インストールを確認: インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソース: cristiano-pacheco/ai-tools。

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:

GO モジュラー アーキテクチャ規則に従って Go 列挙型を生成します (検証、コンストラクター、および String メソッドを備えた文字列ベースの列挙型)。 Internal/modules/<module>/enum/ でタイプセーフな文字列列挙を作成する場合、またはユーザーが列挙の作成、列挙型の追加、または列挙定数の定義を要求する場合に使用します。 ソース: cristiano-pacheco/ai-tools。

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/cristiano-pacheco/ai-tools --skill go-enum
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-26
更新日
2026-03-11

Browse more skills from cristiano-pacheco/ai-tools

クイックアンサー

go-enum とは?

GO モジュラー アーキテクチャ規則に従って Go 列挙型を生成します (検証、コンストラクター、および String メソッドを備えた文字列ベースの列挙型)。 Internal/modules/<module>/enum/ でタイプセーフな文字列列挙を作成する場合、またはユーザーが列挙の作成、列挙型の追加、または列挙定数の定義を要求する場合に使用します。 ソース: cristiano-pacheco/ai-tools。

go-enum のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/cristiano-pacheco/ai-tools --skill go-enum インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソースリポジトリはどこですか?

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