원클릭으로
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