Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/lsampaioweb/ai-instructionsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/lsampaioweb/ai-instructions/spring-boot-i18n)<a href="https://agentmods.dev/rules/lsampaioweb/ai-instructions/spring-boot-i18n"><img src="https://agentmods.dev/badge/rules/lsampaioweb/ai-instructions/spring-boot-i18n/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/lsampaioweb/ai-instructions/spring-boot-i18n"><img src="https://agentmods.dev/badge/rules/lsampaioweb/ai-instructions/spring-boot-i18n.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00772 |
| Opus 5.5 | $0.00000 | $0.00309 |
| Sonnet 5.5 | $0.00000 | $0.00154 |
| Haiku 4.5 | $0.00000 | $0.00077 |
Grade A, and why
spring-boot-i18n scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spring Boot i18n Contract
These rules apply to application modules that expose user-facing or log-facing message text. Projects must meet the full contract once i18n is in use.
Message bundles
- Store bundles under
src/main/resources/i18n/. - Ship at least:
messages.propertiesas the English default bundlemessages_pt_BR.propertiesfor Brazilian Portuguese
- Every key present in one locale file must exist in every other locale file.
- Placeholder arity must match across locales for the same key (for example
{0}and{1}counts must be identical). - Never hardcode user-facing API, UI, validation, or error text in Java. Resolve it
through
MessageSource(or a thin helper that wraps it) and a message key. - Developer-facing log text uses the dedicated logging message helper defined by the logging contract. Resolve request-scoped log messages with the request locale and messages without a request locale with the configured default locale.
Spring messages configuration
Declare all four settings in application.yml whenever the project uses message
bundles:
spring:
messages:
basename: "i18n/messages"
encoding: "UTF-8"
default-locale: "en"
fallback-to-system-locale: true
- Quote string values consistently (configuration contract).
- Do not let the JVM/OS locale become the fallback for missing translations.
Locale resolution
- Supported locales for real projects are English and
pt-BR. - Default locale is English.
- REST/API applications resolve locale from the
Accept-Languageheader. A stockAcceptHeaderLocaleResolverconfigured with that default and supported list is enough. - MVC/page applications may also honor an explicit
langquery parameter when the UI needs a language switcher. Do not use the JVM default locale as a fallback. - Keep user-facing resolution separate from log-message resolution by using the dedicated logging helper. Both use the applicable locale: request locale for request-scoped messages and configured default locale for messages without a request.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed eef6724c099d
- 1mo ago Changed · +30 lines f2cd9dac75de
- 3mo ago First seen · 49 lines · 0 tokens per session scan A bc7a5296df6e
spring-boot-i18n is a cursor rule published in the GitHub repository lsampaioweb/ai-instructions (1 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 772 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
spring-boot-i18n compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| spring-boot-i18nlsampaioweb/ai-instructions | Cursor rule | 1 | 11d ago | MIT | A | 0 | Cursor |
| internationalizationdtyq/magic | Cursor rule | 5.1k | 1mo ago | none | A | 3,524 | Cursor |
| cmd-moodle-mustache-lintSaadRahman01/claude-moodle-dev | Cursor rule | 43 | 5mo ago | MIT | A | 32 | Cursor |
| chinese-languagedoccker/cc-use-exp | Cursor rule | 1.1k | 3mo ago | none | A | 385 | Cursor |
| rtl-right-to-left-i18n-cursorrules-prompt-fileXD3an/awesome-ai-coding-all-in-one | Cursor rule | 14 | 4d ago | none | A | 608 | Cursor |
| uninettuno-monografiariccardodicurti/template-latex-tesi-uninettuno | Cursor rule | 7 | 6mo ago | MIT | A | 645 | Cursor |
| reportMineru98/mysql-mcp-server | Cursor rule | 27 | 1y ago | MIT | A | 8 | Cursor |