一键导入
degg-dev-workflow
Local development workflow for degg. Use when orienting in the workspace, choosing just/go/GoReleaser commands, or validating general changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Local development workflow for degg. Use when orienting in the workspace, choosing just/go/GoReleaser commands, or validating general changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generator guidance for declaration parsing, validation, enum template output, examples, and generated Go formatting in degg.
Release guidance for GoReleaser, GitHub Actions release tags, binary archives, Devbox tooling, and CLI version metadata in degg.
| name | degg-dev-workflow |
| description | Local development workflow for degg. Use when orienting in the workspace, choosing just/go/GoReleaser commands, or validating general changes. |
Use this skill for repo orientation, command selection, and everyday implementation hygiene across the workspace.
degg is a single-module Go project. The main binary is cmd/degg, supported
by repo-local packages in internal/.
cmd/degg/ - CLI entrypoint, flags, validation, and program metadata.internal/declaration/ - declaration format parsing and validation.internal/generator/ - code generation and template execution.internal/system/ - filesystem helpers.examples/ - declaration examples and generated outputs.Prefer devbox shell when available.
just list
just build degg
just run degg -- -i examples/color/color.yml -o /tmp/color_enum.go
go test ./...
Use just test when you want to match the repository recipe that excludes
examples.
internal/declaration/ and CLI flag/path checks
in cmd/degg/..devbox/, bin/, dist/, or
temporary generated scratch files.Run the smallest useful checks first. Before finishing a meaningful change, prefer:
go test ./...
just build degg
For release behavior, add:
goreleaser check
goreleaser release --snapshot --clean
Recent history uses concise subjects such as feat: ... and chore: ....
Keep commits focused and do not stage unrelated user changes.