/agent-skills:make-site-multilingualfrom agent-skills
Prepares a single-language site for Rosey translation with optional CloudCannon Connector (RCC) visual editing. Handles new i18n setup, migration from astro-i18n/next-intl, and RCC v1-to-v2 upgrades.
Ships in agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Step-by-step workflow for making a single-language site translatable with Rosey, and — optionally — wiring up the Rosey CloudCannon Connector (RCC) so editors can translate inline in CloudCannon's Visual Editor.
t()) that should be replaced with Rosey — migrating-from-i18n.mdtranslate-sitecloudcannon-configurationcloudcannon-visual-editing. This skill covers only where data-rosey and regions interact.| File | Covers |
|---|---|
| SKILL.md (this file) | When this skill applies, the two layers, starting point, SSG detection |
| setup.md | The main workflow — nine phases, audit through locale picker, checklist |
| tagging.md | Phase 3 in full — every data-rosey / -ns / -root authoring rule |
| gotchas.md | Preventative one-line rules, framework-agnostic and SSG-specific |
| troubleshooting.md | Symptom → cause → fix for things that build cleanly and translate wrongly |
| migrating-from-i18n.md | Replacing an existing i18n system, before the main workflow |
| rcc-v1-to-v2-upgrade.md | Moving a site from RCC v1 to v2 — an alternative to the main workflow |
| astro/overview.md | Astro implementations, plus the Astro i18n migration supplement |
| hugo/overview.md | Hugo: choosing one of three setups, root derivation, setup C (Rosey only) |
| hugo/native-multilingual.md | Hugo setup A: Hugo languages and i18n tables, no Rosey |
| hugo/hybrid.md | Hugo setup B: Hugo languages for content, Rosey for UI strings |
| eleventy/overview.md | Eleventy implementations, incl. taxonomy scoping and link localization |
| scripts/fix-rosey-pages.mjs | Postbuild fix for canonical and og:url on Rosey-generated pages |
Keep these separate in your head. They are installed together but do different jobs, and only the first is required.
Rosey-ready (required). Rosey is an open-source, framework-agnostic tool that operates on your built HTML. You tag translatable elements with data-rosey, and a postbuild pipeline generates a key/value file per locale (rosey/locales/{code}.json) and builds translated copies of the site at /{locale}/ URLs. This works on any SSG with no CMS. Once a site is Rosey-ready, translations can be filled in by AI (see the translate-site skill), by hand, or by any external service.
The RCC visual-editing layer (optional). The RCC is a client-side script that bridges those locale files to CloudCannon's Visual Editor, giving editors a floating locale switcher and inline ProseMirror editors on every data-rosey element, with stale-translation detection. It requires CloudCannon as the CMS. If the site isn't on CloudCannon, skip every RCC/CloudCannon step and translate the locale files another way.
The bulk of this skill (tagging, the pipeline, locale files) is the required Rosey layer. Steps that belong only to the optional RCC layer are marked (RCC layer).
| Situation | Where to go |
|---|---|
| Single-language site, no translation system yet | Start at setup.md — the main workflow |
Site already uses an i18n system (astro-i18n, next-intl, path-based routing, dictionaries + t()) | Do migrating-from-i18n.md first, then setup.md |
Site already uses RCC v1 (form-based YAML editing, generateRoseyId, data-rosey-tagger) | Follow rcc-v1-to-v2-upgrade.md instead — a distinct, self-contained path |
After auditing the site (Phase 1), identify the SSG and read the matching <ssg>/overview.md for framework-specific implementation details:
| SSG | File to read |
|---|---|
| Astro | astro/overview.md |
| Hugo | hugo/overview.md |
| Eleventy (11ty) | eleventy/overview.md |
Hugo: read hugo/overview.md before Phase 2. It asks which of three setups the site needs, and one of them (Hugo's own multilingual system) replaces the Rosey workflow entirely.
These files contain root derivation patterns, content-block namespacing examples, the array-item component rule, split-by-directory details, locale picker examples, and framework-specific gotchas. The phase docs reference them where needed.
astro/overview.md (opens in a new tab)eleventy/overview.md (opens in a new tab)gotchas.md (opens in a new tab)hugo/hybrid.md (opens in a new tab)hugo/native-multilingual.md (opens in a new tab)hugo/overview.md (opens in a new tab)migrating-from-i18n.md (opens in a new tab)rcc-v1-to-v2-upgrade.md (opens in a new tab)scripts/fix-rosey-pages.mjs (opens in a new tab)setup.md (opens in a new tab)tagging.md (opens in a new tab)troubleshooting.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
rosey, cloudcannon, i18n, multilingual, translation, visual-editing
11 skills in this plugin
/brainstormingStructured design dialogue before CloudCannon work that has more than one sensible answer — a migration's editability tradeoffs, how to model a collection or page builder, restructuring content or config, or an ambiguous "make this work with CloudCannon". Explores intent and constraints, then presents a design for approval before implementation. Not for single well-defined tasks, clear bug fixes, or a detailed spec./cloudcannon-bookshopUse when a CloudCannon site uses Bookshop — `*.bookshop.yml` files, `@bookshop/*` packages, `_bookshop_name` keys, `bookshop:live`, or `partial "bookshop"` calls or `{% bookshop %}` tags. Covers how Bookshop works, maintaining a site that stays on it, and migrating it to editable regions./npx claudepluginhub cloudcannon/agent-skills --plugin agent-skillsOther plugins' skills for the same job