One-click install
npx skills add https://github.com/iki/skills --skill gomplate-iki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gomplate
Source: https://github.com/iki/skills/tree/main/gomplate
Command: npx skills add https://github.com/iki/skills --skill gomplate-iki

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates manual, error-prone text generation and one-off data transformations by letting you render deterministic outputs from structured inputs using Go templates.

Core Features & Use Cases

  • Dynamic template rendering: Generate configuration and other text outputs using Go text/template syntax extended with gomplate functions.
  • Multi-source data inputs: Pull data from environment variables, files, URLs, and cloud metadata so outputs adapt to runtime context.
  • Powerful function pipelines: Convert and transform data across formats (JSON/YAML/TOML/CSV), format strings, validate assumptions, and run conditional logic.

Quick Start

Render a template into YAML by reading JSON from an environment variable, converting it to YAML, and printing the result.

Frequently Asked Questions about gomplate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate environment-aware configuration files from JSON and YAML data?

Generate environment-aware configuration files by rendering Go text/template syntax against external datasources like environment variables, URLs, and cloud metadata. This Skill transforms structured JSON, YAML, TOML, and CSV inputs into deterministic text outputs using rich function pipelines.

Can I convert JSON to YAML using Go templates for configuration generation?

Yes, you can convert JSON to YAML using Go template syntax extended with gomplate functions. The Skill supports multi-format conversions across JSON, YAML, TOML, and CSV by reading structured data from environment variables or files and printing the transformed result.

What is the best way to dynamically pull runtime metadata into generated configurations?

Dynamically pull runtime metadata into generated configurations by binding external datasources to your templates. The Skill supports lazy datasource loading from cloud providers, environment variables, files, and URLs so outputs adapt to the specific runtime context.

Does this template rendering approach support namespaces for strings, math, and cloud providers?

Yes, template rendering supports Go text/template-compatible syntax with extensive namespaces including env, data, strings, math, crypto, net, aws, and gcp. These namespaces provide functions to format strings, validate assumptions, and run conditional logic.

How do I handle missing or invalid variables when rendering configuration templates?

Handle missing or invalid variables using deterministic error handling for required and validated template inputs. The Skill ensures consistent outputs by eliminating manual text generation errors and validating assumptions during the template rendering pipeline.

When should I use a template engine instead of manual text generation for data transformation?

Use a template engine for data transformation when you need deterministic outputs from structured inputs across multiple formats. It eliminates error-prone manual text generation and one-off data transformations by applying conditional logic and function pipelines to JSON, YAML, TOML, and CSV data.