Agent skill

Android Public API Change

by Adyen in Adyen/adyen-android

Change the public API surface: visibility, breaking changes, and apiDump.

MITAuto-check passedDevelopment

Install Android Public API Change

skills CLI
$ npx skills add Adyen/adyen-android --skill android-public-api-change -a claude-code

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

GitHub CLI
$ gh skill install Adyen/adyen-android android-public-api-change --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-public-api-change .claude/skills/android-public-api-change && 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-public-api-change
GitHub stars
149
Token cost
~1.2k tokens
SKILL.md length
523 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Change the public API surface: visibility, breaking changes, and apiDump.

  • Works in 5 steps: Default to internal → Prove the change is necessary → Check for breaking changes → …
  • Development work in your project
  • SKILL.md covers Usage, Steps and Important
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Android Public API Change is an agent skill from Adyen/adyen-android. Change the public API surface: visibility, breaking changes, and apiDump.

Its SKILL.md is about 1.2k 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 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

  • Development work in your project

Example prompts

  • “/android-public-api-change”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Default to internal
  2. Prove the change is necessary
  3. Check for breaking changes
  4. Choose a shape that can evolve
  5. Update the API dump

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 kotlin and bash).

    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 Public API Change loads about 1.2k tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 523 words of instructions outside code blocks.

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

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). 523 words, ~1,177 tokens.

Download SKILL.mdSave it as .claude/skills/android-public-api-change/SKILL.md (or your agent's skills folder).
name
android-public-api-change
description
Change the public API surface: visibility, breaking changes, and apiDump.

android-public-api-change

Keep the public API surface of the Adyen Android SDK small, stable, and intentional.

Usage

Invoke this skill as soon as work looks like it will touch the public API: adding a class, function, or property that is not internal, widening visibility, changing or removing a public signature, or when apiCheck fails during verification.

Every published module has .api dump files, so any change to the public surface shows up as a diff. An unexpected diff is the signal to come back here.

Steps

1. Default to internal

Classes, functions, and properties are internal unless they are deliberately part of the public API.

kotlin
// Default — internal visibility
internal class CardViewStateFactory

// Used across modules, not by merchants — restrict to the library group
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
class SomeSharedClass

// Public API — a deliberate decision
class CardConfiguration

If a type is only needed across our own modules, use @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) rather than making it public.

2. Prove the change is necessary

Making something public later is easy; making it internal again is a breaking change. So the bar is asymmetric.

  • Look for an existing implementation of the same idea in the codebase first. Whatever you are working on most likely has a close precedent — follow it.
  • Try to find a solution that needs no public API change at all.
  • Even a non-breaking addition makes the API more complex. Additions are not free.
  • If you are unsure whether something should be public, make it internal or annotate it with @RestrictTo.

Review each individual change in the .api diff and be able to justify it. If in doubt, ask.

3. Check for breaking changes

Breaking changes can come from removed or modified code — a changed parameter, return type, default value, or supertype all count.

Only the merchant-facing surface can break. internal and @RestrictTo declarations are excluded from the .api dumps (nonPublicMarkers in config/gradle/apiValidator.gradle), so changing or removing them is not a breaking change — which is exactly why step 1 defaults to them.

  • Do not proceed with a breaking change until it has been discussed and confirmed with the developer.
  • Breaking changes belong in a major release.
  • Raise the question during planning: ask whether breaking changes are acceptable for the current work, rather than discovering it mid-implementation.
Show full SKILL.md (183 more words)Show less
4. Choose a shape that can evolve

Prefer abstract classes over sealed classes for new types that merchants might use in a when expression. Adding an entry to a sealed class breaks exhaustive when blocks in merchant code.

kotlin
// AVOID — adding an entry breaks merchant code
sealed class DropInResult {
    class CancelledByUser : DropInResult()
    class Error(val reason: String?) : DropInResult()
}

// PREFER — abstract class with an internal constructor.
// Merchants must write an `else` branch, so new entries are safe.
abstract class DropInResult internal constructor() {
    class CancelledByUser : DropInResult()
    class Error(val reason: String?) : DropInResult()
}

Sealed classes are fine when merchants pass them as parameters instead of matching on them — AddressConfiguration is an example. In that case, add new entries as class, never object, so optional arguments can be added later without breaking anything:

