
Skmtc lang go
Guides generators that write Go code with the Skmtc Go language layer
Skmtc lang go is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 20
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Skmtc lang go
This skill is the Go target-language reference for Skmtc code generators. It explains how the @skmtc/lang-go package declares Go output: the projection base factories, the snippet class, how generated files register imports, and how identifiers such as types, aliases, functions and methods are rendered.
It covers the rules that keep generated Go compiling. Files in one folder form one package, names must be unique across that package, and file names are checked against Go build-tag rules. It also describes how pointers represent absent values, how struct tags are built, how methods are attached to an index type, and how names are converted to Go casing. A table of producers and a pitfalls table map common compiler errors to their fixes.
The skill is meant to be read alongside a generator skill and assumes familiarity with TypeScript and the Skmtc generator structure. It names Go 1.24 as the target version and the google/go-github style as its reference.
When your agent uses it
The Go target-language layer for Skmtc generators (@skmtc/lang-go). It covers the projection base factories, GoSnippet, the register shape with package imports, the four identifier kinds, one folder as one package, the head and value render model, methods as members of a type, pointers for absent values, and the producers for structs, functions, blocks and names. Use ALONGSIDE skmtc-generator whenever a generator writes Go.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (13 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/skmtc-lang-go to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/skmtc-lang-go &&
cp -R "$tmp/deno/docs/skills/skmtc-lang-go" ~/.claude/skills/skmtc-lang-go &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/skmtc-lang-go inside it instead.
Copy the skill folder to ~/.agents/skills/skmtc-lang-go to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/skmtc-lang-go &&
cp -R "$tmp/deno/docs/skills/skmtc-lang-go" ~/.agents/skills/skmtc-lang-go &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/skmtc-lang-go inside it instead.
Copy the skill folder to ~/.cursor/skills/skmtc-lang-go to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/skmtc-lang-go &&
cp -R "$tmp/deno/docs/skills/skmtc-lang-go" ~/.cursor/skills/skmtc-lang-go &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/skmtc-lang-go inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/skmtc/skmtc.git --path deno/docs/skills/skmtc-lang-goOr copy the folder to ~/.gemini/skills/skmtc-lang-go yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/skmtc-lang-go:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/skmtc-lang-go &&
cp -R "$tmp/deno/docs/skills/skmtc-lang-go" ~/.copilot/skills/skmtc-lang-go &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/skmtc-lang-go inside it instead.
Get the folder:
git clone --depth 1 https://github.com/skmtc/skmtc.gitThen copy skmtc/deno/docs/skills/skmtc-lang-go into your agent's skills folder as skmtc-lang-go. Agents that support SKILL.md read one folder per skill.
What it does
- Projection base factories
- Explains the factories that declare Go as the target language for model and OpenAPI operation generators.
- Package and file rules
- Covers how folders become Go packages and which file names Go build tooling would ignore or misread.
- Import registration
- Describes how generated files register standard library and third-party package imports.
- Pointers and optional fields
- Sets out when Go values become pointers and how omitzero tags handle absent fields.
- Name and literal helpers
- Documents converting text into exported, unexported and file names, and escaping Go string literals.
- Common compiler errors
- Lists typical Go build errors from generated code with the fix for each.
Good for
- Write a generator that produces Go structs from an OpenAPI schema
- Generate a Go HTTP client with a service type and methods
- Fix a Go build error such as an unused import in generated code
- Decide when a generated Go field should be a pointer
- Name generated Go files and types so they compile in one package
Skmtc lang go FAQ
Which generator skill should be used with this one?
It is meant to be used alongside skmtc-generator whenever a generator writes Go.
What Go version does the generated code target?
Generated code targets Go 1.24 or later.
Does the skill include scripts or tools to run?
No scripts are included; it is a single SKILL.md reference file.
How do I install Skmtc lang go in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/skmtc-lang-go to use it in all your projects, or to .claude/skills/skmtc-lang-go in one project.
Does Skmtc lang go run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Skmtc lang go?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Skmtc lang go?
The closest alternatives to Skmtc lang go are Skmtc lang swift, Skmtc lang scala, Skmtc lang erlang, Skmtc lang csharp and Skmtc lang rust.
Where this comes from
- Description: from the skill's own SKILL.md.
More from skmtc/skmtc

Guides an agent to write, restructure, or review docs by content type and audience
- Open source
- 20 GitHub stars
- Developer tools

Explains Skmtc's codegen engine so agents can build infrastructure around it
- Open source
- 20 GitHub stars
- Developer tools

Lets an agent run the Skmtc CLI to generate code from OpenAPI documents
- Open source
- 20 GitHub stars
- Developer tools

Walks an agent through diagnosing failed Skmtc generation runs using manifest and parse
- Open source
- 20 GitHub stars
- Developer tools

Guides writing and editing Skmtc generators that turn OpenAPI documents into code
- Open source
- 20 GitHub stars
- Developer tools

Guides an agent writing C# code in Skmtc generators via @skmtc/lang-csharp
- Open source
- 20 GitHub stars
- Developer tools

