template-variables

Detect, normalize, and compile template variables in multiple syntaxes.

8|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/SufficientDaikon/omniskill --skill template-variables
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: template-variables
Source: https://github.com/SufficientDaikon/omniskill/tree/main/skills/template-variables
Command: npx skills add https://github.com/SufficientDaikon/omniskill --skill template-variables

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of managing and populating text templates that contain placeholders in various formats, ensuring consistency and accuracy in text generation.

Core Features & Use Cases

  • Multi-format Detection: Identifies placeholders like {{name}}, [ROLE], ${value}, <VAR>, and %var%.
  • Normalization: Converts all detected variable formats to a single, consistent style (defaulting to Mustache {{name}}).
  • Compilation: Fills placeholders with provided values, handling case-insensitivity and preserving unfilled variables.
  • Use Case: You have a marketing email template with placeholders in different styles. Use this Skill to normalize them to {{placeholder}} and then fill them with customer-specific data to generate personalized emails.

Quick Start

Use the template-variables skill to detect all placeholders in the provided text.

Frequently Asked Questions about template-variables

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

FAQPage Schema
How do I normalize different text placeholder formats like Mustache and brackets in one pass?

To normalize text placeholders, this Skill detects mixed syntaxes like {{name}}, [ROLE], and %var%, converting them all into a consistent Mustache format for unified template processing.

Can I fill template variables with data while preserving unfilled placeholders?

Yes, text interpolation compiles detected placeholders with provided values, handling case-insensitivity and safely preserving any unfilled variables within the original text content.

What placeholder syntaxes are supported for text interpolation in dynamic content generation?

Supported placeholder syntaxes include Mustache {{name}}, Bracket [ROLE], Dollar ${value}, Angle <VAR>, and Percent %var%, enabling multi-format detection across diverse template systems.

Does this template system require TypeScript for parsing and transforming variable formats?

Yes, robust parsing and transformation of variable formats requires TypeScript implementation to accurately detect, normalize, and compile template variables across multiple syntaxes.

What is the best way to standardize marketing email templates containing mixed placeholder styles?

Standardizing mixed placeholder styles involves detecting varied formats like <VAR> and ${value}, normalizing them to a single style, and filling them with customer-specific data for personalized emails.

Why does my template variable normalization fail when combining multiple syntaxes in one document?

Normalization issues with mixed syntaxes often stem from unsupported formats; this Skill specifically targets Mustache, Bracket, Dollar, Angle, and Percent syntaxes for successful detection and conversion.