/writing-blogging:blog-translate <file> --to <comma-separated-codes>from writing-blogging
Translates blog posts into target languages with SEO localization, preserving markdown, frontmatter, JSON-LD, and embeds. Run before blog-localize.
Ships in writing-blogging. 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.
Bundled paths below use host Markdown substitution of ${CLAUDE_SKILL_DIR};
it is not an exported shell variable. Resolve them before execution, quote
paths, and refuse nonabsolute overrides. Pass blog_reference_root resolved
from ${CLAUDE_SKILL_DIR}/../blog/references, blog_template_root from
${CLAUDE_SKILL_DIR}/../blog/templates, and needed sibling roots to agents.
Read the main reference orchestration-details.md before loading project
context; pass only its helper-fenced output to downstream agents.
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-multilingualby Chris Mueller (Pro Hub Challenge, March 2026). Original repository: no longer available as of 2026-10-12
Load on demand:
${CLAUDE_SKILL_DIR}/references/translation-rules.md, format preservation, number/date/currency
formats per locale, quote handling, quality criteria.${CLAUDE_SKILL_DIR}/references/cultural-adaptation.md, cultural profiles per locale (DACH,
Francophone, Hispanic, Japanese, custom). This file is shared with
blog-localize (do not duplicate).lang field.lang attribute.--to as comma-separated Google-compatible
hreflang tags (de, fr, es-MX, ja, pt-BR, zh-Hant).
If --to is missing, ask the user once: "Which languages should I
translate to? Provide hreflang tags such as de, fr, es-MX, ja, pt-BR."blog-multilingual, blog-localize, and blog-locale-audit: ISO 639-1
language in lowercase, optional ISO 15924 script in title case, optional
ISO 3166-1 Alpha-2 region in uppercase. Reject invalid codes with a
suggestion (jp becomes "Did you mean ja for Japanese?"). Require a
region or explicit neutral mode for ambiguous language-only targets such as
es, pt, and zh. Google accepts a language code by itself as hreflang
(https://developers.google.com/search/docs/specialty/international/localized-versions,
read 2026-10-12), but never a region by itself; this stricter rule exists
for translation quality, not because Google requires a region. If a target
equals the normalized source language, skip it with a notice.Extract the translatable surface:
title, description, tags, author (only when
translatable, e.g. role labels, not personal names).alt text and <figcaption> content.<text> and <tspan> content; preserve SVG attributes (x, y,
fill, transform), except under the overflow rule: if text overflows,
widen the viewBox or reduce font-size; never truncate (see
${CLAUDE_SKILL_DIR}/references/translation-rules.md).Preserve unchanged:
[INTERNAL-LINK: ...]).@id, or
sameAs).Identify the primary and secondary keywords for Phase 3.
For each target language:
Spawn the blog-translator agent (Agent tool, one call per target language) with:
${CLAUDE_SKILL_DIR}/references/translation-rules.md.blog-localize.Run agents in parallel when translating into multiple languages.
When blog-multilingual invokes this skill, its invocation starts with
Mode: orchestrated; see Phase 5 (output root) and Phase 7 (contract).
The agent returns the fully translated post in the same format as the input.
For each translated version:
Add or update locale frontmatter:
lang: "de"
translatedFrom: "en"
translatedDate: "YYYY-MM-DD"
sourceHash: "<sha256 of the source file bytes>"
translationHash: "<sha256 of the translated body, after the closing frontmatter>"
slug: "wie-man-ki-slop-vermeidet"
The agent cannot compute hashes (no Bash), so you add sourceHash and
translationHash here; blog-locale-audit relies on them. Provenance lives
in frontmatter only, with no appended HTML comment.
Verify structural integrity:
${CLAUDE_SKILL_DIR}/references/translation-rules.md).Save translated files. Exactly one output root applies per run:
/blog translate): translations/{lang}/{localized-slug}.{ext}
under the current working directory.Mode: orchestrated):
multilingual/{lang}/{localized-slug}.{ext}, the directory the
orchestrator created. Never also write under translations/.Before writing, slugify {localized-slug} to lowercase ASCII with only
a-z, 0-9, and hyphens, rejecting empty or reserved names. Create the
language directory from the normalized hreflang code only. Resolve the
final path and require it to stay inside the intended output root; reject
symlinked output paths.
Scan the output for machine-translation artifacts before reporting done:
Flag every issue inline (file path, line number, fix suggestion). The translator agent should re-pass any flagged passage before delivery.
Translation can change claims, links, metadata, schema, and rendered layout.
Orchestrated mode.
When invoked by blog-multilingual (orchestrated mode), skip the delivery contract; blog-multilingual runs it once per locale on the final text.
Orchestrated mode is signaled by the literal line Mode: orchestrated at the top of the invocation.
In that mode report each locale's status as pending (contract deferred to blog-multilingual) and never call a translation complete or publication-ready.
Standalone runs. Before calling any translated file complete or
publication-ready, run the canonical sequence in
${CLAUDE_SKILL_DIR}/../blog/references/blog-delivery-contract.md against each
final locale independently (this skill is the last text change for the locale).
Translation-specific rules:
BLOG_SCRIPT_DIR="${CLAUDE_BLOG_SCRIPTS_DIR:-${CLAUDE_SKILL_DIR}/../../scripts}"
and reject it unless absolute. Never resolve a helper from the current
project's scripts/ directory.--slug <localized-slug> to the gates.[INTERNAL-LINK, [IMAGE, [CHART):
none may remain. Reuse the source hero (copy it as hero.<ext>); a new paid
hero needs the blog-image cost and consent gate first.blog_render.py --md <locale-file> --out-dir <locale-delivery-dir>.blog_preflight.py --draft <locale-delivery-dir> --init-review-nonce.blog-reviewer against the
rendered locale HTML; it returns text and you save it verbatim to
<locale-delivery-dir>/review.md.blog_preflight.py --draft <locale-delivery-dir> --strict --slug <localized-slug>.blog_preflight.py --draft <locale-delivery-dir> --reset-iterations before
the first gate run only when a new translation starts in a used directory or a
delivered locale gets a new edit pass, never after a failed run).Require 90+/100, zero P0, the matching nonce, final BLOCKING: false, and all
other gates. A failed locale remains draft-blocked; report its diagnostic and
do not describe it as complete.
## Translation complete: [Original title]
### Source
- Language: [source]
- File: [source path]
### Translations
| Language | File | Keywords adapted | Status |
|----------|------|------------------|--------|
| de | translations/de/{slug}.md | [N] | passed / draft-blocked / pending (orchestrated) |
| fr | translations/fr/{slug}.md | [N] | passed / draft-blocked / pending (orchestrated) |
### 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)
- Delivery contract: score, P0 status, nonce verification, and preflight report per locale (standalone only; deferred to blog-multilingual in orchestrated mode)
### 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.
| Scenario | Action |
|---|---|
| Unsupported language code | Suggest the correct Google-compatible hreflang 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 |
/blog localize <file> --locale <code>/blog locale-audit <directory>/blog multilingual <topic> --languages <codes>What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hackernoon/cuttlefish-agent-skills --plugin writing-blogging706 skills in this plugin
/academic-cv-builderFormat CVs for academic positions, including publications, grants, teaching, and research experience. Use when the user mentions academic CV, faculty job, tenure-track, postdoc, PhD, research position, or needs to list publications, grants, conferences, or teaching./accessibilityAudit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible"./adaptyvCloud laboratory platform for automated protein testing and validation. Use when designing proteins and needing experimental validation including binding assays, expression testing, thermostability measurements, enzyme activity assays, or protein sequence optimization. Also use for submitting experiments via API, tracking experiment status, downloading results, optimizing protein sequences for better expression using computational tools (NetSolP, SoluProt, SolubleMPNN, ESM), or managing protein design workflows with wet-lab validation.Other plugins' skills for the same job