ワンクリックで
degg-generator
Generator guidance for declaration parsing, validation, enum template output, examples, and generated Go formatting in degg.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generator guidance for declaration parsing, validation, enum template output, examples, and generated Go formatting in degg.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Local development workflow for degg. Use when orienting in the workspace, choosing just/go/GoReleaser commands, or validating general changes.
Release guidance for GoReleaser, GitHub Actions release tags, binary archives, Devbox tooling, and CLI version metadata in degg.
| name | degg-generator |
| description | Generator guidance for declaration parsing, validation, enum template output, examples, and generated Go formatting in degg. |
Use this skill when changing declaration semantics, validation, generated code, templates, or examples.
Supported inputs are YAML and JSON. A declaration must include:
namepackagetypevalues or named-valuesThe supported enum types are string and int.
Generation is coordinated by cmd/degg/main.go:
internal/generator.go/format.Keep generated helper names and error behavior stable unless the task explicitly changes the public generated API.
Template output lives under internal/generator/templates/. The example
directories under examples/ should represent real generated output. When the
template changes, update tests first and refresh examples only when their
behavior is intentionally changed.
FromName behavior is user-facing.named-values for int must remain parseable as integers.Run:
go test ./...
just run degg -- -i examples/color/color.yml -o /tmp/color_enum.go