kotlin
sealed class AddressConfiguration : Parcelable {
    object None : AddressConfiguration()
    data class PostalCode() : AddressConfiguration()
    class Lookup : AddressConfiguration()
}

// Merchant usage — passed as a parameter, so new entries do not affect it
setAddressConfiguration(AddressConfiguration.None)

Converting an existing sealed class to an abstract class is itself a breaking change. Use abstract classes for new code only.

5. Update the API dump

Once the API change is confirmed as intentional, regenerate the dump files and include them in the commit:

bash
./gradlew apiDump              # whole project
./gradlew :<module>:apiDump    # single module

Do not run apiDump reflexively. Running it only after confirming intent is what allows apiCheck to catch accidental API changes during verification.

Important

  • An apiCheck failure is not a task to silence with apiDump — first work out whether the API change was intended.
  • A public API change means the branch and PR are merchant-observable: use a feature/ or fix/ prefix, not chore/.

© 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-public-api-change of Adyen/adyen-android.

Open the folder on GitHubat commit 475ca6a

Compare with similar skills

Android Public API Change 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 Public API Change compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Android Public API Change this skillAdyen/adyen-android149—~1.2kAutomated safety check: PassMIT
Android UI Visual Reviewpermissionlesstech/bitchat-android7.8k—~2.6kAutomated safety check: PassGPL-3.0
Improve Codebase Architectureywwynm/EverythingDone14415 repos~1.3kAutomated safety check: PassGPL-3.0
Commit PRsamuelclay/NewsBlur7.6k—~4.1kAutomated safety check: PassMIT
Find My Flagsandroidx/androidx6.1k—~664Automated safety check: PassApache-2.0
jscpd Code Migration Trackerkucherenko/jscpd6.4k—~5kAutomated safety check: PassMIT

Similar skills

  • Android UI Visual Review

    permissionlesstech/bitchat-android

    Analyze an Android pull request, branch, commit, or patch for user-visible changes and produce reproducible before/after screenshots from isolated builds.

    7.8k GitHub stars~2.6k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Improve Codebase Architecture

    ywwynm/EverythingDone

    Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/.

    144 GitHub starsUsed in 15 repos~1.3k tokens
    DevelopmentAuto-check passed
  • Commit PR

    samuelclay/NewsBlur

    A skill your agent uses when the user runs /commit-pr, says "commit and push", "open a PR", "ship this", asks to update an existing PR with new changes, or asks to resolve PR review comments in the…

    7.6k GitHub stars~4.1k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Find My Flags

    androidx/androidx

    A skill your agent uses to find Compose feature flags introduced by a specific git user or email and map them to the library version in which they were added.

    6.1k GitHub stars~664 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Measures a code port between languages or frameworks with jscpd's function-level comparison, porting tests before code and tracking what is left unmatched.

    6.4k GitHub stars~5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • File Good First Bug

    BrowserWorks/waterfox-android

    A skill your agent uses when the user wants to file good-first-bugs in Bugzilla for Firefox.

    379 GitHub starsUsed in 2 repos~2k tokens
    DevelopmentAuto-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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    Auto-check passed

Works with

Categories

Questions about Android Public API Change

What does Android Public API Change do?

Change the public API surface: visibility, breaking changes, and apiDump. Android Public API Change is an agent skill from Adyen/adyen-android. Change the public API surface: visibility, breaking changes, and apiDump.

When should I use Android Public API Change?

Android Public API Change fits situations like: development work in your project.

How do I install Android Public API Change in Claude Code?

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

How do I install Android Public API Change in Codex?

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

Can I use Android Public API Change 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-public-api-change -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-public-api-change, .gemini/skills/android-public-api-change, .github/skills/android-public-api-change and .opencode/skills/android-public-api-change in your project.

What does Android Public API Change need to run?

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

Does Android Public API Change 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 Public API Change 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 Public API Change use?

Android Public API Change 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 Public API Change use?

About 1.2k tokens (SKILL.md is roughly 4.7k 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 Public API Change?

Skills that share tags, products or a category with Android Public API Change: Android UI Visual Review (permissionlesstech/bitchat-android, 7.8k stars), Improve Codebase Architecture (ywwynm/EverythingDone, 144 stars), Commit PR (samuelclay/NewsBlur, 7.6k stars) and Find My Flags (androidx/androidx, 6.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Android Public API Change?

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.