Skip to content

orbit-logistics/mustachio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Mustachio

An agent skill that produces correct Mustachio template syntax for Postmark email templates.

The Problem

Mustachio and Mustache look almost identical — both use {{ }} curly braces — but they are different engines with different rules. Because Mustache dominates LLM training data, AI coding assistants consistently generate Mustache syntax when asked to write Postmark templates. The errors are subtle and silent: no exceptions are thrown, the template just renders incorrectly.

Common mistakes this skill prevents:

What LLMs write What Mustachio actually needs
{{#items}}...{{/items}} to loop {{#each items}}...{{/each}}
{{#if condition}} {{#property}} (truthiness section)
{{else}} {{^property}} (inverted section)
{{> partial}} Not supported — inline everything

Install

npx skills add orbit-logistics/mustachio

What's Included

File Purpose
SKILL.md Complete Mustachio syntax reference and template-writing workflow

The skill covers:

  • Full Mustachio feature set (interpolation, sections, loops, scoping)
  • Explicit list of unsupported syntax from Mustache/Handlebars
  • Postmark's Layout + Template architecture
  • Section scoping rules (scalar vs. object vs. array)
  • Truthiness table for conditional logic
  • Self-check checklist before finalizing any template

Usage

Once installed, the skill activates automatically when you ask your agent to write or modify Postmark email templates. It also activates when you work with {{ }} curly-brace placeholders destined for Postmark.

You can also invoke it explicitly in Claude Code:

/mustachio Write a password reset template with the model { userName, resetLink, expiresIn }

Example

Prompt: "Write a Postmark template for an order confirmation with items list"

Without this skill — the agent writes Mustache syntax:

{{#items}}
  <tr><td>{{ name }}</td><td>{{ price }}</td></tr>
{{/items}}

This renders as a single truthy check in Mustachio. The items are never iterated.

With this skill — the agent writes correct Mustachio:

{{#each items}}
  <tr><td>{{ name }}</td><td>{{ price }}</td></tr>
{{/each}}

Built by Orbit — the AI-first Logistics Operating System.

About Orbit

Orbit is the AI-first Logistics Operating System. We help logistics teams solve the complexity of transport planning and execution by providing a modular, end-to-end platform that automates workflows, enables seamless collaboration, and runs logistics more efficiently.

Orbit serves as an event-driven, API-first, and agent-ready foundation — giving companies all the tools they need to rethink, rebuild, and scale entirely new digital logistics models and services.

Vision: Making logistics better through technology.

Learn more at orbit.do

About

Agent skill for writing correct Mustachio template syntax for Postmark email templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors