decocms/studio/templating
Claude Code and agent skill by decocms/studio
- community
Checking that the SKILL.md file is still in the repository.
Render any text file (HTML, markdown, config, SQL, email) from a mustache template plus JSON data. Use when an output's shape is fixed ahead of time and only the values change.
Install
npx vskill@latest install decocms/studio/templatingSKILL.md
templating — fill data into text-file templates
Render any text file (HTML, markdown, config, SQL, email, …) from a mustache template plus JSON data. Use this whenever the shape of an output is known ahead of time and only the values change — it is faster and less error-prone than writing the file by hand.
Other skills build on this one (e.g. slides composes presentation decks from slide templates).
Quick reference
| Task | Command | |
|---|---|---|
| Render with inline data | create-from-template --template t.html --data '{"name":"Ada"}' --output out.html | |
| Render with a data file | create-from-template --template t.html --data @data.json --output out.html | |
| Fail on missing keys | add --strict | |
| Overwrite existing output | add -f | |
Use partials ({{>name}}) | add --partials-dir ./partials |
The command prints the absolute output path on success and exits non-zero with a message on any error (bad JSON, missing template, existing output without -f, missing keys under --strict).
Template syntax (mustache)
| Syntax | Meaning | |
|---|---|---|
{{name}} | Insert value, HTML-escaped | |
{{{name}}} | Insert value raw (no escaping) — for trusted HTML fragments | |
{{#items}}…{{/items}} | Repeat block for each array item; also renders for truthy values | |
{{.}} | The current item inside a list block | |
{{^items}}…{{/items}} | Render block only when the value is empty/falsy/missing | |
{{user.name}} | Dotted path lookup | |
{{>header}} | Include partial header (resolved from --partials-dir as header or header.html) | |
{{!comment}} | Comment, never rendered |
Example:
Workflow tips
- Keep data in a JSON file (
--data @data.json) when it is more than a
couple of fields — easier to iterate on than a long inline string.
- Use
--strictwhile developing a template to catch typos in key names;
drop it when optional keys are intentional.
- Templates are plain text files — author your own anywhere (the org home
folder under /app/org/home/templates/ is a good durable place for organization-wide templates).
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/sandbox/image/skills/templating/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/decocms/studio/templating)