Skill Wiki v0.1.0
principle @community/principle-no-string-concat

No String Concat

Every user-facing string must be a single, complete sentence template owned by the translation pipeline.…

Skill
@community
Domain
i18n
Version
1.0.0
Quality
4.0
Edges
6 out · 13 in
Tokens
192/453/709
$ prime install @community/principle-no-string-concat

Projection

Always in _index.xml · the agent never has to ask for this.

NoStringConcat [principle] v1.0.0

Translatable strings must never be assembled by concatenation in code. Word order, plural forms, gender agreement, and grammatical case differ across languages — concatenation hardcodes English grammar and produces broken translations in 6500+ other locales.

Every user-facing string must be a single, complete sentence template owned by the translation pipeline. Variables interpolate via named placeholders ({count}, {name}, {gender}); plurals use ICU MessageFormat plural rules; gender uses ICU select. Code that concatenates two translatable fragments (t('hello') + ' ' + name + t('today')) is broken — translators cannot reorder words, cannot inflect adjectives, cannot insert language-specific punctuation.

Source

prime-system/examples/frontend-design/primes/compiled/@community/principle-no-string-concat/atom.yaml

Compiled at 2026-05-07