Borrowing it
Nothing to install: this file belongs to sampaio-tech/flutter-core-modules. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sampaio-tech/flutter-core-modules/main/.claude/skills/feature-locale/SKILL.mdgit clone --depth 1 https://github.com/sampaio-tech/flutter-core-modulesWrote 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/skills/sampaio-tech/flutter-core-modules/feature-locale)<a href="https://agentmods.dev/skills/sampaio-tech/flutter-core-modules/feature-locale"><img src="https://agentmods.dev/badge/skills/sampaio-tech/flutter-core-modules/feature-locale/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/skills/sampaio-tech/flutter-core-modules/feature-locale"><img src="https://agentmods.dev/badge/skills/sampaio-tech/flutter-core-modules/feature-locale.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.00068 | $0.01106 |
| Opus 5.5 | $0.00027 | $0.00442 |
| Sonnet 5.5 | $0.00014 | $0.00221 |
| Haiku 4.5 | $0.00007 | $0.00111 |
Grade A, and why
feature-locale 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 2mo 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 — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Feature: Locale
Purpose: Persist and restore the user's chosen Locale across app sessions using SharedPreferences. The feature has no UI — it is a pure data/domain module.
Layer Map
lib/src/features/locale/
├── domain/
│ ├── repositories/locale_repository.dart # abstract LocaleRepository
│ └── usecases/
│ ├── get_locale_usecase.dart # GetLocaleUsecase + provider
│ ├── set_locale_usecase.dart # SetLocaleUsecase + provider
│ └── remove_locale_usecase.dart # RemoveLocaleUsecase + provider
└── data/
└── repositories/locale_repository.dart # LocaleRepositoryImpl + provider
No presentation/ layer — locale is consumed directly via use cases.
Domain
Repository Interface
// lib/src/features/locale/domain/repositories/locale_repository.dart
abstract class LocaleRepository {
Locale? getLocale(); // sync, nullable
Future<bool> setLocale({required Locale locale}); // returns success bool
Future<bool> removeLocale(); // returns success bool
}
Use Cases
| Class | Provider | Signature |
|---|---|---|
GetLocaleUsecase |
getLocaleUsecaseProvider |
Locale? call() |
SetLocaleUsecase |
setLocaleUsecaseProvider |
Future<bool> call({required Locale locale}) |
RemoveLocaleUsecase |
removeLocaleUsecaseProvider |
Future<bool> call() |
All providers are Provider.autoDispose.
Data
LocaleRepositoryImpl
File: lib/src/features/locale/data/repositories/locale_repository.dart
Persists locale as a List<String> in SharedPreferences:
- Key:
DatabaseKeys.locale.key→'locale'(prod) /'localeDebug'(debug) - Stored value:
['en']or['en', 'US'](languageCode + optional countryCode) - Reads back: pattern matches on the list length to reconstruct
Locale
// Storage format:
// Locale('en') → ['en']
// Locale('pt', 'BR') → ['pt', 'BR']
final localeRepositoryProvider = Provider.autoDispose<LocaleRepository>(
(ref) => LocaleRepositoryImpl(
sharedPreferences: ref.read(sharedPreferencesProvider),
),
);
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.
- 2mo ago First seen · 144 lines · 68 tokens per session scan A bf93cd99e70c
feature-locale is a skill published in the GitHub repository sampaio-tech/flutter-core-modules (2 stars, last pushed 16d ago), licensed MIT. It adds 68 tokens to every session and 1,106 once invoked, about $0.0003 per session on Opus 5.5. 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.
Other skills, from other repositories
intl-expansion
Use when expanding to a new country: market selection, entry mode, localization, regulation and regional go-to-market.
chinese-documentation
A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.
azure-ai-translation-text-py
Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications. Triggers: "text translation", "translator", "translate text", "transliterate", "TextTranslationClient".
harden
Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready. Use when the user asks to harden, make production-ready, handle edge cases, add error states, or fix overflow and i18n issues.
edit-site
Plans, coordinates and customizes PAC CLI-downloaded Standard or Enhanced data model non-SPA Power Pages sites created from Microsoft templates or manually in Design Studio. Use for requests involving pages, localized content, navigation, assets, snippets, site markers, Liquid/web templates, page layouts, or styling.…
asc-subscription-localization
Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.