majiayu000/claude-skill-registry-data/dagger-codegen
Claude Code and agent skill by majiayu000/claude-skill-registry-data
- community
Checking that the SKILL.md file is still in the repository.
Author "majiayu000" has blocked skill(s)
Edit dagger.gen.go output, Go templates (object.go.tmpl, defs.go.tmpl), invoke() dispatch, SDK interfaces (CodeGenerator, ClientGenerator), `dagger develop`, `dagger client install`. Keywords: codegen, SDK, bindings, templates, internal/dagger, dag.*, ModuleMainSrc
Install
npx vskill@latest install majiayu000/claude-skill-registry-data/dagger-codegenSKILL.md
The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/dagger-codegen.
Dagger Codegen
When to Load This Skill
- Editing
dagger.gen.goorinternal/dagger/dagger.gen.gooutput - Modifying Go templates in
cmd/codegen/generator/go/templates/ - Changing SDK interfaces in
core/sdk.go - Working on
dagger develop,dagger call, ordagger client install - Debugging why generated code looks wrong
Critical Concepts
"Codegen" means 4 different things in Dagger:
| # | Name | Trigger | Key Files | |
|---|---|---|---|---|
| 1 | In-Module Bindings | dagger develop | cmd/codegen/generator/go/templates/ | |
| 2 | Runtime Dispatch | Module startup | cmd/codegen/generator/go/templates/modules.go:140 | |
| 3 | SDK Libraries | go generate | sdk/go/generate.go | |
| 4 | Generated Clients | dagger client install | _dagger.gen.go/client.go.tmpl |
Know which one you're dealing with before editing.
Key Entry Points
| To change... | Edit | |
|---|---|---|
| Generated method signatures | cmd/codegen/generator/go/templates/src/_types/object.go.tmpl | |
| Generated type definitions | cmd/codegen/generator/go/templates/src/_types/*.go.tmpl | |
Module invoke() dispatch | cmd/codegen/generator/go/templates/modules.go:140 | |
Standalone client Connect() | cmd/codegen/generator/go/templates/src/_dagger.gen.go/client.go.tmpl | |
| Template functions | cmd/codegen/generator/go/templates/functions.go:54 | |
| SDK interfaces | core/sdk.go:20 (ClientGenerator), :93 (CodeGenerator) | |
| Built-in SDK list | core/sdk/consts.go | |
| Python output | sdk/python/codegen/src/codegen/generator.py |
Reference Files
Load based on specific need:
| Need | Load | |
|---|---|---|
| Understanding the 4 codegen types | codegen-types.md | |
| SDK architecture, interfaces, Go special case | sdk-architecture.md | |
| Go template conditionals, two-pass generation | go-templates.md | |
dagger client install internals | generated-clients.md |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdata/dagger-codegen/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/majiayu000/claude-skill-registry-data/dagger-codegen)