ymr

Render YAML templates with directive-based substitutions and CEL validations.

1|Updated Nov 6, 2025
One-click install
npx skills add https://github.com/lnrdll/ymr --skill ymr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ymr
Source: https://github.com/lnrdll/ymr/tree/main
Command: npx skills add https://github.com/lnrdll/ymr --skill ymr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires go, git, tar, zip, sha256sum, shasum, and includes scripts (resource) components.

What problem does it solve?

YAML templating is repetitive and error-prone; ymr automates directive-based substitutions to produce finalized YAML with consistent results.

Core Features & Use Cases

  • Directive-based rendering using from-param and from-param-merge to replace and merge content
  • Go text/template support with helpers lower, upper, and replace for flexible formatting
  • Works for both spec-driven workflows (with templates, targets, and parameters) and spec-less rendering in CI/CD pipelines

Quick Start

Run ymr with a spec.yaml to render multiple templates for multiple targets, or use a single template in spec-less mode to render to stdout or files.

Frequently Asked Questions about ymr

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

FAQPage Schema
How do I render YAML templates with variable substitution in a CI/CD pipeline?

You can render YAML templates in a CI/CD pipeline using spec-less mode to process a single template with directive-based substitutions, outputting finalized YAML directly to stdout or files.

What is directive-based YAML processing and how does it work?

Directive-based YAML processing applies specific rules like from-param and from-param-merge to replace or merge content within templates, ensuring consistent and automated finalization of YAML configurations.

Can I use Go template helpers for YAML formatting and string manipulation?

Yes, YAML rendering supports Go text/template helpers including lower, upper, and replace, providing flexible string formatting and parameter substitution directly within your template files.

Does YAML templating with param substitution support multiple targets and spec files?

Yes, spec-driven workflows support rendering multiple templates across multiple targets using a spec.yaml file, while also offering spec-less rendering for single-template use cases.

What dependencies are needed to run Go template-based YAML rendering tools?

Running this YAML rendering tool requires Go, git, tar, zip, and checksum utilities like sha256sum and shasum to be installed in your execution environment.

How do I validate rendered YAML outputs after parameter substitution?

You can validate rendered YAML outputs by defining optional CEL-based validations within your templates, ensuring the finalized configurations meet required constraints after substitution.