# Go Template CLI

> Use this skill when the user wants to render Go text/templates with JSON, YAML, or TOML data.

- Skill: `javimosch/go-template-cli` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/go-template-cli`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/go-template-cli/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/go-template-cli

---


# go-template-cli Plugin

CLI tool for rendering Go text/templates with JSON, YAML, or TOML data context.

## Commands

### File Rendering
- `go-template-cli file render` — Render Go templates with data context

## Usage Examples
- "Render this Go template with JSON data"
- "Use a Go template to generate a Kubernetes manifest"
- "Substitute variables using Go template syntax"

## Installation

```bash
go install github.com/nicm/go-template-cli@latest
```

## Examples

```bash
go-template-cli template.tmpl --data context.json
go-template-cli manifest.tmpl --data values.yaml --output result.yaml
go-template-cli config.tmpl -d key=value
```

## Key Features
- Go text/template syntax support
- JSON, YAML, and TOML data input
- Custom template functions
- Pipeline support
- Kubernetes manifest generation

