Agent skill

Translate Strings

by microbus-io in microbus-io/fabric

TRIGGER when user asks to externalize, internationalize, or translate user-facing strings.

Apache-2.0Auto-check passedFrontend & Design

Install Translate Strings

skills CLI
$ npx skills add microbus-io/fabric --skill translate-strings -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microbus-io/fabric translate-strings --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microbus-io/fabric.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/microbus/translate-strings .claude/skills/translate-strings && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
translate-strings
GitHub stars
172
Token cost
~879 tokens
SKILL.md length
260 words
Files
1
Skills in repo
32
Repo updated
First seen
Licence
Apache-2.0

At a glance

TRIGGER when user asks to externalize, internationalize, or translate user-facing strings.

  • Works in 6 steps: Create String Bundle → Transfer Strings → Translate Strings for Requested Languages → …
  • User asks to externalize
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Internationalize

What it does

Translate Strings is an agent skill from microbus-io/fabric. TRIGGER when user asks to externalize, internationalize, or translate user-facing strings. Moves hardcoded display text into a text.yaml resource bundle for i18n support.

Its SKILL.md is about 880 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Internationalization and Microservices. The repository describes itself as: Microbus is the only fabric where every agentic workflow runs on a true microservice substrate - giving your workflows security, scale, observability, and prompt-driven authoring. The licence is Apache-2.0.

When your agent uses it

  • User asks to externalize
  • Internationalize
  • Translate user-facing strings

Example prompts

  • “/translate-strings”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Create String Bundle
  2. Transfer Strings
  3. Translate Strings for Requested Languages
  4. Update References in Go Files
  5. Update References in Templates
  6. Housekeeping

What it can do on your machine

Read from SKILL.md and the folder at commit fb98098. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are go, yaml and html).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Translate Strings loads about 879 tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 260 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~879

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from microbus-io/fabric at commit fb98098, republished under its Apache-2.0 licence (© microbus-io). 260 words, ~879 tokens.

