RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/Hmbown/CodeWhale

AGENTS.md

crates/tui/locales/AGENTS.md
AGENTS.md

Quality

43/100

Scores the file, not the repository.

Length

373 words

4 headings · 0 code blocks

Repository

40k

— · pushed 0 days ago

Last changed

yesterday

First indexed 3 days ago.
Hmbown/CodeWhale/crates/tui/locales/AGENTS.mdRawGitHub
1# crates/tui/locales — agent guidance
2 
3UI packs. `en.json` is the reference. Which packs are **complete** (held to
4exact raw key parity with English) and which are intentionally partial is
5defined by the tests, not by this file — read them rather than a list that goes
6stale on the next locale PR.
7 
8## Adding or changing a string
9 
101. Add the `MessageId` variant, the `ALL_MESSAGE_IDS` entry, and the `en.json`
11 key — all three, or `message_id_list_english_pack_stay_in_exact_sync` fails.
122. Translate into every complete pack, or
13 `shipped_complete_packs_have_raw_key_parity_with_english` fails. Do not "fix"
14 that test by copying English into a pack — the silent English fallback is
15 invisible at runtime, so the gate is the only thing between users and
16 untranslated UI.
173. If you change an **existing English value**, retranslate it everywhere. Value
18 drift is invisible to the key gates; say what you changed in the commit body.
19 
20## Translation conventions
21 
22- `{named}` placeholders stay literal; call sites substitute with `.replace()`.
23- Product terms stay English per pack convention: Fleet, Plan / Act / Operate,
24 Ask / Auto-Review / Full Access. Plain words ("read only", phase words)
25 translate naturally and must stay short — footers and row controls render them
26 in tight budgets.
27- Key names, commands, and glyphs are never in translations; they are composed
28 in code.
29- Preserve intentional leading/trailing spaces (pane titles, `Rule `, the
30 slash-menu hint).
31- Script rules: ru/uk prose is Cyrillic only (uk uses і/ї/є/ґ, never ы/э/ъ); hi
32 prose is Devanagari. Latin appears only in product terms, commands, key names,
33 placeholders, and URLs. Script-purity fixtures in `localization.rs` enforce
34 this for high-visibility strings.
35 
36## Adding a locale
37 
38Pack JSON with full parity, `Locale` variant + tag/display/parse arms in
39`localization.rs`, onboarding picker entry (`language.rs` — a test forces every
40shipped locale to be offered), the typed `UiLocale` schema in `config_ui.rs`,
41setup-wizard match arms, and locale display arms in the config/change commands.
42The `/config` hint and invalid-locale error derive from `Locale::shipped()`
43automatically; the schema agreement test keeps `UiLocale` aligned with that
44registry. Picker hotkeys run `1..=9` then `a`, `b`, … so more than nine locales
45stay single-keystroke selectable.
46 
47Translated READMEs (repo root) are separate from these packs but follow the same
48discipline: `scripts/check-readme-translations.py` fails when English changes
49without the translations being refreshed and restamped.
50 

Sections

  • crates/tui/locales — agent guidance
  • Adding or changing a string
  • Translation conventions
  • Adding a locale

What it covers

code-styleagent-behaviour

Stack — with the evidence

rust

(1.00)

cli-tool

(0.90)

typescript

(0.60)

javascript

(0.60)

docker

(0.60)

github-actions

(0.60)

Format

AGENTS.md

A plain-markdown README for coding agents, deliberately unopinionated: no frontmatter, no globs, no vendor keys. That minimalism is why it became the one file a dozen different agents will read, and why it carries the least per-file targeting power of any format here.

What the corpus says about it

Repository

Owner
Hmbown
Language
—
License
—
Archived
no

All configs in this repo

Also in Hmbown/CodeWhale

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
Hmbown/CodeWhaleAGENTS.md · 40kAGENTS.mdrustcli-tool+4buildtestagent-behaviour77/100yesterday
Hmbown/CodeWhaleCLAUDE.md · 40kCLAUDE.mdrustcli-tool+4agent-behaviour16/100yesterday
Hmbown/CodeWhalecrates/tui/AGENTS.md · 40kAGENTS.mdrustcli-tool+4testlint-formatdo-notagent-behaviour79/100yesterday
Hmbown/CodeWhaleweb/AGENTS.md · 40kAGENTS.mdtypescriptrust+10buildtestdo-notagent-behaviour66/100yesterday
Diff against AGENTS.md Diff against CLAUDE.md Diff against crates/tui/AGENTS.md Diff against web/AGENTS.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
aaif-goose/gooseAGENTS.md · 52kAGENTS.mdrusttypescript+2setupbuildtestlint-format+6100/1003 days ago
code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67kAGENTS.mdtypescriptbun+10setupbuildtestlint-format+6100/1002 days ago
mui/material-uiAGENTS.md · 99kAGENTS.mdtypescriptjavascript+13setupbuildtestlint-format+9100/1003 days ago
n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199kAGENTS.mdtypescriptlangchain+16buildteststylearch+3100/1003 days ago
TryGhost/Ghoste2e/AGENTS.md · 55kAGENTS.mdtypescriptjavascript+12setupteststylearch+2100/1003 days ago
duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70AGENTS.mdtypescriptjavascript+5buildteststylearch+3100/1003 days ago
trick77/agents-md-syncAGENTS.md · 2AGENTS.mdtypescriptnode+4setupbuildteststyle+5100/1003 days ago
elastic/elasticsearchx-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/AGENTS.md · 78kAGENTS.mdjavanode+4buildtestlint-formatstyle+2100/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack