Agent skill

Kmp Starter Feature Locale

by DevAtrii in DevAtrii/Kmp-Starter-Template

The KMP Starter Template localization system — StarterLocales, StarterLocale, LocaleProvider, and the locale selector UI in features/locale.

MITAuto-check passedFrontend & Design

Install Kmp Starter Feature Locale

skills CLI
$ npx skills add DevAtrii/Kmp-Starter-Template --skill kmp-starter-feature-locale -a claude-code

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

GitHub CLI
$ gh skill install DevAtrii/Kmp-Starter-Template kmp-starter-feature-locale --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/DevAtrii/Kmp-Starter-Template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/kmp-starter/starter-features/locale .claude/skills/kmp-starter-feature-locale && 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
kmp-starter-feature-locale
GitHub stars
167
Token cost
~764 tokens
SKILL.md length
147 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

The KMP Starter Template localization system — StarterLocales, StarterLocale, LocaleProvider, and the locale selector UI in features/locale.

  • Tasks that involve Internationalization
  • SKILL.md covers Where things live, Data model, Register locales + provide them and Locale selector UI, plus 2 more sections
  • Reaches starter.atherio.dev
  • Tasks that involve Project scaffolding

What it does

Kmp Starter Feature Locale is an agent skill from DevAtrii/Kmp-Starter-Template. The KMP Starter Template localization system — StarterLocales, StarterLocale, LocaleProvider, and the locale selector UI in features/locale.

Its SKILL.md is about 760 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 Project scaffolding. The repository describes itself as: Starter template is a multi-module KMP boilerplate for Android & iOS with clean architecture and high-quality code. It handles basics like remote config, in-app purchases, and… The licence is MIT.

When your agent uses it

  • Tasks that involve Internationalization
  • Tasks that involve Project scaffolding

Example prompts

  • “/kmp-starter-feature-locale”

What it can do on your machine

Read from SKILL.md and the folder at commit a8f7b27. 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 kotlin).

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • starter.atherio.dev

    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

Kmp Starter Feature Locale loads about 764 tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 147 words of instructions outside code blocks.

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

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 DevAtrii/Kmp-Starter-Template at commit a8f7b27, republished under its MIT licence (© DevAtrii). 147 words, ~764 tokens.