Download SKILL.mdSave it as .claude/skills/translate-strings/SKILL.md (or your agent's skills folder).
name
translate-strings
description
TRIGGER when user asks to externalize, internationalize, or translate user-facing strings. Moves hardcoded display text into a text.yaml resource bundle for i18n support.

CRITICAL: Read and analyze this microservice before starting. Do NOT explore or analyze other microservices. The instructions in this skill are self-contained to this microservice.

Workflow

Copy this checklist and track your progress:

Externalizing and translating strings:
- [ ] Step 1: Create string bundle
- [ ] Step 2: Transfer strings
- [ ] Step 3: Translate strings for requested languages
- [ ] Step 4: Update references in Go files
- [ ] Step 5: Update references in templates
- [ ] Step 6: Housekeeping
Step 1: Create String Bundle

Create resources/text.yaml, if one does not already exist.

Step 2: Transfer Strings

Locate static strings in the microservice that are ultimately shown to the end user. These are likely to be in service.go or in HTML or text templates in the resources directory.

For each string, create an entry in resources/text.yaml that maps a unique key to its localized value on a per language basis. Use PascalCase for the string key (e.g. MyString) and ISO 639 language codes for each language (e.g. en-US).

yaml
HelloWorld:
  en: Hello World
Step 3: Translate Strings for Requested Languages

Update resources/text.yaml and add a localized value for each explicitly requested language. Use the ISO 639 language code under the key of each localization.

yaml
HelloWorld:
  en: Hello World
  en-AU: G'day World
  fr: Bonjour le Monde
  es: Hola Mundo

The en or en-US localizations are used by default when no other language matches the request's context. If neither localization is included, a default value should be provided instead.

yaml
HolaMundo:
  fr: Bonjour le Monde
  es: Hola Mundo
  default: Hola Mundo
Step 4: Update References in Go Files

Use svc.MustLoadResString to load strings in Go files such as service.go.

Before:

go
func (svc *Service) HelloWorld(w http.ResponseWriter, r *http.Request) (err error) {
	w.Write([]byte("Hello World"))
	return err
}

After:

go
func (svc *Service) HelloWorld(w http.ResponseWriter, r *http.Request) (err error) {
	ctx := r.Context()
	textHelloWorld := svc.MustLoadResString(ctx, "HelloWorld")
	w.Write([]byte(textHelloWorld))
	return err
}
Step 5: Update References in Templates

To use localized strings in HTML templates, load all strings with svc.MustLoadResStrings into a map, pass the map as part of the data to the template, and use the map in the template to obtain the string by key, instead of the static string.

Before:

go
func (svc *Service) HelloWorld(w http.ResponseWriter, r *http.Request) (err error) {
	data := struct{
		OtherData int
	}{
		OtherData: 5,
	}
	err = svc.WriteResTemplate(w, "mytemplate.html", data)
	if err != nil {
		return errors.Trace(err)
	}
	return nil
}
html
<b>Hello World</b>

After:

go
func (svc *Service) HelloWorld(w http.ResponseWriter, r *http.Request) (err error) {
	ctx := r.Context()
	data := struct{
		OtherData int
		Text map[string]string
	}{
		OtherData: 5,
		Text: svc.MustLoadResStrings(ctx),
	}
	err = svc.WriteResTemplate(w, "mytemplate.html", data)
	if err != nil {
		return errors.Trace(err)
	}
	return nil
}
html
<b>{{ .Text.HelloWorld }}</b>
Step 6: Housekeeping

Follow the housekeeping skill.

© microbus-io, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/microbus/translate-strings of microbus-io/fabric.

Open the folder on GitHubat commit fb98098

Compare with similar skills

Translate Strings next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Translate Strings compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Translate Strings this skillmicrobus-io/fabric172—~879Automated safety check: PassApache-2.0
Declarative Agent Developermicrosoft/work-iq1k—~3.2kAutomated safety check: PassCustom licence
Sanity Best Practicesrobotostudio/turbo-start-sanity182—~940Automated safety check: PassMIT
Email Template Builderalirezarezvani/claude-skills28k1 repos~3.8kAutomated safety check: PassMIT
Add Servicelbedner/aegis-stack143—~5.2kAutomated safety check: PassMIT
Update Project Docshoangsonww/Claude-Code-Agent-Monitor1.1k—~2.6kAutomated safety check: PassMIT

Similar skills

  • Official

    Create, build, deploy, and localize declarative agents for M365 Copilot and Teams.

    1k GitHub stars~3.2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Sanity Best Practices

    robotostudio/turbo-start-sanity

    Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, Blueprints, and…

    182 GitHub stars~940 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Email Template Builder

    alirezarezvani/claude-skills

    Build complete transactional email systems: React Email templates, provider integration (Resend, Postmark, SendGrid, AWS SES), preview server, i18n support, dark mode, spam optimization, analytics…

    28k GitHub starsUsed in 1 repo~3.8k tokens
    Frontend & DesignAuto-check passed
  • Add Service

    lbedner/aegis-stack

    A skill your agent uses when adding a new service (a business capability like auth, AI, blog, or finance) to the Aegis Stack framework itself.

    143 GitHub stars~5.2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Update Project Docs

    hoangsonww/Claude-Code-Agent-Monitor

    MANDATORY for every coding agent (Claude Code, Codex, or any other) — keep this repository's documentation in sync after any change to behavior, configuration, interfaces, events, schema, or features.

    1.1k GitHub stars~2.6k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Maui Localization

    davidortinau/maui-skills

    Guidance for localizing .NET MAUI apps: multi-language support via .resx resource files, culture resolution and runtime switching, RTL layout, platform language declarations (iOS/Mac Catalyst…

    174 GitHub stars~1.2k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed

More from microbus-io/fabric

All 32 skills in this repo
  • Add Config

    microbus-io/fabric

    TRIGGER when user asks to add or modify a configuration property or setting, or to make a value configurable.

    172 GitHub stars~2.3k tokensUpdated 10 days ago
    Auto-check passed
  • Add Function

    microbus-io/fabric

    TRIGGER when user asks to add, create, or modify an API endpoint, function, or RPC, or a route that accepts typed arguments and returns typed results.

    172 GitHub stars~2.4k tokensUpdated 10 days ago
    Auto-check passed
  • Add Inbound Event

    microbus-io/fabric

    TRIGGER when user asks to listen for, subscribe to, or handle an event emitted by another microservice.

    172 GitHub stars~1.4k tokensUpdated 10 days ago
    Auto-check passed
  • Add Metric

    microbus-io/fabric

    TRIGGER when user asks to add or modify a metric, counter, gauge, or histogram, or to track/measure an operation.

    172 GitHub stars~1.5k tokensUpdated 10 days ago
    Auto-check passed
  • Add Outbound Event

    microbus-io/fabric

    TRIGGER when user asks to fire, emit, or publish an event that other microservices can subscribe to.

    172 GitHub stars~1.7k tokensUpdated 10 days ago
    Auto-check passed
  • Add Python Function

    microbus-io/fabric

    TRIGGER when user asks to add a Python-backed function endpoint to an existing Python-backed microservice.

    172 GitHub stars~1.3k tokensUpdated 10 days ago
    Auto-check passed

Questions about Translate Strings

What does Translate Strings do?

TRIGGER when user asks to externalize, internationalize, or translate user-facing strings. Translate Strings is an agent skill from microbus-io/fabric. TRIGGER when user asks to externalize, internationalize, or translate user-facing strings.

When should I use Translate Strings?

Translate Strings fits situations like: user asks to externalize; internationalize; translate user-facing strings.

How do I install Translate Strings in Claude Code?

Run `npx skills add microbus-io/fabric --skill translate-strings -a claude-code`. Or copy the skill folder (.claude/skills/microbus/translate-strings in microbus-io/fabric) into .claude/skills/translate-strings in your project. Claude Code loads it when a task matches its description.

How do I install Translate Strings in Codex?

Run `npx skills add microbus-io/fabric --skill translate-strings -a codex`. Or copy the skill folder (.claude/skills/microbus/translate-strings in microbus-io/fabric) into .agents/skills/translate-strings in your project. Codex loads it when a task matches its description.

Can I use Translate Strings in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microbus-io/fabric --skill translate-strings -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/translate-strings, .gemini/skills/translate-strings, .github/skills/translate-strings and .opencode/skills/translate-strings in your project.

What does Translate Strings need to run?

SKILL.md names no scripts, command-line tools or credentials: Translate Strings is instructions for the agent only.

Does Translate Strings access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Translate Strings safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Translate Strings use?

Translate Strings is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Translate Strings use?

About 879 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Translate Strings?

Skills that share tags, products or a category with Translate Strings: Declarative Agent Developer (microsoft/work-iq, 1k stars), Sanity Best Practices (robotostudio/turbo-start-sanity, 182 stars), Email Template Builder (alirezarezvani/claude-skills, 28k stars) and Add Service (lbedner/aegis-stack, 143 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Translate Strings?

microbus-io (a GitHub organization) maintains it in microbus-io/fabric, which has 172 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on September 28, 2026.

Source: microbus-io/fabric on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.