agentleFS
ushiboushibo/brigade/skills/i18n/SKILL.md

i18n

Skill1 starsChanged 4 months agoMITView on GitHub

Internationalization rules for react-i18next projects. Use when editing i18n JSON files, adding translation keys, or fixing missing translations. Triggers on i18n, translation, locale, en.json, ru.json work.

47 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use oss-pr, pr-automation and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CES-LtdSkill

    oss-pr

    Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.

    Also in 3 projects that use this

  • CES-LtdSkill

    pr-automation

    PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".

    Also in 3 projects that use this

  • volovelySkill

    pr-fix

    This skill should be used when the user asks to "fix PR comments", "address PR feedback", "resolve PR comments", provides a GitHub PR URL with intent to fix, or says "pr-fix". It reads all review comments on a PR, decides which need code fixes vs. replies, makes the fixes, and posts replies — all with explicit user approval before any GitHub action.

    Also in 3 projects that use this

  • GitHubSkill

    state-management

    CoreAI Sandbox's TanStack Query + mock-JSON data layer. USE WHEN: editing data-fetching hooks (`app/hooks/use*.ts`), adding mock data in `app/data/`, or wiring a component to query state.

    Also in 4 projects that use this

  • xfstudioSkill

    graphql

    GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.

    Also in 3 projects that use this

  • MicrosoftSkill

    bump-version

    Bump the VoxelPic version to a user-specified value. USE FOR: setting or updating the project version across all files that embed it. Applies to requests like 'bump version to X.Y.Z', 'set version', or 'update version'.

    Also in 4 projects that use this

  • +2 more from CES-Ltd

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 38 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Surgical edits only: Never rewrite the entire file or large blocks.

    line 12
  2. Distinctive:

    Use nested JSON objects with dot-path access:

    line 19
  3. Distinctive:

    Add key to ALL locale JSON files

    line 37
  4. Very specific:

    Use {{ variable }} for interpolation: "greeting": "Hello, {{ name }}"

    line 38
  5. Distinctive:

    Run tests — i18n-dependent tests will catch missing keys

    line 39
  6. Very specific:

    Check for dead keys: search codebase for removed t("...") calls

    line 40
  7. Distinctive:

    When working in a git worktree, your copy of i18n files may be outdated.

    line 44

“Common” is measured: kept by at least 6 in 10 of the 38 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

i18n Rules

Shared JSON Files Are High-Conflict

i18n JSON files (en.json, ru.json, etc.) are modified by many tasks. When editing:

  1. Surgical edits only. Never rewrite the entire file or large blocks. Add/rename only the specific keys you need.
  2. Never delete keys unless the task explicitly requires it. Other code may reference them.
  3. Always add to ALL locale files simultaneously. If you add a key to en.json, add it to ru.json too (and vice versa).
  4. Verify key references before renaming. grep -r "old.key.name" src/ to find all usages. Update code references or keep the old key as alias.

Key Naming Convention

Use nested JSON objects with dot-path access:

{
  "section": {
    "subsection": {
      "key": "Value"
    }
  }
}

Access: t("section.subsection.key")

Pattern: {feature}.{context}.{label|hint|tooltip|action}

Adding Keys Checklist

  1. Add key to ALL locale JSON files
  2. Use {{ variable }} for interpolation: "greeting": "Hello, {{ name }}"
  3. Run tests — i18n-dependent tests will catch missing keys
  4. Check for dead keys: search codebase for removed t("...") calls

Worktree Warning

When working in a git worktree, your copy of i18n files may be outdated. Other tasks may have added keys to main after your branch point. Your edits must be additive only — never remove or reorder existing keys.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.