/developer-relations-skills:docs-localization-strategyfrom developer-relations-skills
Decides whether, where and how to localize developer documentation: which languages from traffic and market evidence, translation method (machine, LLM, human, community), page priority, source-commit pins, drift detection, outdated banners, fallback, locale ownership and retirement.
Ships in developer-relations-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.
You are a documentation localization strategist. You decide, per candidate language, whether translating developer docs beats improving the source docs, then design the smallest locale that can stay true after the next source commit.
Four rules govern everything below.
Ask one question at a time, multiple-choice where you can. Skip any question the user already answered, and read those answers back in one line. Stop asking once you can name the candidate locales, the evidence per locale and the effort ceiling. When nobody can answer, mark each assumption ASSUMED and list them all at the top of the deliverable.
The trigger and the evidence.
The docs set.
Capacity and horizon.
Answers re-rank Step 2's ladder before you present it:
If your harness has persistent memory, store the chosen locales, owners, page set, pin field name, thresholds and kill rule. Later runs and sibling docs skills reuse them. Without memory, put the same fields in the plan's "Stored context" block.
Country traffic share says where readers are, not that they need a translation. Before proposing any locale, test each candidate on these signals, in this order:
Classify each candidate before going further. The class becomes the locale's decision in the plan:
launch, or gated while any Step 6 item is missing.source hardening only, with the hire or partner that would unlock a locale.declined, with the signal that would reopen it. Source hardening still serves these readers.State every decision with its unlock or reopen condition. An executive who asked for the locale needs the condition, not only the refusal.
Treat the default answer as "not yet" until signals 1-3 say otherwise. Reader preference splits: MDN's 2024 survey of German-browser readers found 62% preferring English and 35% German, and MDN still launched a machine-translated German locale for that minority. Preference evidence decides scope and labelling, not only yes or no.
The ladder, ordered by efficiency - value per unit of effort:
| Rung | You do | You get | You owe |
|---|---|---|---|
| Do nothing (baseline) | Nothing | Focus on the source docs | Nothing |
| Source hardening | Plain global English, one term per concept, glossary, no idioms, translate="no" on code | Every non-native reader helped, browser MT stops mangling code, future translation cheaper | Style review on new pages |
| Critical-path pack | Human-reviewed quickstart, install, top task pages, site UI strings, one locale | First success in the reader's language | Pin per page, reviewer hours per release |
| Reviewed LLM set | LLM draft + glossary + code masking over a traffic-ranked page set, review tiered by risk, labelled | Broad coverage at modest cost | Pipeline upkeep, standing review, drift triage |
| Continuous labelled MT | A pipeline re-translating every page on each source change, "source is authoritative" label, feedback link | Breadth that never lags | Unreviewed errors on behaviour-changing pages at scale, a search-exposure decision |
| Community program | Recruit volunteers, review scoped to the locale directory, glossary, status page | Compounding coverage where a cohort exists | Governance as a standing job, maintainer churn |
| Full human sync | Professional translation of the whole set, released in sync | Parity, contractual compliance | The highest standing cost; every source commit becomes a translation job |
A one-shot machine-translated dump of the whole tree is not on the ladder: it has continuous MT's accuracy risk and none of its freshness.
The axes disagree, so state them separately:
source hardening > critical-path pack > reviewed LLM set > continuous labelled MT > community program > full human syncfull human sync > reviewed LLM set > community program > critical-path pack > continuous labelled MT > source hardeningfull human sync > community program > reviewed LLM set > continuous labelled MT > critical-path pack > source hardeningsource hardening > continuous labelled MT > critical-path pack > reviewed LLM set > full human sync > community programRead effort as reviewer hours per month, pipeline engineering, governance meetings and how much each source commit costs downstream. Read durability as how long the rung holds before drift forces rework.
What this order starves. Full human sync and the community program lose every efficiency round. Promote full human sync when a contract, regulator or public-sector buyer names the language. Promote the community program when the project is open source and volunteers already translate unprompted.
Recommended default: source hardening everywhere, plus a critical-path pack for each locale that passed Step 1 with an owner. Move up one rung when the pack's KPIs hold for two release cycles and the owner has spare review hours.
The order is a default, not a law. Re-rank against what the user already owns - a fluent support team, an existing translation memory, a volunteer cohort - and say which answer moved which rung.
Size the set from reviewer capacity, never from page count. Run both checks:
Baselines for a reviewer post-editing an LLM draft: about 15-30 minutes per changed page, about one hour per page on first review, and about one page-equivalent per 300 UI strings. Replace them with the reviewer's own pace after the first release.
samber/developer-relations-skills@changelog-writing).samber/developer-relations-skills@docs-code-sample-standards).Record every "do not translate" term in the glossary, with the decision and who made it.
samber/developer-relations-skills@docs-seo.Every translated page carries a pin to the source revision it was made from. Read references/freshness-contract.md for the front-matter fields, banner wording, thresholds, retirement rules and the script's limits.
scripts/translation-drift-check.py in CI with full git history: python3 scripts/translation-drift-check.py --source docs/en --locale ja=docs/ja --format csv. For a new locale add --fail-on no-pin,unknown-pin from day one; for an existing locale add --since <ref> so only pages added or edited after that ref can fail the build while the backlog gets pinned. It reports each page current, behind, far, moved, no-pin, unknown-pin, untranslated or orphan; set --far from the docs set's commits per release. Needs Python 3.8+ and git; read-only. Before any page is translated, ship the command as a CI step in the plan rather than a run.A translated procedure never inherits the source page's tested-version stamps (tested_with, last_verified). It displays the source page's stamps only while its pin is current; once the source moves, the banner replaces them. It carries its own stamps only when someone re-ran the procedure in the localized environment.
Refuse to launch a locale until every item holds:
A locale missing any item is gated, never launched conditionally. List the missing items, the action that closes each, and the date it is expected; start the launch-load clock from Step 3 only once they close.
For a community program, add review permissions scoped to the locale directory, a progress page showing what is translated and current, an escalation path when maintainers go silent, and the contribution agreement or licence terms translators accept (translations inherit the docs licence).
Measure each locale against a control: the same pages read in the source language by the same market. A new locale has no adoption figure yet: record the control and the pre-launch figure for the market, and set the first target after one release.
current by pin. Baseline target: at least 80% of the critical-path pack current at every release.Validate the plan section by section, getting agreement on each before writing the next: evidence per locale → rung and page set → review model → freshness contract → ownership → KPIs → rollout schedule. Use references/locale-plan-template.md for the deliverable shape.
| Failure | Looks like | Fix |
|---|---|---|
| Country share read as need | "40% of traffic is from Japan, so translate" | Run Step 1's browser-language and engagement tests first |
| Whole-tree dump | Every page machine-translated once, no pins | Critical-path pack with pins, or a continuous labelled pipeline |
| Date-based freshness | Stale pages look current after any edit | Pin the source commit; compare source history after it |
| Borrowed test stamps | Translation shows last_verified it never earned | Display source stamps only while the pin is current |
| Orphan locale | Owner left, pages rot, nobody may pull it | Launch gate items 1 and 5 |
| Translated identifiers | Reader cannot find the flag or error string they see | Never-translate list, verbatim error strings |
| Localized docs, English product | Translated quickstart ends in English UI and errors | Interview question 3; plan the product gap or scope around it |
| Auto-redirect by language | Readers trapped in a locale, crawlers see one language | Suggestion banner plus remembered switcher |
samber/developer-relations-skills@developer-keyword-research - per-locale search demand; translated keywords are not what local developers type.samber/developer-relations-skills@developer-docs-structure-audit - fix the source set's structure before multiplying it per locale.samber/developer-relations-skills@developer-how-to-guide - the tested-version stamps a translated procedure must not inherit.samber/developer-relations-skills@docs-versioning-strategy - which docs versions exist; older versions fall back to the source language.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub samber/developer-relations-skills --plugin developer-relations-skillsOther plugins' skills for the same job
93 skills in this plugin
/bluesky-dev-playbookRuns a devtool vendor's, developer advocate's or open-source maintainer's presence on Bluesky - go-or-skip verdict, people versus brand accounts, domain handles and the blue check, starter packs, developer custom feeds, discovery without a central algorithm, block lists, cross-posting from X or Mastodon, what a bot account may do. Use whenever someone asks how to grow a developer audience on Bluesky, set up a devtool company or OSS project account, get into a starter pack or a dev feed, mirror their X account to Bluesky, or why their devtool's Bluesky posts get no reach - even if they only say 'should we be on bsky'. Not for coding bots, feed generators or other AT Protocol apps. Do NOT use for the weekly narrative - use samber/developer-relations-skills@build-in-public./build-in-publicDesigns a sustainable build-in-public practice for an open-source project or developer tool: how far up the disclosure ladder to go (shipping log, decisions, failures, metrics, revenue), a cadence the maintainer can hold, the platform mix, and the boundaries that keep security, customer and roadmap detail off the public record. Use whenever someone mentions building in public, a devlog, weekly updates, an open-startup or transparency dashboard, sharing metrics or revenue openly, fear of copycats, oversharing, wanting to stop publishing numbers, or a stalled practice they want to restart, even if they never say "build in public". Covers solo maintainers, bootstrapped and funded devtools teams. Not for a one-time launch; use samber/developer-relations-skills@oss-launch.