agentleFS
DomenicMoranDomenicMoran/verified-done/skills/release-artifact-check/SKILL.md

release-artifact-check

Skill2 starsChanged 4 months agoMITView on GitHub

Use before uploading an Android APK/AAB or iOS build to a store, or before publishing any packaged artefact. Reads the artefact itself instead of trusting the source tree, because build systems keep generated copies that outlive a deleted source file.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Grep for anything you believe you removed: If it is still in the artefact, the source tree is not the whole story.

    line 43
  2. Distinctive:

    Check every location before assuming the bump took:

    line 53
  3. Distinctive:

    Read the state back from the store API rather than assuming your request took effect.

    line 65
  4. Very specific:

    All four items above come from real releases that went out wrong: a deleted icon that survived in Gradle's generated resource folder, a …

    line 72

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Read the artefact, not the source tree

Deleting a file from the source tree does not remove it from the build output. Gradle keeps a generated resources directory; asset pipelines keep caches; bundlers keep prior chunks. An asset you removed weeks ago can still ship.

The same applies to version numbers. They frequently live in more than one place, and the one you edited may not be the one that ends up in the artefact.

Before every upload

  1. List what is actually inside.

    # Android
    unzip -l app-release.aab | head -50
    unzip -l app-release.apk | grep -i "res/drawable" | head -30
    # iOS
    unzip -l App.ipa | head -50
  2. Read the version out of the artefact, not out of your editor.

    # Android: needs build-tools on PATH
    aapt2 dump badging app-release.apk | head -3
    # iOS
    unzip -p App.ipa "Payload/*.app/Info.plist" \
      | plutil -extract CFBundleShortVersionString raw -
  3. Grep for anything you believe you removed. If it is still in the artefact, the source tree is not the whole story.
  4. Check the platform metadata your store validates. Missing keys fail at upload time, minutes after a long build, with an opaque code. A framework dependency shipping an xcframework without MinimumOSVersion is a common source of ITMS-90530 and ITMS-90360.

Version numbers hide in more than one file

Check every location before assuming the bump took:

  • package.json / app.json / app.config.ts
  • android/app/build.gradle (versionName, versionCode)
  • Info.plist (CFBundleShortVersionString, CFBundleVersion)
  • the store-side draft you are about to attach the build to

A mismatch between any two of these produces a release that looks right in your editor and wrong in the store listing.

After submitting

Read the state back from the store API rather than assuming your request took effect. A reused version can inherit a manual release type from an earlier attempt and then sit silently approved but unreleased. Query the release type, not only the review state.

Why this exists

All four items above come from real releases that went out wrong: a deleted icon that survived in Gradle's generated resource folder, a version name that lived in build.gradle as well as app.json, a framework missing an Info.plist key that failed only at upload, and an approved build that never went live because its release type had been set to manual on a previous submission.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.