Download SKILL.mdSave it as .claude/skills/kmp-starter-feature-locale/SKILL.md (or your agent's skills folder).
name
kmp-starter-feature-locale
description
The KMP Starter Template localization system — StarterLocales, StarterLocale, LocaleProvider, and the locale selector UI in features/locale.
author
DevAtrii
license
MIT

Locale (Localization)

In-app language switching with RTL/LTR support. Module: features/locale.

Where things live

PiecePath
StarterLocales (registry) / StarterLocalefeatures/locale/src/commonMain/.../StarterLocale.kt
LocaleProviderfeatures/locale/src/commonMain/.../LocaleProvider.kt
LocalAppLocale (expect/actual).../LocalAppLocale.kt (+ .android.kt, .ios.kt)
rememberStarterActiveLocale / rememberStarterLocaleDataStore.../LocaleProvider.kt
LocaleSelectorDropdown / LocaleSelectorContainer.../ui/LocaleSelectorDropdown.kt, LocaleSelectorContainer.kt

Data model

kotlin
data class StarterLocale(
    val emoji: String,                 // e.g. "🇵🇰"
    val langCode: String,              // "en", "ur", "es", "es_AR"
    val displayName: StringResource,   // localized label (Res.string.lang_*)
    val layoutDirection: LayoutDirection = LayoutDirection.Ltr,
)

StarterLocales is a registry:

kotlin
object StarterLocales {
    val DEFAULT = StarterLocale("🇺🇸", "en", Res.string.lang_en)
    val locales get() = _locales.toSet()
    fun add(locale: StarterLocale)
    fun add(locales: Iterable<StarterLocale>)
    fun findBy(langCode: String): StarterLocale?
}

Register locales + provide them

In App.kt (composeApp), define supported locales and wrap the app with LocaleProvider:

kotlin
val supportedLocales = setOf(
    StarterLocale("🇵🇰", "ur", Res.string.lang_ur, LayoutDirection.Rtl),
    StarterLocale("🇮🇳", "hi", Res.string.lang_hi),
    StarterLocale("🇪🇸", "es", Res.string.lang_es),
)

LocaleProvider(
    locales = supportedLocales,
    overrideDefault = StarterLocales.findBy("en"),
) {
    // app content — provides LocalAppLocale + LocalLayoutDirection
}

LocaleProvider resolves the active locale with priority: User preference → overrideDefault → System locale → DEFAULT. It provides both LocalAppLocale (lang code) and LocalLayoutDirection (RTL/LTR) to the tree. The selection persists to DataStore.

Locale selector UI

Drop in LocaleSelectorDropdown (Cupertino-style) where users pick a language:

kotlin
LocaleSelectorDropdown(
    label = Res.string.choose_language,
    isLast = true,
)

LocaleSelectorContainer wraps the stateful selection; LocaleSelectorDropdown lists StarterLocales.locales and writes the choice back to the DataStore.

Rules

  • Add languages as Res.string.lang_* resources + StarterLocale entries (see resources-theme skill).
  • Use LocaleProvider for resolution — don't manage locale state manually.
  • Respect layoutDirection for RTL languages.
  • No parallel localization system.

Reference

  • Docs: https://starter.atherio.dev/fundamentals/07-multiple-languages/
  • Source: features/locale/*

© DevAtrii, MIT. 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 .agents/skills/kmp-starter/starter-features/locale of DevAtrii/Kmp-Starter-Template.

Open the folder on GitHubat commit a8f7b27

Compare with similar skills

Kmp Starter Feature Locale 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.

Kmp Starter Feature Locale compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kmp Starter Feature Locale this skillDevAtrii/Kmp-Starter-Template167—~764Automated safety check: PassMIT
Rtdfany-tdf/any-tdf779—~1.1kAutomated safety check: PassMIT
Stdfany-tdf/any-tdf779—~1.1kAutomated safety check: PassMIT
Declarative Agent Developermicrosoft/work-iq1k—~3.2kAutomated safety check: PassCustom licence
Vtdfany-tdf/any-tdf779—~1.1kAutomated safety check: PassMIT
Admin Template Project Initializersouthliu/south-admin-react580—~519Automated safety check: PassMIT

Similar skills

  • Rtdf

    any-tdf/any-tdf

    Build, review, and troubleshoot RTDF React applications using exact component APIs, themes, icons, localization, and scaffolding.

    779 GitHub stars~1.1k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Stdf

    any-tdf/any-tdf

    Build, review, and troubleshoot STDF Svelte 5 applications using exact component APIs, themes, icons, localization, and scaffolding.

    779 GitHub stars~1.1k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Official

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

    1k GitHub stars~3.2k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Vtdf

    any-tdf/any-tdf

    Build, review, and troubleshoot VTDF Vue 3 applications using exact component APIs, themes, icons, localization, and scaffolding.

    779 GitHub stars~1.1k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Admin Template Project Initializer

    southliu/south-admin-react

    Removes the south-admin-react template's demo pages, components and menu entries, after a dry-run preview and your confirmation, and cleans up the matching imports.

    580 GitHub stars~519 tokensUpdated 19 days ago
    Frontend & DesignAuto-check passed
  • Create

    liriliri/licia

    Create a new Licia utility module following project conventions.

    2.4k GitHub stars~879 tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed

More from DevAtrii/Kmp-Starter-Template

All 23 skills in this repo
  • Kmp Starter

    DevAtrii/Kmp-Starter-Template

    Build production Android & iOS apps on the KMP Starter Template (Clean Architecture, MVI, Koin, Compose Multiplatform).

    167 GitHub stars~3.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Kmp Starter Memory

    DevAtrii/Kmp-Starter-Template

    Persistent per-project memory for KMP Starter Template apps.

    167 GitHub stars~963 tokensUpdated 1 mo ago
    Auto-check passed
  • Kmp Starter Architecture

    DevAtrii/Kmp-Starter-Template

    Clean Architecture module and package layout for KMP Starter Template features — data/domain/presentation layers, core dependency rule, screen-based package organization, the Screen vs Content…

    167 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Kmp Starter Create Fresh App

    DevAtrii/Kmp-Starter-Template

    Research and plan a brand-new app before scaffolding it on the KMP Starter Template.

    167 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Kmp Starter Data

    DevAtrii/Kmp-Starter-Template

    Data layer on the KMP Starter Template — repositories and data sources, Logics guidance, DataStore persistence, Room database, StarterFileManager, and the Calf file picker.

    167 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Kmp Starter Feature Analytics

    DevAtrii/Kmp-Starter-Template

    The KMP Starter Template analytics system — AppEvent/EventsTracker, Analytics routing, Mixpanel + Firebase providers, combining providers, and runtime swaps.

    167 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Kmp Starter Feature Locale

What does Kmp Starter Feature Locale do?

The KMP Starter Template localization system — StarterLocales, StarterLocale, LocaleProvider, and the locale selector UI in features/locale. Kmp Starter Feature Locale is an agent skill from DevAtrii/Kmp-Starter-Template. The KMP Starter Template localization system — StarterLocales, StarterLocale, LocaleProvider, and the locale selector UI in features/locale.

When should I use Kmp Starter Feature Locale?

Kmp Starter Feature Locale fits situations like: tasks that involve Internationalization; tasks that involve Project scaffolding.

How do I install Kmp Starter Feature Locale in Claude Code?

Run `npx skills add DevAtrii/Kmp-Starter-Template --skill kmp-starter-feature-locale -a claude-code`. Or copy the skill folder (.agents/skills/kmp-starter/starter-features/locale in DevAtrii/Kmp-Starter-Template) into .claude/skills/kmp-starter-feature-locale in your project. Claude Code loads it when a task matches its description.

How do I install Kmp Starter Feature Locale in Codex?

Run `npx skills add DevAtrii/Kmp-Starter-Template --skill kmp-starter-feature-locale -a codex`. Or copy the skill folder (.agents/skills/kmp-starter/starter-features/locale in DevAtrii/Kmp-Starter-Template) into .agents/skills/kmp-starter-feature-locale in your project. Codex loads it when a task matches its description.

Can I use Kmp Starter Feature Locale 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 DevAtrii/Kmp-Starter-Template --skill kmp-starter-feature-locale -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kmp-starter-feature-locale, .gemini/skills/kmp-starter-feature-locale, .github/skills/kmp-starter-feature-locale and .opencode/skills/kmp-starter-feature-locale in your project.

What does Kmp Starter Feature Locale need to run?

SKILL.md names no scripts, command-line tools or credentials: Kmp Starter Feature Locale is instructions for the agent only.

Does Kmp Starter Feature Locale access the network?

SKILL.md names 1 domain. In commands or code: starter.atherio.dev; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Kmp Starter Feature Locale 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 Kmp Starter Feature Locale use?

Kmp Starter Feature Locale is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Kmp Starter Feature Locale use?

About 764 tokens (SKILL.md is roughly 3.1k 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 Kmp Starter Feature Locale?

Skills that share tags, products or a category with Kmp Starter Feature Locale: Rtdf (any-tdf/any-tdf, 779 stars), Stdf (any-tdf/any-tdf, 779 stars), Declarative Agent Developer (microsoft/work-iq, 1k stars) and Vtdf (any-tdf/any-tdf, 779 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kmp Starter Feature Locale?

DevAtrii (a GitHub user) maintains it in DevAtrii/Kmp-Starter-Template, which has 167 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on September 1, 2026.

Source: DevAtrii/Kmp-Starter-Template on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.