string-resources-convention

Official

Keep Android strings consistent and localizable.

AuthorAniTrend
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prevents Android string resource bugs and localization regressions by enforcing a consistent naming scheme and mandatory translator comments for every touched resource block.

Core Features & Use Cases

  • Standardized naming pattern: Ensures resources follow {prefix}_{module_or_context}_{specific_identifier} with approved prefixes like label_, title_, action_, error_, and others for clearer maintenance and discovery.
  • Localization-ready formatting rules: Guides correct use of positional placeholders like %1$s / %2$d, formatted="true", and appropriate decisions for getText() vs getString().
  • Mandatory POEditor translator context: Requires an XML comment immediately above each <string>, <plurals>, and <string-array> block so translators have intent, variables, and tone.

Quick Start

Use the string-resources-convention skill when adding or modifying strings.xml entries so the new resources follow the naming pattern and include translator comments for each resource block.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: string-resources-convention
Download link: https://github.com/AniTrend/anitrend-v2/archive/main.zip#string-resources-convention

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.