android-resources
БесплатноБез исполняемых скриптовНе проверенOrganize Android strings, drawables, fonts, themes, localization, and concrete resource-backed Compose values such as MaterialTheme colors. Use for resource…
от HoangNguyen0403★ 598 звёзд на GitHubОб этом скилле
Android Resources Standards
Priority: P2 (MEDIUM)
Implementation Guidelines
Strings & Localization
- Define in XML: All UI text must 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_NIGHTviavalues-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 defined in strings.xml.
References
Установить android-resources в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл android-resources?
Organize Android strings, drawables, fonts, themes, localization, and concrete resource-backed Compose values such as MaterialTheme colors. Use for resource declarations and their direct UI lookup; defer design-system token architecture, network image loading, lint-rule configuration, and general Compose implementation.
Как установить скилл android-resources?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл android-resources запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic