Astro i18n — DevOps skill for Claude Code
Edge-native i18n for Astro on Cloudflare Workers: translations as data in Workers KV, a per-namespace edge cache purged only where content changed, typed translation keys, a locale-routing middleware.
How to install Astro i18n
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open EdgeKits/astro-i18n and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Astro i18n does
Edge-native i18n for Astro on Cloudflare Workers: translations as data in Workers KV, a per-namespace edge cache purged only where content changed, typed translation keys, a locale-routing middleware and a CLI. Plus a Claude Code skill.
Alternatives in DevOps
- Datachain — The Context Layer for unstructured data: typed, versioned datasets over S3, GCS, Azure 2.8k ★
- Video Podcast Maker — AI-powered video podcast creation skill for coding agents 529 ★
- Containarium — Open-source agent runtime — SSH-native isolation, eBPF egress policy, Kubernetes + LXC backends, GPU passthrou 320 ★
README
@edgekits/astro-i18n
Edge-native i18n for Astro on Cloudflare Workers. Translations live as data in Workers KV, one JSON value per locale and namespace, so the server renders every page in its language and nothing ships to the client; changing a string is a KV write, not a redeploy. Each namespace is cached at the edge under its own URL, and `edgekits-i18n migrate` purges only the namespaces whose content changed through the Cloudflare Purge API. The default locale's JSON files define a typed schema: the CLI generates the `I18n.Schema` declaration, so `t.common.hero.title` is checked by TypeScript and a missing key is a compile error.
The design is explained in the edgekits.dev series: [Stop Shipping Translations to the Client, Part 1](https://edgekits.dev/en/blog/edge-native-i18n-astro-cloudflare-part-1/), [Part 2](https://edgekits.dev/en/blog/edge-native-i18n-astro-cloudflare-part-2/) and [Stop Redeploying to Update Translations (Part 3)](https://edgekits.dev/en/blog/granular-edge-cache-purge-astro-cloudflare-part-3/).
Requirements
- Astro
^7.3withoutput: 'server'and the@astrojs/cloudflareadapter^14.3. - wrangler
^4.125, installed in the project (a peer dependency: the CLI runs the project's own wrangler for its KV writes). - A
wrangler.jsonc(the CLI reads that file;wrangler.tomlandwrangler.jsonare not read). - Node
>=22. - A Workers KV namespace bound as
TRANSLATIONS. - For
migrateonly: the site on a proxied Cloudflare zone, its zone ID, and an API token with the Zone › Cache Purge permission.
Quick start
1. Install
npm i @edgekits/astro-i18n
2. Bind a KV namespace
npx wrangler kv namespace create TRANSLATIONS
Add the namespace to `wrangler.jsonc` under the binding name `TRANSLATIONS`:
{
"compatibility_date": "2026-09-01",
"kv_namespaces": [{ "binding": "TRANSLATIONS", "id": "" }],
}
3. Write `edgekits-i18n.config.ts`
At the project
Related Skills
Costly OSS
Open-source AI + data cost intelligence — 18 connectors (Claude, GPT, Gemini, dbt, warehouses, BI, cloud, CI/C
Discord Ops
Agency-grade Discord MCP server — multi-guild project routing, AI-native notifications, and DevOps workflows f
Iron Mem
Agent-native memory infrastructure for AI coding assistants. Governed session capture, LLM compression, hybrid
Mac Cleaner
Free up disk space on macOS for developers who ship with AI agents: node_modules, Rust target, leftover git wo
Translatex
Free translation CLI for AI agents and scripts: no API key, no signup, no config. 15 keyless engines raced in
Test Cluster
Inspect the current Kubernetes cluster namespace and the language-operator deployment — check CRs, generated r
Related Agents
i18n Validator
Validate translation files for completeness and correctness. Checks missing keys across locales, incorrect dia
i18n Editor
Use this agent for ANY i18n/translation work - adding, updating, or removing translation keys in the en and uk
Translation Audit Locale
Audits one locale's existing Wren UI translations against the tone/register/length/accuracy rubric and writes