Skip to content

Free, open source blog writer for Claude Code. Researches current sources, writes answer-first posts for Google and AI answers, has an independent reviewer score each one out of 100 and ships only after five delivery gates. 32 skills, 30 /blog commands, 5 agents. Active development at AI-Marketing-Hub/claude-blog; public releases ship here.

feat(multilingual): add 4-skill multilingual publishing suite + translator agent

Daniel8e4ed6fef3f0
diff --git a/agents/blog-translator.md b/agents/blog-translator.md
new file mode 100644
index 0000000..f56c259
--- /dev/null
+++ b/agents/blog-translator.md
@@ -0,0 +1,167 @@
+---
+name: blog-translator
+description: >
+ Specialized translation and localization agent for blog content. Produces
+ native-quality translations of an entire blog post, optimized for both human
+ readers and search engines, with format preservation (markdown, MDX, HTML,
+ frontmatter, schema JSON-LD, SVG charts) and locale-correct number, date,
+ currency, and quote formatting. Invoke from `blog-translate` and
+ `blog-multilingual` orchestrators when a single source-to-target language
+ translation is needed. One agent invocation handles one target language.
+model: sonnet
+tools:
+ - Read
+ - Write
+ - Edit
+ - Glob
+ - Grep
+---
+
+# Blog Translator Agent
+
+You are a specialized blog translation and localization agent. Your role is
+to produce native-quality translations of blog content optimized for both
+human readers and search engines.
+
+## Core Identity
+
+You are not a generic translator. You are an **SEO-aware content
+localizer**. Every translation decision considers:
+
+1. Does a native speaker write it this way?
+2. Will search engines find this for the right local queries?
+3. Are SEO elements (meta, alt, schema) independently optimized for the
+ target locale, not mechanically translated?
+
+## When to Invoke
+
+Spawn this agent from:
+
+- `blog-translate` (one agent per target language, run in parallel).
+- `blog-multilingual` (delegated through `blog-translate`).
+
+One invocation handles one source-to-target language pair. To translate
+into N languages, spawn N agents.
+
+## Inputs Expected
+
+The orchestrator provides:
+
+- **`source_file`**, absolute path to the source blog post.
+- **`target_lang`**, ISO 639-1 code (e.g. `de`, `fr`, `pt-BR`).
+- **`source_lang`**, ISO 639-1 code, autodetected if missing.
+- **`keyword_map`**, optional, decisions about which terms stay in the
+ source language (loanwords) and which get a localized equivalent.
+- **`cultural_profile_ref`**, optional path to the matching profile in
+ `skills/blog-translate/references/cultural-adaptation.md`.
+- **`output_path`**, where to write the translated file.
+
+If any of these are missing, derive them by reading the source file's
+frontmatter and the orchestrator's invocation context.
+
+## Process
+
+### Step 1: Analyze the Source
+
+Read the source file. Extract:
+
+- Title, meta description, all headings, body paragraphs.
+- Image alt text and `<figcaption>` content.
+- FAQ questions and answers.
+- Citation capsule text.
+- SVG chart `<text>` and `<tspan>` content.
+- CTA text.
+- Key Takeaways or summary box.
+- Internal-link zone anchor text (translate the anchor, not the marker).
+
+Identify what to preserve unchanged: markdown and HTML structure, image
+URLs, link URLs, frontmatter keys, code blocks (translate inline comments
+only when meaningful prose), SVG attributes, schema structural keys, and
+internal-link zone markers (`[INTERNAL-LINK: ...]`).
+
+### Step 2: Keyword Localization
+
+For the primary keyword and each secondary keyword:
+
+- If the source term is the established term in the target market (e.g.
+ "Content Marketing" in German), keep it.
+- Otherwise use the localized equivalent that has real search behavior.
+
+Update title, meta description, and 2-3 headings to include the localized
+keyword consistently.
+
+### Step 3: Translate the Content
+
+- Write naturally in the target language. Do not translate word by word.
+- Match the tone and register of the original (formal, casual, technical).
+- Apply locale-specific number, date, currency, and quote formats. Use the
+ table in `skills/blog-translate/references/translation-rules.md`.
+- Translate idioms into equivalent local expressions, never literal.
+- Maintain paragraph structure and approximate length ratios.
+- Preserve sentence-length variance (burstiness) from the original.
+- Translate all SVG `<text>` and `<tspan>` content. Adjust character
+ length per locale (DE +25-30%, FR +10-15%, JA -20%, ZH -25%). Never
+ truncate, raise the SVG `viewBox` width or reduce `font-size` if needed.
+
+### Step 4: Adapt SEO Elements
+
+For each translated post, set frontmatter independently:
+
+```yaml
+title: "[Localized title with local keyword, 50-60 chars]"
+description: "[Localized description with stat, 150-160 chars]"
+slug: "[localized-slug-in-target-language]"
+lang: "[ISO 639-1 code]"
+translatedFrom: "[source ISO 639-1 code]"
+translatedDate: "YYYY-MM-DD"
+```
+
+If the source has schema JSON-LD, update `inLanguage` and add
+`translationOfWork` pointing back to the source URL.
+
+### Step 5: Quality Self-Check
+
+Before writing the file, verify every item:
+
+- [ ] No untranslated source-language fragments (except established
+ loanwords like "Content Marketing" or "API").
+- [ ] All numbers, dates, currencies, and quote marks use locale format.
+- [ ] Frontmatter strings localized.
+- [ ] All image alt text translated.
+- [ ] All `<figcaption>` content translated.
+- [ ] All SVG `<text>` and `<tspan>` translated; lengths adjusted; no
+ overflow.
+- [ ] FAQ questions and answers natural in target language.
+- [ ] Citation capsules self-contained in target language (40-60 words).
+- [ ] No mixed-language sentences other than loanwords.
+- [ ] No literal idiom translations.
+- [ ] Markdown and HTML structure intact.
+- [ ] Schema JSON-LD `inLanguage` updated; `translationOfWork` added.
+
+If any item fails, fix it before reporting done.
+
+## Banned Patterns
+
+Never produce:
+
+- Mixed-language sentences (other than established loanwords).
+- Google-Translate-quality literal output.
+- Inconsistent formal or informal address within one document.
+- Literally translated English idioms.
+- Preserved English SVO sentence structure forced into non-SVO languages
+ (Japanese, Korean, German subordinate clauses, etc.).
+- Em dashes in body content. Use commas, semicolons, colons, or hyphens.
+
+## Output
+
+1. Write the translated file to `output_path` in the same format as the
+ source (markdown, MDX, or HTML).
+2. Append the metadata comment at the end of the file:
+ ```markdown
+ <!-- translated: {source_lang} -> {target_lang} | date: {YYYY-MM-DD} | translator: blog-translator -->
+ ```
+3. Return a short summary to the orchestrator covering:
+ - Output file path.
+ - Keyword localization decisions (which kept, which swapped).
+ - Number of structural elements translated (H2s, FAQs, charts, images).
+ - Any quality-check items that needed a second pass.
diff --git a/skills/blog-locale-audit/SKILL.md b/skills/blog-locale-audit/SKILL.md
new file mode 100644
index 0000000..728c443
--- /dev/null
+++ b/skills/blog-locale-audit/SKILL.md
@@ -0,0 +1,188 @@
+---
+name: blog-locale-audit
+description: >
+ Audit a directory of multilingual blog content for completeness, consistency,
+ hreflang correctness, meta-tag parity, and freshness. Builds a translation
+ coverage matrix, flags stale translations, validates hreflang and schema,
+ and emits a prioritized report with runnable fix commands.
+ Use when user says "locale audit", "blog locale-audit", "check translations",
+ "multilingual audit", "translation check", "hreflang check",
+ "Uebersetzungen pruefen".
+user-invokable: true
+argument-hint: "<directory>"
+license: MIT
+compatibility: Standalone within claude-blog. Optional richer hreflang validation via claude-seo seo-hreflang.
+metadata:
+ author: AgriciDaniel
+ version: "1.7.0"
+ category: blog
+---
+
+# Blog Locale Audit, Multilingual Quality Control
+
+Audits a directory of multilingual blog content to ensure every language
+version is complete, consistent, correctly tagged, and SEO-optimized.
+Catches international content issues before they hurt rankings.
+
+> Adapted from `claude-blog-multilingual` by Chris Mueller (Pro Hub Challenge,
+> March 2026). Original: https://github.com/Chriss54/multilingual-int
+
+## Workflow
+
+### Phase 1: Discovery
+
+1. Scan the target directory. Group blog posts by language using:
+ - Subdirectory names (`en/`, `de/`, `fr/`).
+ - Frontmatter `lang` and `translatedFrom` fields.
+ - `hreflang-map.json` if present.
+2. Build a content matrix mapping which post exists in which languages.
+3. Detect the source language (most common `translatedFrom` target, or the
+ `sourceLanguage` field in `hreflang-map.json` if present).
+
+### Phase 2: Completeness Audit
+
+Show which translations are missing:
+
+```
+### Translation coverage matrix
+
+| Post (EN) | DE | FR | ES | JA |
+|-----------|----|----|----|----|
+| how-to-avoid-ai-slop | ok | ok | missing | missing |
+| content-marketing-2026 | ok | missing | ok | missing |
+
+Coverage: 60% (6 of 10 expected translations present)
+Missing: 4 translations needed
+```
+
+### Phase 3: Content Parity Audit
+
+For every post that exists in multiple languages:
+
+| Check | What | Severity |
+|-------|------|----------|
+| Section count | Same number of H2 and H3 sections | Critical |
+| FAQ count | Same number of FAQ items | High |
+| Image count | Same number of images | High |
+| Chart count | Same number of charts (SVG figures) | High |
+| Word count ratio | Within expected band for language pair (DE +20% to +30%, JA -20%, ES +10%) | Medium |
+| Link count | Similar internal and external link counts | Medium |
+| Citation capsule count | Same number per H2 across versions | Medium |
+| Frontmatter parity | All required fields present per version | High |
+
+Flag every significant deviation as an issue.
+
+### Phase 4: SEO Parity Audit
+
+For every language version verify:
+
+| Element | Check | Severity |
+|---------|-------|----------|
+| Title tag | Present, correct length for the language | Critical |
+| Meta description | Present, correct length, contains a stat | Critical |
+| `lang` attribute or frontmatter `lang` | Present, valid ISO 639-1 | Critical |
+| Schema `inLanguage` | Matches `lang` | High |
+| Schema `translationOfWork` | Points to the source URL | High |
+| Alt text | Translated (no English alt in non-EN posts) | High |
+| Slug | Localized (no English slug in non-EN posts) | Medium |
+| Tags | Localized | Medium |
+| Keywords | Localized | Medium |
+
+### Phase 5: Hreflang Audit
+
+If `hreflang-tags.html`, `hreflang-sitemap.xml`, or `hreflang-map.json`
+exists in the directory:
+
+| Check | What | Severity |
+|-------|------|----------|
+| Self-referencing | Each page references itself | Critical |
+| Return tags | Every relationship is bidirectional | Critical |
+| `x-default` | Present, points to source language | Critical |
+| Language codes | Valid ISO 639-1 (with optional region) | High |
+| URL consistency | Same protocol, same trailing-slash convention | Medium |
+| Completeness | Every language version represented | High |
+
+If no hreflang files exist, report it as a critical gap and offer:
+"Run `/blog multilingual <topic> --languages ...` to regenerate, or create
+hreflang-tags.html manually."
+
+If `seo-hreflang` from claude-seo is installed, suggest running it for
+deeper validation.
+
+### Phase 6: Freshness Audit
+
+For posts with `translatedDate` in frontmatter:
+
+| Check | What | Severity |
+|-------|------|----------|
+| Source updated after translation | Source modified after `translatedDate` | Critical |
+| Translation older than 90 days | May need refresh | Medium |
+| `lastUpdated` mismatch across versions | Versions out of sync | Medium |
+| File mtime newer than `translatedDate` | Content changed without frontmatter update | Warning |
+
+Emit actionable commands per stale file:
+
+```
+3 translations are stale:
+- de/ki-trends-2026.md (source updated 2 days ago)
+ -> Run: /blog translate en/ai-trends-2026.md --to de
+- fr/ki-trends-2026.md (source updated 2 days ago)
+ -> Run: /blog translate en/ai-trends-2026.md --to fr
+- es/tendencias-ia-2026.md (translation > 90 days old)
+ -> Run: /blog translate en/ai-trends-2026.md --to es
+```
+
+### Phase 7: Report
+
+Output as markdown by default. If the user passes `--html`, also write the
+report to `locale-audit-report.html` with the same content.
+
+```
+## Multilingual content audit report
+
+### Summary
+- Posts audited: [N] across [N] languages
+- Overall health: [score] / 100
+- Critical issues: [N]
+- Warnings: [N]
+
+### Translation coverage
+[Matrix from Phase 2]
+
+### Issues found
+#### Critical
+- [Issue with file references]
+
+#### Warnings
+- [Issue with file references]
+
+#### Passed
+- [Checks that passed]
+
+### Prioritized fixes
+1. [Highest-impact action]
+2. [...]
+
+### Stale-translation alerts
+[Runnable commands from Phase 6]
+
+### Quick fixes
+- Run `/blog translate <file> --to <missing-langs>` for [N] missing translations.
+- Run `/blog multilingual` to regenerate hreflang assets.
+- Run `/blog localize <file> --locale <code>` for weak cultural adaptations.
+```
+
+## Error Handling
+
+| Scenario | Action |
+|----------|--------|
+| Empty directory | "No blog posts found in [path]" |
+| Only one language present | Report coverage, suggest target languages |
+| No hreflang files | Flag as critical gap, offer regeneration |
+| Unrecognized file format | Skip with a warning |
+
+## Cross-References
+
+- Fill missing translations: `/blog translate <file> --to <missing-codes>`
+- Deepen weak adaptations: `/blog localize <file> --locale <code>`
+- Regenerate hreflang assets: `/blog multilingual <topic> --languages <codes>`
diff --git a/skills/blog-localize/SKILL.md b/skills/blog-localize/SKILL.md
new file mode 100644
index 0000000..f9bbf00
--- /dev/null
+++ b/skills/blog-localize/SKILL.md
@@ -0,0 +1,193 @@
+---
+name: blog-localize
+description: >
+ Deep cultural adaptation of translated blog posts. Goes beyond translation
+ to swap brand examples, adapt CTAs, substitute legal references, localize
+ statistic sources where possible, and adjust formality (Sie/du, tu/vous,
+ formal/informal). Built-in profiles for DACH, Francophone, Hispanic, and
+ Japanese markets, plus a custom-locale template. Makes content feel
+ locally authored, not translated.
+ Use when user says "localize blog", "blog localize", "cultural adaptation",
+ "adapt for Germany", "adapt for France", "lokalisieren", "localiser",
+ "adaptar".
+user-invokable: true
+argument-hint: "<file> --locale <locale-code>"
+license: MIT
+compatibility: Standalone within claude-blog. Invoked by blog-multilingual.
+metadata:
+ author: AgriciDaniel
+ version: "1.7.0"
+ category: blog
+---
+
+# Blog Localize, Cultural Deep-Adaptation
+
+Takes a translated blog post and performs cultural adaptation so the result
+feels like it was written for the target market, not translated into it.
+This is the layer above `blog-translate`: it replaces examples, adjusts
+tone, swaps references, and localizes the entire reading experience.
+
+> Adapted from `claude-blog-multilingual` by Chris Mueller (Pro Hub Challenge,
+> March 2026). Original: https://github.com/Chriss54/multilingual-int
+
+## Key References
+
+- `../blog-translate/references/cultural-adaptation.md`, the shared cultural
+ profiles file with substitution tables for DACH, Francophone, Hispanic,
+ Japanese, and a custom template. Do not duplicate this file.
+
+## When to Use
+
+- Right after `blog-translate` produces a base translation.
+- When existing translated content reads like "translated from English".
+- When targeting a specific market, not just a language.
+- When content needs local statistics, examples, and brand references.
+
+## Workflow
+
+### Phase 1: Locale Understanding
+
+1. Parse the locale code. Accept full codes (`de-DE`, `fr-CA`, `es-MX`,
+ `pt-BR`, `zh-TW`) or plain language codes (`de`, `fr`).
+2. Load the cultural profile from
+ `../blog-translate/references/cultural-adaptation.md`.
+ - If the locale has a profile, use it.
+ - If not, follow the "Custom-locale template" section in that reference
+ to build a minimal profile inline.
+3. Read the translated post and identify adaptation targets.
+
+### Phase 2: Cultural Audit
+
+Scan for elements that signal foreign origin:
+
+| Element | What to look for |
+|---------|------------------|
+| Brand examples | US or UK brands with no relevance locally |
+| Statistics sources | US-only studies and surveys |
+| CTAs | American-style aggressive calls-to-action |
+| Idioms | Literally translated English expressions |
+| Legal references | Foreign laws (CCPA, FTC) where local law applies (DSGVO, RGPD) |
+| Cultural references | Foreign holidays, events, customs |
+| Currency and pricing | USD without conversion or context |
+| Tone | Too casual or too formal for the target market |
+| Address form | Inconsistent Sie/du, tu/vous, formal/informal |
+
+Output an audit report listing every target with severity (critical,
+recommended, optional).
+
+### Phase 3: Adaptation
+
+#### 3a. Example Substitution
+
+Swap foreign examples for local equivalents:
+
+- Use WebSearch to find local case studies, brands, or scenarios.
+- Replace inline, preserving the same argument and structure.
+- If no local equivalent exists, keep the original but add local context
+ ("In the German market, the equivalent dynamic is X").
+
+#### 3b. Statistics Localization
+
+- Search for equivalent local statistics (`[topic] statistik [country] 2025
+ 2026`).
+- If local data exists, swap the source and the figure together. Keep one
+ named source per claim.
+- If not, keep the original stat but mark its geographic scope ("In the
+ US, ...").
+- Never strip source attribution.
+
+#### 3c. CTA Adaptation
+
+Rewrite calls-to-action per the cultural profile:
+
+- Adjust aggressiveness level (DACH and JA prefer informational, US prefers
+ imperative).
+- Use culturally appropriate action verbs.
+- Adapt urgency framing.
+
+#### 3d. Tone Calibration
+
+- Match formality per profile (DACH defaults to Sie for B2B, du for B2C
+ lifestyle; FR defaults to vous; JA shifts register sharply by audience).
+- Ensure consistent formal or informal address throughout the entire
+ document.
+- Match local content-style conventions.
+
+#### 3e. Legal and Regulatory Context
+
+- Replace references to foreign laws with local equivalents (CCPA becomes
+ DSGVO in DE, RGPD in FR, LGPD in BR).
+- Add local compliance notes where they help the reader.
+- Remove irrelevant foreign regulatory references.
+
+#### 3f. Brand Example Swaps (Quick Map)
+
+Profiles in `../blog-translate/references/cultural-adaptation.md` provide
+substitution tables. Common examples:
+
+| Source (US) | DACH | FR | ES (Spain) | LATAM | JA |
+|-------------|------|----|----|-------|----|
+| Walmart | MediaMarkt | Carrefour | El Corte Ingles | Walmart MX | Aeon |
+| Target | Saturn | Auchan | Hipercor | Liverpool | Ito-Yokado |
+| FTC | Bundeskartellamt | DGCCRF | CNMC | Profeco (MX) | JFTC |
+| CCPA | DSGVO | RGPD | RGPD | LGPD (BR) | APPI |
+
+### Phase 4: Quality Verification
+
+- All critical adaptation targets addressed.
+- Tone is consistent throughout.
+- No remaining foreign-origin markers.
+- Statistics have valid sources (original or localized).
+- CTAs match cultural expectations.
+- Formal or informal address is consistent end to end.
+- Content still supports the same argument as the original.
+- SEO elements remain optimized (keywords, meta, headings).
+- Word count is within the expected ratio for the language pair.
+
+### Phase 5: Save and Report
+
+1. Save the localized version. Default: overwrite the translated file.
+ Optional: save as `{slug}-localized.{ext}` if the user wants to keep the
+ pre-localization version.
+
+2. Present the summary:
+
+ ```
+ ## Localization complete: [Title]
+
+ ### Target locale: [locale-code] ([locale-name])
+
+ ### Adaptations made
+ | Type | Count | Examples |
+ |------|-------|----------|
+ | Brand examples | [N] | Walmart -> MediaMarkt |
+ | Statistics | [N] | US survey -> DACH survey |
+ | CTAs | [N] | "Buy now" -> "Jetzt entdecken" |
+ | Tone adjustments | [N] | Casual -> Sie |
+ | Legal references | [N] | CCPA -> DSGVO |
+ | Cultural references | [N] | Thanksgiving -> Weihnachtsgeschaeft |
+
+ ### Cultural fit score
+ - Naturalness: [1-10]
+ - Market relevance: [1-10]
+ - Tone match: [1-10]
+ - Overall: [N]/30
+
+ ### Remaining recommendations
+ - [Optional adaptations not applied]
+ ```
+
+## Error Handling
+
+| Scenario | Action |
+|----------|--------|
+| No cultural profile for the locale | Build a minimal profile from the custom-locale template, proceed |
+| File is not in the expected language | Warn the user, offer to translate first |
+| No local statistics available | Keep the original stat with a geographic-scope note |
+| Locale code ambiguous (e.g., `pt`) | Ask: "Did you mean `pt-BR` (Brazil) or `pt-PT` (Portugal)?" |
+
+## Cross-References
+
+- Pre-step (translation): `/blog translate <file> --to <code>`
+- QA across language versions: `/blog locale-audit <directory>`
+- One-command pipeline: `/blog multilingual <topic> --languages <codes>`
diff --git a/skills/blog-multilingual/SKILL.md b/skills/blog-multilingual/SKILL.md
new file mode 100644
index 0000000..61cb7b2
--- /dev/null
+++ b/skills/blog-multilingual/SKILL.md
@@ -0,0 +1,300 @@
+---
+name: blog-multilingual
+description: >
+ One-command multilingual blog creation. Writes a blog post, translates it
+ into user-specified languages, applies cultural adaptation, and emits
+ hreflang tags, sitemap entries, and a CMS-ready language map. The complete
+ write-to-publish pipeline for international content. Orchestrates blog-write,
+ blog-translate, blog-localize, and (optionally) seo-hreflang.
+ Use when user says "multilingual blog", "blog multilingual", "write in
+ multiple languages", "international blog", "mehrsprachiger Blog", "blog
+ multilingue", "blog multilingue", "create blog in German and French".
+user-invokable: true
+argument-hint: "<topic> --languages <comma-separated-codes>"
+license: MIT
+compatibility: Requires claude-blog (blog-write). Optional integration with claude-seo (seo-hreflang) for richer hreflang validation.
+metadata:
+ author: AgriciDaniel
+ version: "1.7.0"
+ category: blog
+---
+
+# Blog Multilingual, One-Command International Publishing
+
+The flagship multilingual orchestrator. Combines blog writing, translation,
+cultural adaptation, and full international SEO into a single command.
+Produces publication-ready blog posts in every target language with hreflang
+tags, localized JSON-LD schema, and CMS-integration metadata.
+
+> Adapted from `claude-blog-multilingual` by Chris Mueller (AI Marketing Hub
+> Pro Hub Challenge submission, March 2026, scored 85/100 Proficient).
+> Original: https://github.com/Chriss54/multilingual-int
+> This port removes the original `curl | bash` installer and credential
+> handling flagged in the audit, integrates as core skills, and uses the
+> shared cultural-adaptation reference under `blog-translate/references/`.
+
+## Dependencies
+
+Invoked internally by this orchestrator:
+
+| Component | Source | Required |
+|-----------|--------|----------|
+| `blog-write` | claude-blog (this plugin) | Yes |
+| `blog-translate` | claude-blog (this plugin) | Yes |
+| `blog-localize` | claude-blog (this plugin) | Yes (when `--localize` is on, default) |
+| `seo-hreflang` | claude-seo (sibling plugin) | No, falls back to a self-contained generator |
+
+If `seo-hreflang` is not installed, the orchestrator emits hreflang tags using
+its own minimal generator (Phase 5 below) and notes the limitation in the
+delivery summary. Hreflang validation in that case is structural only, not the
+deeper validation `seo-hreflang` provides.
+
+## Command Syntax
+
+```
+/blog multilingual <topic> --languages <lang1,lang2,...> [--source <lang>] [--no-localize] [--format <md|mdx|html>]
+```
+
+| Argument | Required | Default | Description |
+|----------|----------|---------|-------------|
+| `<topic>` | Yes | , | Blog topic or working title |
+| `--languages` | Yes | , | Comma-separated ISO 639-1 codes (e.g. `de,fr,es,ja,pt-BR`) |
+| `--source` | No | `en` | Source language to write the original in |
+| `--no-localize` | No | off | Skip cultural adaptation (translation only) |
+| `--format` | No | auto | Output format: `md`, `mdx`, or `html` |
+
+If `--languages` is missing, ask the user once before running anything:
+"Which languages should the blog be published in? Provide ISO 639-1 codes
+separated by commas (e.g., `de,fr,es,ja,pt-BR`). The post will be written in
+`<source>` first, then translated."
+
+## Workflow
+
+### Phase 1: Configuration
+
+1. Parse arguments. Extract topic, target languages, source, format.
+2. Validate each language code against ISO 639-1 (region suffixes like
+ `pt-BR`, `es-MX`, `zh-TW` are also accepted).
+3. Detect output format from the project (frontmatter convention, file
+ extensions, framework hints) or use `--format`.
+4. Resolve source language. If a target language equals `--source`, drop it
+ from the translation list with a notice.
+5. Create the output directory inside the current working directory:
+ ```
+ multilingual/
+ {source-lang}/
+ {lang-1}/
+ {lang-2}/
+ ...
+ ```
+ Output MUST stay inside the project root. Never write outside the cwd.
+
+Progress: `Phase 1: Configuration complete, [N] languages selected ([codes])`
+
+### Phase 2: Write Original Blog
+
+Invoke the `blog-write` sub-skill (route through `/blog write` so all
+existing rules apply: template auto-selection, sourced statistics, citation
+capsules, FAQ schema, internal-link zones, charts, image embedding). Pass the
+topic and any blog-write parameters surfaced by the user.
+
+Save the original to `multilingual/{source-lang}/{slug}.{ext}`.
+
+Progress: `Phase 2: Original written, multilingual/{source-lang}/{slug}.{ext}`
+
+### Phase 3: Translate to All Target Languages
+
+For each target language, invoke `blog-translate`:
+
+- Input: the original blog post produced in Phase 2.
+- Target: the specific language code.
+- Run targets in parallel where the runtime supports it (one Task per
+ language) to reduce wall-clock time.
+
+Save translations to `multilingual/{lang}/{localized-slug}.{ext}`.
+
+Progress: `Phase 3: Translating to [lang] ([X]/[N])` per language, then
+`Phase 3: All translations complete`.
+
+### Phase 4: Cultural Adaptation
+
+If `--no-localize` is NOT set, invoke `blog-localize` for every translated
+post:
+
+- Input: the translated blog post.
+- Locale: the target language or region code.
+- Run in parallel.
+
+Update files in place. The localizer swaps brand examples, adapts CTAs,
+substitutes legal references, and adjusts formality. See
+`../blog-localize/SKILL.md` for the full adaptation pass.
+
+Progress: `Phase 4: Cultural adaptation complete for [N] languages`.
+
+### Phase 5: International SEO Generation
+
+Generate three artifacts plus localized schema. If the `seo-hreflang` skill
+from claude-seo is installed, delegate validation to it. Otherwise use the
+self-contained generator below.
+
+#### 5a. Hreflang Tags (HTML)
+
+Copy-paste ready tags for `<head>`:
+
+```html
+<!-- Hreflang tags. Paste into <head> of each language version. -->
+<link rel="alternate" hreflang="{source}" href="{source-url}" />
+<link rel="alternate" hreflang="{lang-1}" href="{lang-1-url}" />
+<link rel="alternate" hreflang="{lang-2}" href="{lang-2-url}" />
+<link rel="alternate" hreflang="x-default" href="{source-url}" />
+```
+
+Rules (mirrored from `seo-hreflang`):
+
+- Every page references all alternates including itself (self-referencing).
+- `x-default` points to the source-language version.
+- All URLs use the same protocol (HTTPS) and trailing-slash convention.
+- Bidirectional: every relationship is reciprocal.
+
+Save to `multilingual/hreflang-tags.html`.
+
+#### 5b. Hreflang Sitemap Fragment
+
+```xml
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
+ xmlns:xhtml="http://www.w3.org/1999/xhtml">
+ <url>
+ <loc>{source-url}</loc>
+ <xhtml:link rel="alternate" hreflang="{source}" href="{source-url}" />
+ <xhtml:link rel="alternate" hreflang="{lang-1}" href="{lang-1-url}" />
+ <xhtml:link rel="alternate" hreflang="x-default" href="{source-url}" />
+ </url>
+ <!-- Repeat one <url> block per language version -->
+</urlset>
+```
+
+Save to `multilingual/hreflang-sitemap.xml`.
+
+#### 5c. Hreflang Map (JSON)
+
+Machine-readable mapping for CMS integration:
+
+```json
+{
+ "sourceSlug": "how-to-avoid-ai-slop",
+ "sourceLanguage": "en",
+ "generatedDate": "YYYY-MM-DD",
+ "versions": [
+ {
+ "lang": "en",
+ "slug": "how-to-avoid-ai-slop",
+ "file": "en/how-to-avoid-ai-slop.md",
+ "title": "How to Avoid AI Slop in 2026",
+ "description": "..."
+ },
+ {
+ "lang": "de",
+ "slug": "wie-man-ki-slop-vermeidet",
+ "file": "de/wie-man-ki-slop-vermeidet.md",
+ "title": "KI-Slop vermeiden in 2026",
+ "description": "..."
+ }
+ ],
+ "hreflang": {
+ "method": "html",
+ "x-default": "en"
+ }
+}
+```
+
+Save to `multilingual/hreflang-map.json`.
+
+#### 5d. Localized Schema (Optional)
+
+If the user asks, or if a frontmatter `schema: true` flag is present, attach
+or update JSON-LD on every language version with `inLanguage` and
+`translationOfWork` fields:
+
+```json
+{
+ "@context": "https://schema.org",
+ "@type": "BlogPosting",
+ "headline": "[Localized title]",
+ "description": "[Localized description]",
+ "inLanguage": "[lang-code]",
+ "isPartOf": { "@type": "Blog", "inLanguage": "[lang-code]" },
+ "translationOfWork": {
+ "@type": "BlogPosting",
+ "inLanguage": "[source-lang]",
+ "url": "[source-url]"
+ }
+}
+```
+
+Use the existing `/blog schema` sub-skill if richer schema (FAQ, Person,
+Breadcrumb) is wanted on each version.
+
+### Phase 6: Delivery Summary
+
+```
+## Multilingual blog complete: [Title]
+
+### Original
+- Language: [source]
+- File: multilingual/{source}/{slug}.{ext}
+
+### Translations
+| Language | File | Localized | Keywords adapted |
+|----------|------|-----------|------------------|
+| de | multilingual/de/{slug}.md | yes | [N] |
+| fr | multilingual/fr/{slug}.md | yes | [N] |
+| es | multilingual/es/{slug}.md | yes | [N] |
+
+### International SEO assets
+- multilingual/hreflang-tags.html
+- multilingual/hreflang-sitemap.xml
+- multilingual/hreflang-map.json
+- Localized schema embedded per version (if requested)
+
+### Total
+- [N] posts in [N] languages
+- [N] SEO assets generated
+
+### Next steps
+- Replace `{url}` placeholders in hreflang tags with your real URLs.
+- Merge `hreflang-sitemap.xml` into your existing sitemap.
+- Run `/blog locale-audit multilingual/` to verify completeness.
+- Resolve `[INTERNAL-LINK]` placeholders with locale-specific URLs.
+- If claude-seo is installed, run `/seo hreflang multilingual/` for
+ deeper validation.
+```
+
+## Cross-References
+
+| When | Run |
+|------|-----|
+| To regenerate or reword the source | `/blog write <topic>` |
+| To translate one existing file only | `/blog translate <file> --to <codes>` |
+| To deepen cultural fit on one file | `/blog localize <file> --locale <code>` |
+| To audit a multilingual directory | `/blog locale-audit <directory>` |
+| For deeper hreflang validation | `/seo hreflang <directory>` (claude-seo, optional) |
+
+## Error Handling
+
+| Scenario | Action |
+|----------|--------|
+| `blog-write` missing | Error: "This skill requires `blog-write`. Reinstall claude-blog." |
+| One translation fails | Complete the rest, report partial results, suggest a retry command |
+| Source language equals a target | Skip that target, log a notice |
+| More than 10 target languages | Warn about wall-clock time, proceed if confirmed |
+| `seo-hreflang` not installed | Use the self-contained generator, note it in the summary |
+
+## Commands Recap
+
+| Command | Purpose |
+|---------|---------|
+| `/blog multilingual <topic> --languages de,fr,es` | Write source, translate, localize, emit hreflang assets |
+| `/blog translate <file> --to de,fr,es` | Translate one file into target languages |
+| `/blog localize <file> --locale de-DE` | Cultural deep-adaptation of one translated file |
+| `/blog locale-audit <directory>` | Multilingual QA across a directory |
diff --git a/skills/blog-translate/SKILL.md b/skills/blog-translate/SKILL.md
new file mode 100644
index 0000000..df34d64
--- /dev/null
+++ b/skills/blog-translate/SKILL.md
@@ -0,0 +1,197 @@
+---
+name: blog-translate
+description: >
+ Translate existing blog posts into one or more target languages with
+ SEO-optimized localization. Produces native-quality translations that
+ preserve markdown structure, frontmatter, schema JSON-LD, image and chart
+ embeds, and citation capsules. Localizes keywords, meta tags, numbers,
+ dates, currencies, and quote styles per locale. Flags machine-translation
+ artifacts for review.
+ Use when user says "translate blog", "blog translate", "uebersetzen",
+ "traduire", "traducir", "translate post", "blog auf Deutsch", "blog en
+ espanol".
+user-invokable: true
+argument-hint: "<file> --to <comma-separated-codes>"
+license: MIT
+compatibility: Standalone within claude-blog. Invoked by blog-multilingual.
+metadata:
+ author: AgriciDaniel
+ version: "1.7.0"
+ category: blog
+---
+
+# Blog Translate, SEO-Optimized Blog Translation
+
+Translates an existing blog post into one or more target languages. Unlike
+generic translation, this skill produces SEO-optimized, publication-ready
+content with localized keywords, meta tags, and culturally correct
+formatting.
+
+> Adapted from `claude-blog-multilingual` by Chris Mueller (Pro Hub Challenge,
+> March 2026). Original: https://github.com/Chriss54/multilingual-int
+
+## Key References
+
+Load on demand:
+
+- `references/translation-rules.md`, format preservation, number/date/currency
+ formats per locale, quote handling, quality criteria.
+- `references/cultural-adaptation.md`, cultural profiles per locale (DACH,
+ Francophone, Hispanic, Japanese, custom). This file is shared with
+ `blog-localize` (do not duplicate).
+
+## Workflow
+
+### Phase 1: Input Parsing
+
+1. Read the source file (markdown, MDX, or HTML).
+2. Auto-detect source language. Order of preference:
+ - Frontmatter `lang` field.
+ - HTML `lang` attribute.
+ - Content analysis (script, common stop words).
+3. Parse target languages from `--to` as comma-separated ISO 639-1 codes
+ (`de,fr,es,ja,pt-BR`). If `--to` is missing, ask the user once: "Which
+ languages should I translate to? Provide ISO 639-1 codes (e.g., de, fr,
+ es, ja, pt-BR)."
+4. Validate every code. Reject invalid ones with a suggestion (`jp` becomes
+ "Did you mean `ja` for Japanese?"). If a target equals the source
+ language, skip it with a notice.
+
+### Phase 2: Content Analysis
+
+Extract the translatable surface:
+
+- Frontmatter: `title`, `description`, `tags`, `author` (only when
+ translatable, e.g. role labels, not personal names).
+- All headings (H1, H2, H3).
+- Body paragraphs.
+- Image `alt` text and `<figcaption>` content.
+- Chart `<text>` and `<tspan>` content; preserve every SVG attribute (`x`,
+ `y`, `font-size`, `fill`, `transform`).
+- FAQ questions and answers.
+- Citation capsule text.
+- Key Takeaways or summary box.
+- CTA text.
+- Internal-link zone anchor text.
+
+Preserve unchanged:
+
+- Markdown and HTML structure, tags, attributes.
+- Image URLs, link URLs, frontmatter keys.
+- Code blocks (translate inline comments only when meaningful).
+- Internal-link zone markers (`[INTERNAL-LINK: ...]`).
+- Source organization names in citations (Gartner, McKinsey, etc.).
+- Person names.
+- Schema JSON-LD blocks (translate only the user-facing string values).
+
+Identify the primary and secondary keywords for Phase 3.
+
+### Phase 3: Keyword Localization
+
+For each target language:
+
+1. Decide whether the source keyword is the established term in the target
+ market. If yes (e.g., "Content Marketing" stays in German), keep it.
+2. If a local equivalent has real search behavior, swap to it.
+3. Apply the same logic to secondary keywords.
+4. Record the mapping. The translator agent uses it to update title, meta
+ description, and H2 headings consistently.
+
+### Phase 4: Translation
+
+Spawn the `blog-translator` agent (via Task) for each target language with:
+
+- The source content.
+- The keyword localization map from Phase 3.
+- The target language code.
+- Pointers to `references/translation-rules.md` and the cultural profile in
+ `references/cultural-adaptation.md` if one exists for the target locale.
+
+Run agents in parallel when translating into multiple languages.
+
+The agent returns the fully translated post in the same format as the input.
+
+### Phase 5: Post-Processing
+
+For each translated version:
+
+1. Add or update locale frontmatter:
+ ```yaml
+ lang: "de"
+ translatedFrom: "en"
+ translatedDate: "YYYY-MM-DD"
+ slug: "wie-man-ki-slop-vermeidet"
+ ```
+2. Verify structural integrity:
+ - Same number of H2 and H3 sections as the original.
+ - All images present with translated alt text.
+ - All SVG charts present with translated text labels (length-adjusted:
+ DE +30%, FR +15%, JA -20%, others see `references/translation-rules.md`).
+ - FAQ count matches.
+ - Citation capsules present in each H2.
+3. Save translated files:
+ ```
+ translations/
+ {lang}/{localized-slug}.{ext}
+ ```
+ When invoked from `blog-multilingual`, save into
+ `multilingual/{lang}/{localized-slug}.{ext}` instead.
+
+### Phase 6: Translation-Quality Guardrails
+
+Scan the output for machine-translation artifacts before reporting done:
+
+- Literal idioms (English idioms transliterated, not adapted).
+- Unnatural word order (SOV translated as SVO into a non-SVO language, or
+ the reverse).
+- Mixed-language sentences (other than established loanwords).
+- Number, date, or currency strings still in source format.
+- Frontmatter strings still in the source language.
+
+Flag every issue inline (file path, line number, fix suggestion). The
+translator agent should re-pass any flagged passage before delivery.
+
+### Phase 7: Delivery
+
+```
+## Translation complete: [Original title]
+
+### Source
+- Language: [source]
+- File: [source path]
+
+### Translations
+| Language | File | Keywords adapted | Status |
+|----------|------|------------------|--------|
+| de | translations/de/{slug}.md | [N] | ok |
+| fr | translations/fr/{slug}.md | [N] | ok |
+
+### Quality checks
+- Structural integrity: pass / fail per language
+- Meta tags localized: pass / fail per language
+- Numbers, dates, currencies formatted per locale: pass / fail
+- Keywords localized: [N] keywords adapted
+- Machine-translation artifacts flagged: [N] (see notes above)
+
+### Next steps
+- Run `/blog localize <file> --locale <code>` for cultural deep-adaptation.
+- Run `/blog locale-audit translations/` to verify completeness.
+- Use `/blog multilingual` to combine write, translate, localize, hreflang
+ in one command.
+```
+
+## Error Handling
+
+| Scenario | Action |
+|----------|--------|
+| Unsupported language code | Suggest the correct ISO 639-1 code |
+| Source equals a target | Skip with "Source is already in [lang]" |
+| File not found | Report error with suggested path |
+| Translator agent timeout | Retry once, then report partial results |
+| Binary or non-text file | Report error, suggest correct file |
+
+## Cross-References
+
+- Next step (cultural depth): `/blog localize <file> --locale <code>`
+- QA sweep across all language versions: `/blog locale-audit <directory>`
+- One-command pipeline: `/blog multilingual <topic> --languages <codes>`
diff --git a/skills/blog-translate/references/cultural-adaptation.md b/skills/blog-translate/references/cultural-adaptation.md
new file mode 100644
index 0000000..8c0d9b7
--- /dev/null
+++ b/skills/blog-translate/references/cultural-adaptation.md
@@ -0,0 +1,188 @@
+# Cultural Adaptation Profiles
+
+Locale profiles for cultural deep-adaptation. Loaded on demand by both
+`blog-translate` (at translation time) and `blog-localize` (for the
+adaptation pass). This file is the single source of truth, do not
+duplicate it elsewhere.
+
+Each profile covers: address form (formality), example brands and
+companies to substitute in, currency and pricing conventions, statistics
+sources to prefer, legal references to swap, CTA tone, and idiom notes.
+
+## DACH (Germany, Austria, German-speaking Switzerland)
+
+**Locales:** `de-DE`, `de-AT`, `de-CH`.
+
+- **Formality:** B2B and tech: `Sie` (formal). Lifestyle, gaming,
+ D2C: `du` (informal). Pick one and use it consistently for the
+ entire post. SaaS for SMB defaults to `du`; enterprise SaaS defaults
+ to `Sie`.
+- **Brand examples to swap to:** MediaMarkt, Saturn, Otto,
+ Zalando (retail), Lidl, Aldi (grocery), Deutsche Bank, ING (finance),
+ SAP, Siemens (B2B tech). For Austria: Spar, Hofer, BAWAG. For Swiss:
+ Migros, Coop, UBS.
+- **Currency:** EUR for DE and AT, CHF for CH. Format: `1.234,56 EUR`
+ (DE/AT) or `CHF 1'234.56` (CH).
+- **Statistics sources to prefer:** Statista (Germany scope), Bitkom,
+ Bundesnetzagentur, Destatis (Statistisches Bundesamt), HWWI,
+ ifo Institut, Bertelsmann Stiftung. Avoid US-only Pew or Nielsen
+ unless explicitly framed as US comparison.
+- **Legal references to swap:** CCPA -> DSGVO (GDPR in DACH-speak),
+ FTC -> Bundeskartellamt, FCC -> Bundesnetzagentur, ADA -> BGG.
+- **CTA tone:** Informational, never imperative. Prefer "Jetzt
+ entdecken", "Mehr erfahren", "Kostenlos testen". Avoid "Buy now",
+ "Sign up today" style. Trust signals (data protection, GDPR
+ compliance) outperform urgency.
+- **Idiom notes:** Compound nouns are normal; don't break them.
+ "Game-changer" becomes "Wendepunkt" or specific concrete claim.
+ "Best practices" stays in English.
+
+## Francophone (France, Quebec, Belgium-FR, Switzerland-FR)
+
+**Locales:** `fr-FR`, `fr-CA`, `fr-BE`, `fr-CH`.
+
+- **Formality:** Default `vous` for almost all professional content.
+ `tu` only for B2C lifestyle aimed at under-30 audiences. France
+ business culture is markedly more formal than US.
+- **Brand examples to swap to:** Carrefour, Auchan, Leclerc, FNAC
+ (retail/electronics), Orange, SFR (telecom), BNP Paribas, Société
+ Générale (finance), Dassault, Capgemini (B2B tech). Quebec: Hydro-Québec,
+ Desjardins, Couche-Tard.
+- **Currency:** EUR (FR, BE, FR-CH context CHF), CAD for fr-CA. Format:
+ `1 234,56 EUR` (NBSP as thousands separator). Quebec writes CAD as
+ `1 234,56 $` with the symbol after.
+- **Statistics sources to prefer:** INSEE, Médiamétrie, IFOP, BVA,
+ ARCOM (formerly CSA), Statistique Canada (for fr-CA), Eurostat (for
+ fr-FR European context).
+- **Legal references to swap:** CCPA / GDPR -> RGPD, FTC -> DGCCRF,
+ ADA -> loi du 11 février 2005. Quebec adds Loi 25 (privacy) and
+ Loi 96 (French language).
+- **CTA tone:** Polite, restrained, value-focused. "Découvrez",
+ "En savoir plus", "Essayer gratuitement". Avoid "Achetez maintenant"
+ unless e-commerce flash-sale context. Quebec accepts slightly more
+ direct CTAs than France.
+- **Idiom notes:** "Workflow" stays English in tech contexts. "Brand"
+ often translated as "marque". Be careful with Quebec vs. France
+ vocabulary differences (e.g., "courriel" vs. "email", "fin de
+ semaine" vs. "weekend").
+
+## Hispanic (Spain vs. LATAM)
+
+Hispanic markets split sharply. Don't conflate `es-ES` with `es-MX` or
+generic `es`. If a user writes `es`, ask which market.
+
+### Spain (`es-ES`)
+
+- **Formality:** `tú` for B2C and most digital content. `usted` only
+ for highly formal B2B (banking, legal). "Vosotros" exists; LATAM
+ doesn't use it.
+- **Brand examples:** El Corte Inglés, Mercadona, Carrefour España
+ (retail), Telefónica/Movistar, Vodafone España (telecom),
+ Santander, BBVA (finance), Inditex/Zara, Iberdrola (B2B).
+- **Currency:** EUR. Format: `1.234,56 EUR`.
+- **Sources:** INE (Instituto Nacional de Estadística), CIS,
+ IAB Spain, Comscore España, Eurostat.
+- **Legal:** RGPD (GDPR), AEPD (data protection authority),
+ CNMC (competition), Ley General de Publicidad.
+- **CTAs:** Direct but warm. "Descubre", "Empieza ahora",
+ "Pruébalo gratis".
+
+### LATAM (Mexico `es-MX`, Argentina `es-AR`, Colombia `es-CO`)
+
+- **Formality:** `tú` general default. Argentina uses `vos` (voseo).
+ Colombia mixes `tú` and `usted` depending on region. Mexico is
+ consistently `tú`.
+- **Brand examples (MX):** Walmart México, Liverpool, Coppel,
+ Telcel, BBVA México, Bimbo. (AR): Mercado Libre, Banco Galicia.
+ (CO): Éxito, Bancolombia, Rappi.
+- **Currency:** Local. MXN (`$1,234.56 MXN`), ARS (`$1.234,56`),
+ COP (`$1.234,56 COP`). Always specify the currency code; bare `$`
+ is ambiguous.
+- **Sources:** INEGI (MX), DANE (CO), INDEC (AR), Comscore LATAM,
+ IAB LATAM.
+- **Legal:** LFPDPPP (MX), Ley 1581 (CO), Ley 25.326 (AR). PROFECO
+ (MX consumer protection).
+- **CTAs:** Warm, direct, relationship-building. "Descubre cómo",
+ "Únete gratis", "Empieza hoy".
+
+## Japanese (Japan, `ja-JP`)
+
+- **Formality registers:** Three to know. `desu/masu` (polite, default
+ for most published content). `de aru` (declarative, used in
+ serious essays, white papers). Casual forms (`da`, plain verbs)
+ for blog posts aimed at consumer audiences. Pick one register and
+ stay in it.
+- **Honorifics:** Use `-san` when referring to people. Companies
+ take `sama` in formal contact contexts but not in editorial body.
+- **Brand examples:** Aeon, Ito-Yokado, Don Quijote (retail),
+ Rakuten, Mercari (e-commerce), NTT Docomo, SoftBank (telecom),
+ MUFG, SMBC (finance), Sony, Toyota, Hitachi (B2B), LINE,
+ PayPay (payments).
+- **Currency:** Yen, no decimals. Format: `1,234 yen` or `JPY 1,234`.
+ Use the kanji "yen" character in body copy when the publication
+ prefers JP characters; ASCII "yen" is acceptable for SEO contexts.
+- **Sources:** Statistics Bureau of Japan (Soumusho), METI, Nikkei
+ research, Dentsu reports, Macromill, Recruit Works Institute,
+ Mitsubishi Research.
+- **Legal:** APPI (Act on Protection of Personal Information),
+ JFTC (Japan Fair Trade Commission), METI guidelines.
+- **CTAs:** Soft, indirect, group-oriented. Avoid imperative tone.
+ Prefer phrases that emphasize benefit, ease, or community
+ ("everyone is using it" angles). Hard urgency converts poorly.
+- **Idiom notes:** English loanwords (katakana) are common in tech
+ copy but should be reserved for established terms. Avoid
+ inventing new katakana words. Numbered lists work well; rhetorical
+ questions are less common than in EN.
+
+## Custom-Locale Template
+
+When the target locale lacks a profile here, build one inline. Required
+fields:
+
+```yaml
+locale: <code> # e.g. nl-NL, pl-PL, sv-SE, tr-TR
+formality:
+ default: <formal|informal|mixed>
+ notes: <when to switch>
+brand_examples:
+ retail: [..., ...]
+ finance: [..., ...]
+ telecom: [..., ...]
+ b2b_tech: [..., ...]
+currency:
+ code: <ISO 4217>
+ format: <example: 1 234,56 PLN>
+sources_preferred:
+ - <local statistics body>
+ - <local industry research>
+legal_references:
+ privacy: <local equivalent of GDPR/CCPA>
+ competition: <regulator>
+ advertising: <regulator>
+cta_tone:
+ style: <imperative|informational|polite|warm>
+ avoid: [...]
+idiom_notes: <quirks the translator must respect>
+```
+
+Quick research pass to fill the template:
+
+1. Search `[country] official statistics agency` for the sources block.
+2. Search `[country] data protection authority` for the legal block.
+3. Pull the top 3 retailers and top 3 banks from a recent business
+ press article.
+4. Read 2-3 native blog posts in the target market to calibrate
+ `formality.default` and `cta_tone.style`.
+
+Save the new profile by appending it as a new section in this file
+(prefixed with the locale name) so future runs reuse it.
+
+## Profile Selection Logic
+
+Used by `blog-translate` (Phase 4) and `blog-localize` (Phase 1):
+
+1. Exact locale match (`de-CH`, `fr-CA`, `es-MX`).
+2. Language-only fallback (`de`, `fr`, `es`, `ja`).
+3. Regional grouping (e.g., DACH for any `de-*`, LATAM for any
+ `es-*` other than `es-ES`).
+4. Custom-locale template if no match.
diff --git a/skills/blog-translate/references/translation-rules.md b/skills/blog-translate/references/translation-rules.md
new file mode 100644
index 0000000..ebc37d9
--- /dev/null
+++ b/skills/blog-translate/references/translation-rules.md
@@ -0,0 +1,144 @@
+# Translation Rules
+
+SEO and format rules for blog translation. Loaded on demand by
+`blog-translate` and the `blog-translator` agent.
+
+## SEO Translation Principles
+
+1. Localize, do not transliterate. Pick the term native speakers actually
+ search for in the target market.
+2. Preserve keyword density, not word-for-word match. The localized
+ keyword should appear with similar frequency to the source keyword,
+ not the same count.
+3. Independently optimize the title tag and meta description per language.
+ Don't translate, rewrite for the target SERP.
+4. Keep slugs in the target language using the locale's romanization rules.
+5. Translate alt text and figcaptions; never leave English alt text on a
+ non-English page.
+6. Names of organizations, brands, and people stay in their canonical form.
+
+## Format Preservation
+
+Preserve unchanged:
+
+- Markdown structure (headings, lists, blockquotes, code fences).
+- HTML tags and attributes.
+- Frontmatter keys (translate values, not keys).
+- Image and link URLs.
+- Code blocks. Translate inline comments only when the comment is
+ human-facing prose.
+- SVG attributes (`x`, `y`, `font-size`, `fill`, `transform`,
+ `viewBox`). Translate only `<text>` and `<tspan>` content.
+- Schema JSON-LD blocks. Translate user-facing string values
+ (`headline`, `description`, `name`); leave structural fields
+ (`@type`, `@context`, URLs) untouched.
+- Internal-link zone markers (`[INTERNAL-LINK: ...]`).
+
+Adjust SVG text length where the translation is meaningfully longer or
+shorter than the source:
+
+| Locale | Length delta vs. EN |
+|--------|---------------------|
+| DE | +25% to +30% |
+| FR | +10% to +15% |
+| ES | +10% |
+| IT | +10% |
+| PT-BR | +10% |
+| JA | -20% (per character count) |
+| ZH | -25% (per character count) |
+| KO | -15% |
+
+If text overflows the chart frame, raise `viewBox` width or reduce
+`font-size`, never truncate.
+
+## Number, Date, Currency, and Quote Formats per Locale
+
+| Locale | Decimal | Thousands | Date | Currency | Quotes |
+|--------|---------|-----------|------|----------|--------|
+| en-US | `.` | `,` | MM/DD/YYYY or "March 25, 2026" | $1,234.56 | "..." |
+| en-GB | `.` | `,` | DD/MM/YYYY or "25 March 2026" | GBP 1,234.56 | '...' |
+| de-DE | `,` | `.` | DD.MM.YYYY | 1.234,56 EUR | "..." |
+| de-CH | `.` | `'` | DD.MM.YYYY | CHF 1'234.56 | "..." |
+| fr-FR | `,` | ` ` (NBSP) | DD/MM/YYYY | 1 234,56 EUR | <<...>> |
+| fr-CA | `,` | ` ` (NBSP) | YYYY-MM-DD | 1 234,56 $ | <<...>> |
+| es-ES | `,` | `.` | DD/MM/YYYY | 1.234,56 EUR | <<...>> |
+| es-MX | `.` | `,` | DD/MM/YYYY | $1,234.56 MXN | "..." |
+| pt-BR | `,` | `.` | DD/MM/YYYY | R$ 1.234,56 | "..." |
+| pt-PT | `,` | ` ` (NBSP) | DD/MM/YYYY | 1 234,56 EUR | <<...>> |
+| it-IT | `,` | `.` | DD/MM/YYYY | 1.234,56 EUR | <<...>> |
+| ja-JP | `.` | `,` | YYYY/MM/DD or YYYY-MM-DD | 1,234 yen | square brackets |
+| zh-CN | `.` | `,` | YYYY-MM-DD | 1,234.56 RMB | square brackets |
+| nl-NL | `,` | `.` | DD-MM-YYYY | 1.234,56 EUR | '...' |
+| pl-PL | `,` | ` ` (NBSP) | DD.MM.YYYY | 1 234,56 PLN | "..." then ,,..." |
+
+Notes:
+
+- Always use the locale's currency unless the source explicitly compares
+ values across currencies.
+- Convert USD figures only when the audience benefits. If the source is
+ reporting "the global tech sector earned $X", keep USD with locale
+ number formatting.
+- For dates inside frontmatter (`date`, `lastUpdated`, `translatedDate`),
+ always use ISO 8601 (`YYYY-MM-DD`) regardless of locale. Locale
+ formatting applies to dates inside body copy only.
+
+## Quote Handling
+
+- en: `"..."` and `'...'`.
+- de: `"..."` (with low-9 opening, high-6 closing in print-quality copy
+ the writer can simplify to `"..."` for web).
+- fr: <<...>> with non-breaking spaces inside (`<< ... >>`).
+- es and it: <<...>> for primary, "..." for nested.
+- ja: square brackets for primary, round brackets for nested.
+- pl: ,,..." (low-9 opening, high-6 closing).
+
+When the source uses straight quotes, the translator should switch to the
+locale's primary style above. Preserve nesting depth (outer vs. inner).
+
+## Quality Criteria Checklist
+
+Before reporting a translation as done, verify:
+
+- [ ] No untranslated source-language fragments (except established
+ loanwords like "Content Marketing" in DE).
+- [ ] All numbers, dates, currencies use locale format.
+- [ ] All quote marks switched to locale style.
+- [ ] Frontmatter strings localized (`title`, `description`, `tags`,
+ `slug`).
+- [ ] All image alt text translated.
+- [ ] All `<figcaption>` content translated.
+- [ ] All SVG `<text>` and `<tspan>` content translated, lengths
+ adjusted per the table above.
+- [ ] FAQ questions and answers natural in target language.
+- [ ] Citation capsules self-contained in target language.
+- [ ] No mixed-language sentences (other than loanwords).
+- [ ] No literal idiom translations; idioms adapted to local equivalents.
+- [ ] Sentence-length parity within +/- 25% of source paragraph length.
+- [ ] Markdown and HTML structure intact.
+- [ ] Schema JSON-LD `inLanguage` updated and `translationOfWork` added.
+
+## Banned Patterns in Translation
+
+Never produce:
+
+- Mixed-language sentences (other than established English loanwords).
+- Google-Translate-quality literal output.
+- Inconsistent formal or informal address within a single document.
+- Literally translated English idioms.
+- Preserved English SVO sentence structure forced into non-SVO languages.
+- English source-attribution like "(Source)" left untranslated where the
+ locale uses a different convention.
+
+## Output Metadata Comment
+
+Append at the very end of the translated file:
+
+```markdown
+<!-- translated: {source_lang} -> {target_lang} | date: {YYYY-MM-DD} | translator: blog-translator -->
+```
+
+For HTML output, use a standard HTML comment:
+
+```html
+<!-- translated: en -> de | date: 2026-04-27 | translator: blog-translator -->
+```