Agent skill

Android UI Resources

by Adyen in Adyen/adyen-android

Add or change XML layouts, styles, and string resources. An agent skill from Adyen/adyen-android.

MITAuto-check passedMobile

Install Android UI Resources

skills CLI
$ npx skills add Adyen/adyen-android --skill android-ui-resources -a claude-code

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

GitHub CLI
$ gh skill install Adyen/adyen-android android-ui-resources --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/Adyen/adyen-android.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/android-ui-resources .claude/skills/android-ui-resources && 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
android-ui-resources
GitHub stars
149
Token cost
~709 tokens
SKILL.md length
299 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Add or change XML layouts, styles, and string resources. An agent skill from Adyen/adyen-android.

  • Tasks that involve Android development
  • SKILL.md covers Usage, Layouts and styles, Strings and Important
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Android UI Resources is an agent skill from Adyen/adyen-android. Add or change XML layouts, styles, and string resources.

Its SKILL.md is about 710 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 Mobile, covering Android development. It works with Android. The repository describes itself as: Adyen Android Drop-in and Components. The licence is MIT.

When your agent uses it

  • Tasks that involve Android development

Example prompts

  • “/android-ui-resources”

What it can do on your machine

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

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

  • Network

    No URLs in SKILL.md.

    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

Android UI Resources loads about 709 tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 299 words of instructions outside code blocks.

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

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 Adyen/adyen-android at commit 475ca6a, republished under its MIT licence (© Adyen). 299 words, ~709 tokens.

Download SKILL.mdSave it as .claude/skills/android-ui-resources/SKILL.md (or your agent's skills folder).
name
android-ui-resources
description
Add or change XML layouts, styles, and string resources.

android-ui-resources

Add or change XML resources in the Adyen Android SDK without breaking merchant themes or shopper localization.

Usage

Invoke this skill when touching a module's res/ directory: layouts, styles, or strings. These rules apply to the XML-based views (v5 and the modules that still use them); Compose UI follows the theme system in docs/v6/theme.md instead.

Search the codebase for a similar existing view before writing a new one — the correct style, attribute, and string pattern almost always already exists somewhere.

Layouts and styles

Give every new view a style

Merchants customize our UI through styles, so a view without one cannot be customized. Follow the naming of the surrounding styles.

Use theme-safe attributes

Only reference attributes that are guaranteed to exist in a merchant's theme. Default Material attributes are safe; framework attributes often are not.

  • Avoid ?android:attr/textColor — it may be undefined in a merchant theme and crashes at inflation time.
  • Prefer ?attr/colorOnSurface and the other Material defaults.
Keep the style hierarchy complete

A style like AdyenCheckout.Image.Logo.Large requires every ancestor to exist as a declared style, even if empty. Without them, merchants who override a parent style hit errors.

xml
<!-- All three must exist, even though the parents are empty -->
<style name="AdyenCheckout.Image" />
<style name="AdyenCheckout.Image.Logo" parent="AdyenCheckout.Image" />
<style name="AdyenCheckout.Image.Logo.Large" parent="AdyenCheckout.Image.Logo">
    <item name="android:layout_width">48dp</item>
    <item name="android:layout_height">48dp</item>
</style>

Strings

Always use the shopper locale

Components must render in the shopper locale, not the device locale. This covers every displayed string: labels, hints, errors, and content descriptions. Resolve them through localizedContext, never through the plain view or activity context.

kotlin
val label = localizedContext.getString(R.string.checkout_card_holder_name_label)

Search for localizedContext and localizedContext.getString for examples.

Set strings through styles, not layouts

Text belongs in the style so merchants can override it. In a layout, use tools:text for preview only:

xml
<TextView
    style="@style/AdyenCheckout.TextView.Title"
    tools:text="@string/checkout_card_holder_name_label" />

Do not use android:text in a component layout.

Important

  • Adding or changing a merchant-visible string or style is merchant-observable: use a feature/ or fix/ branch prefix, not chore/.
  • When strings change, confirm translations are present for all supported locales.

© Adyen, 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/android-ui-resources of Adyen/adyen-android.

Open the folder on GitHubat commit 475ca6a

Compare with similar skills

Android UI Resources 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.

Android UI Resources compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Android UI Resources this skillAdyen/adyen-android149—~709Automated safety check: PassMIT
Compose Multiplatform Patternsmonta-app/ocpp-emulator1805 repos~2kAutomated safety check: PassApache-2.0
Stylesarindamxd/camerax-android1324 repos~2.3kAutomated safety check: PassApache-2.0
Verified Emailarindamxd/camerax-android1324 repos~4.7kAutomated safety check: PassApache-2.0
Mobile QAtloncorp/tlon-apps107—~2.4kAutomated safety check: PassMIT
Ha Android UIhome-assistant/android4k—~1.5kAutomated safety check: PassApache-2.0

Similar skills

  • Compose Multiplatform Patterns

    monta-app/ocpp-emulator

    Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.

    180 GitHub starsUsed in 5 repos~2k tokens
    MobileAuto-check passed
  • Styles

    arindamxd/camerax-android

    A skill your agent uses to integrate the Jetpack Compose Styles API into an Android project.

    132 GitHub starsUsed in 4 repos~2.3k tokens
    MobileAuto-check passed
  • Verified Email

    arindamxd/camerax-android

    Provides a complete workflow for implementing verified email retrieval on Android Credential Manager API.

    132 GitHub starsUsed in 4 repos~4.7k tokens
    MobileAuto-check passed
  • Mobile QA

    tloncorp/tlon-apps

    Run a mobile QA checklist on a physical Android device over adb for tlon-apps, then triage what fails into fixes.

    107 GitHub stars~2.4k tokensUpdated today
    MobileAuto-check passed
  • Ha Android UI

    home-assistant/android

    Home Assistant Android UI guidance. An agent skill from home-assistant/android.

    4k GitHub stars~1.5k tokensUpdated today
    MobileAuto-check passed
  • Android UI Automation

    OpenMinis/MinisSkills

    Automate Android apps that have no public API or web version by driving the UI layer through the Accessibility Service.

    444 GitHub stars~1.6k tokensUpdated today
    MobileAuto-check passed

More from Adyen/adyen-android

All 9 skills in this repo
  • Plan and execute the migration of a v5 payment method to the v6 component architecture.

    149 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Android Add Dependency

    Adyen/adyen-android

    Add, remove or update an external dependency in the SDK. An agent skill from Adyen/adyen-android.

    149 GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Android Add Module

    Adyen/adyen-android

    Add a new Gradle module and wire in optional external SDKs. An agent skill from Adyen/adyen-android.

    149 GitHub stars~988 tokensUpdated today
    Auto-check passed
  • Android Branch Create

    Adyen/adyen-android

    Create a branch with correct prefix and base. An agent skill from Adyen/adyen-android.

    149 GitHub stars~782 tokensUpdated today
    Auto-check passed
  • Android Commit

    Adyen/adyen-android

    Create a commit with pre-commit checks and conventions. An agent skill from Adyen/adyen-android.

    149 GitHub stars~835 tokensUpdated today
    Auto-check: notes
  • Android PR Create

    Adyen/adyen-android

    Create a PR with title, body, and checklist. An agent skill from Adyen/adyen-android.

    149 GitHub stars~1.3k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Android UI Resources

What does Android UI Resources do?

Add or change XML layouts, styles, and string resources. An agent skill from Adyen/adyen-android. Android UI Resources is an agent skill from Adyen/adyen-android. Add or change XML layouts, styles, and string resources.

When should I use Android UI Resources?

Android UI Resources fits situations like: tasks that involve Android development.

How do I install Android UI Resources in Claude Code?

Run `npx skills add Adyen/adyen-android --skill android-ui-resources -a claude-code`. Or copy the skill folder (.agents/skills/android-ui-resources in Adyen/adyen-android) into .claude/skills/android-ui-resources in your project. Claude Code loads it when a task matches its description.

How do I install Android UI Resources in Codex?

Run `npx skills add Adyen/adyen-android --skill android-ui-resources -a codex`. Or copy the skill folder (.agents/skills/android-ui-resources in Adyen/adyen-android) into .agents/skills/android-ui-resources in your project. Codex loads it when a task matches its description.

Can I use Android UI Resources 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 Adyen/adyen-android --skill android-ui-resources -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/android-ui-resources, .gemini/skills/android-ui-resources, .github/skills/android-ui-resources and .opencode/skills/android-ui-resources in your project.

What does Android UI Resources need to run?

SKILL.md names no scripts, command-line tools or credentials: Android UI Resources is instructions for the agent only.

Does Android UI Resources access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Android UI Resources 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 Android UI Resources use?

Android UI Resources is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Android UI Resources use?

About 709 tokens (SKILL.md is roughly 2.8k 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 Android UI Resources?

Skills that share tags, products or a category with Android UI Resources: Compose Multiplatform Patterns (monta-app/ocpp-emulator, 180 stars), Styles (arindamxd/camerax-android, 132 stars), Verified Email (arindamxd/camerax-android, 132 stars) and Mobile QA (tloncorp/tlon-apps, 107 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Android UI Resources?

Adyen (a GitHub organization) maintains it in Adyen/adyen-android, which has 149 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 7, 2026.

Source: Adyen/adyen-android on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.