android-resources
БесплатноБез исполняемых скриптовНе проверенStandards for Strings, Drawables, and Localization. Use when managing Android resources, drawables, or adding localization support. (triggers: strings.xml…
от ComeOnOliver★ 67 звёзд на GitHubОб этом скилле
Android Resources Standards
Priority: P2
Implementation Guidelines
Strings & Localization
- Define in XML: All UI text must be in
strings.xml. UsestringResource(R.string.*)in Compose. - Formatting: Use format args (
%s,%d) instead of concatenation. Useplurals(e.g.,<item quantity="one">) for quantity-sensitive strings. - Parity: Maintain Localizable.strings (iOS) parity where possible for shared features.
- Dynamic Access: Use
context.getString(R.string.id, args)for dynamic lookups.
Assets / Drawables
- Formats: Prefer VectorDrawables (
.xml) over RASTER images. Scale cleanly across density buckets (mdpi, hdpi, xhdpi, xxhdpi). - Plurals: Use
resources.getQuantityString(R.plurals.items, count, count)for quantity-sensitive strings. - Dark Mode: Support
Configuration.UI_MODE_NIGHTvia thevalues-night/qualifier orMaterialThemetokens. Never use hardcoded hex colors in Layouts/Composables. - Themes: Map all colors to Design Tokens (primary, surface, error) for consistent skinning.
Anti-Patterns
- No String Concatenation in UI: Use format args (
%s,%d) in strings.xml instead. - No Hardcoded UI Text: All visible strings must be defined in strings.xml.
References
Установить android-resources в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл android-resources?
Standards for Strings, Drawables, and Localization. Use when managing Android resources, drawables, or adding localization support. (triggers: strings.xml, **/*Screen.kt, stringResource, plurals, R.string)
Как установить скилл android-resources?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл android-resources запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic