gova-declarative-gui — Claude Code skill: what it does, how to install
gova-declarative-gui teaches an agent to build native desktop apps in Go with Gova, a declarative framework where components are structs and state lives in a Scope.
no license 290 installs ★ 98 updated 2026-10-09
npx skills add reason-machines/trending-skills --skill gova-declarative-gui -a claude-codeWhat gova-declarative-gui does
The skill gives an agent the shape of a Gova app: every component is a Go struct with a Body(s *g.Scope) g.View method, its fields act as typed props, and state sits on the Scope via g.State, g.Derived and g.Effect. Layout primitives (VStack, HStack, ZStack, Scaffold) and ready-made views such as TextField and Toggle are covered too.
On the tooling side it documents gova dev ./path/to/app, which rebuilds and relaunches when a .go file changes, and gova build, which writes the binary to ./bin/<name>. Native dialogs and the Dock badge on macOS go through system APIs; elsewhere the framework falls back to Fyne.
Go 1.26+ and a C toolchain are required — Xcode CLT on macOS, build-essential with libgl1-mesa-dev on Linux, MinGW on Windows. Without it the build stops at compile time, so check the environment before the first gova run.
What it helps with
- scaffold a Go desktop window out of plain structs
- keep counter state in
Scopeinstead of globals - rebuild and relaunch on save with
gova dev - open a native file picker on macOS
- produce one static binary from
go build
Example prompts for the agent
- Build a Go desktop todo app with Gova: a
TextField, an add button and aToggleper row. - Move this counter into
g.Stateso the view re-renders when it changes. - Wire an
OpenFileDialogbutton that stores the chosen path in state.
How to install gova-declarative-gui
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill gova-declarative-gui -a claude-code2Manually: put the files in place
~/.claude/skills/gova-declarative-gui/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/gova-declarative-gui/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill gova-declarative-gui -a codex2Manually: put the files in place
.agents/skills/gova-declarative-gui/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill gova-declarative-gui -a cursor2Manually: put the files in place
.cursor/skills/gova-declarative-gui/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/trending-skills skills/gova-declarative-gui2Manually: put the files in place
.github/skills/gova-declarative-gui/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill gova-declarative-gui -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/trending-skills --path skills/gova-declarative-guiManually: put the files in place
.devin/skills/gova-declarative-gui/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill gova-declarative-gui -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about gova-declarative-gui
How do I install gova-declarative-gui in Claude Code?
Run npx skills add reason-machines/trending-skills --skill gova-declarative-gui -a claude-code. The skill lands in ~/.claude/skills/gova-declarative-gui/SKILL.md.
What does gova-declarative-gui do?
It hands the agent Gova's API: struct components, state in Scope, layout primitives and built-in views, so generated Go code matches the framework.
What do I need to build a Gova app?
Go 1.26+ and a C toolchain — Xcode CLT on macOS, build-essential with libgl1-mesa-dev on Linux, MinGW on Windows.