carbone

Explain and validate Carbone templating syntax for DOCX, XLSX, PPTX, HTML, Markdown, and PDF.

4|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/carboneio/carbone-skill --skill carbone
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: carbone
Source: https://github.com/carboneio/carbone-skill/tree/main/carbone
Command: npx skills add https://github.com/carboneio/carbone-skill --skill carbone

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides authoritative guidance for Carbone templating, helping AI assistants answer questions about Carbone syntax, validate templates, and map JSON data to documents without inventing syntax.

Core Features & Use Cases

  • Tag syntax, loops, conditions, formatters, and the :set pattern for transforming data inside templates.
  • HTML/Markdown template design, multi-format output (DOCX/XLSX/PPTX/PDF/HTML/MD), i18n, and validation workflows.
  • Use cases include building invoices, reports, or presentations from JSON data, and explaining, debugging, or teaching Carbone syntax.

Quick Start

Provide a JSON dataset and a Carbone template to generate the filled document.

Frequently Asked Questions about carbone

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

FAQPage Schema
How do I generate documents from JSON data using templates?

Carbone templating maps JSON data to tags inside DOCX, XLSX, PPTX, HTML, or Markdown files to generate formatted documents. You bind JSON fields to template tags, and the engine fills the template to produce invoices, reports, or presentations automatically.

What is the correct syntax for loops and conditions in Carbone templates?

Carbone template syntax for loops and conditions uses specific tags like {#array}...{/array} for iteration and conditional blocks. The Skill validates these tags to ensure accurate data binding and prevents ambiguous syntax errors during document generation.

Can I use Carbone templates for internationalization across multiple formats?

Yes, Carbone templates support internationalization (i18n) alongside multi-format output. You can design templates for DOCX, XLSX, PPTX, PDF, HTML, and Markdown, applying formatters and translation tags to localize generated documents from a single JSON dataset.

How do I transform data directly inside a Carbone template?

You transform data inside a Carbone template using the :set pattern and built-in formatters. This allows you to modify JSON values, apply formatting rules, and execute logic within the template syntax before the final document is rendered.

Why does my Carbone template fail to validate?

Carbone template validation fails when syntax rules are broken, such as unclosed loops, invalid tag names, or unsafe data mappings. The Skill debugs templates by checking adherence to official syntax rules and preventing ambiguous guidance across document formats.

Do I need a specific environment to debug Carbone template syntax?

No specific environment is required beyond a JSON dataset and a Carbone template. The Skill provides authoritative syntax rules and validation workflows to debug and explain tags directly within your DOCX, XLSX, PPTX, HTML, or Markdown files.