# kd-gen

> kd-gen — khuong02-kd-gen. Use this tool when you need to automate the creation of type-safe enums in Go, reducing boilerplate code and enhancing code safety. It takes YAML configuration files as input and generates Go enum types along with their associated helper methods as output. Ideal for use in Go projects where enum types are frequently used, streamlining development and minimizing errors.

Canonical page: https://skillsregistry.net/skills/khuong02-kd-gen  
JSON: https://api.skillsregistry.net/v1/skills/khuong02-kd-gen

## Description

The kd-gen is a Go code generation tool designed to create type-safe enums from YAML configuration files. This tool automates the generation of Go enum types along with their associated helper methods, enhancing code safety and reducing boilerplate.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **License:** MIT
- **Updated:** 2026-09-20

## Source

- **Source listing:** [GitHub](https://github.com/khuong02/kd-gen)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "khuong02-kd-gen"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/khuong02-kd-gen` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/khuong02-kd-gen/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
