fluent-syntax-messages

Enforce Fluent FTL syntax rules for whitespace, indentation, and placeables.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/OpenAEC-Foundation/Fluent-i18n-Claude-Skill-Package --skill fluent-syntax-messages
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fluent-syntax-messages
Source: https://github.com/OpenAEC-Foundation/Fluent-i18n-Claude-Skill-Package/tree/main/skills/source/fluent-syntax/fluent-syntax-messages
Command: npx skills add https://github.com/OpenAEC-Foundation/Fluent-i18n-Claude-Skill-Package --skill fluent-syntax-messages

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

The skill helps ensure whitespace and indentation correctness when authoring Fluent FTL messages, including multiline content, placeables, and references, preventing common formatting errors.

Core Features & Use Cases

  • Supports proper handling of multiline messages, dedentation, and placeables.
  • Ensures correct escaping of braces, variable references, and message references.
  • Use case: write an FTL message with a block of text and a variable, ensuring output remains valid across languages.

Quick Start

Create a simple FTL message with a multiline value and a placeable to observe the dedentation and formatting behavior.

Frequently Asked Questions about fluent-syntax-messages

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

FAQPage Schema
How do I fix whitespace and indentation errors in multiline Fluent FTL messages?

To fix whitespace and indentation errors in multiline Fluent FTL messages, enforce proper dedentation behavior and syntax rules for block text, ensuring multiline content and placeables remain correctly formatted across languages.

What are the syntax rules for escaping braces and variables in Fluent localization files?

Fluent syntax rules require correct escaping of braces, variable references, and message references to prevent parsing errors. Proper placeable usage ensures variables and special characters are handled correctly within localization files.

How do I write an FTL message with block text and a placeable without breaking formatting?

To write an FTL message with block text and a placeable without breaking formatting, apply strict dedentation behavior and identifier naming rules. This ensures the output remains valid across multiple languages and localization workflows.

Does this approach support strict frontmatter usage for SKILL metadata in FTL files?

Yes, this approach supports strict frontmatter usage for SKILL metadata in FTL files. It enforces strict frontmatter rules alongside identifier naming and escape rules to maintain valid Fluent syntax across localization scenarios.

Why does my Fluent message reference cause a syntax error in multiline content?

A Fluent message reference causes syntax errors in multiline content when placeable usage or escape rules are violated. Ensuring correct escaping of braces and proper dedentation behavior eliminates these common formatting errors.