agentleFS
wrsilvawrsilva/reis-mobile/skills/mobile-ci/SKILL.md

mobile-ci

Skill8 starsChanged 59 days agoMITView on GitHub

Sets up and reviews mobile CI/CD and fastlane automation across Flutter, Android, iOS, React Native and Kotlin Multiplatform. Use for Fastfile lanes, Match signing, TestFlight beta uploads, App Store submission, Snapshot screenshots, Xcode Cloud or build and deployment pipelines.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check lane definitions, dependencies, action parameters and workflow syntax before execution.

    line 37
  2. Very specific:

    Use the project's Ruby/Bundler/fastlane versions and bundle exec fastlane when a Gemfile exists.

    line 43
  3. Very specific:

    Keep Match read-only in CI.

    line 46
  4. Very specific:

    Verify action options with the installed version's help or official documentation.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Mobile CI

Connect the app's existing build, test, signing and distribution steps into a reproducible pipeline. Use mobile-release for release readiness and rollout decisions.

Choose the references

Load the app's stack reference, then only the fastlane guide needed for the task. Cross-platform apps also need the reference for each native target being shipped.

NeedRead
Flutterreferences/flutter.md
Android, including a cross-platform Android hostreferences/android.md
iOS, including a cross-platform iOS hostreferences/ios.md
React Native or Exporeferences/react-native.md
Kotlin Multiplatformreferences/kotlin-multiplatform.md
Pipeline jobs, caches, credentials and artifact retentionShared CI/CD guide
Initialize fastlane and define iOS lanesSetup
iOS certificates and provisioning profilesMatch
TestFlight internal and external testingBeta
App Store submission and metadataRelease
Capture, frame and upload App Store screenshotsSnapshot
Xcode Cloud workflow integrationXcode Cloud

Workflow

  1. Inspect existing workflows, Fastfile, Appfile, Matchfile, Gemfile.lock, platform lock files, schemes, flavors and environment configuration. Identify working directories and actual artifact paths before writing commands.
  2. Establish the requested scope: pipeline setup, local verification, beta upload or production submission. Preserve existing lanes and signing conventions; do not replace the whole Fastfile with an example.
  3. Separate validation from signed builds and uploads. Use pinned toolchains, lock-file-based caches, protected release jobs, secret storage and retained symbols as described in the shared CI/CD guide.
  4. Adapt the selected reference to the detected platform. The imported fastlane guides describe iOS workflows; Android needs its own Gradle tasks, keystore and Play destination.
  5. Check lane definitions, dependencies, action parameters and workflow syntax before execution. Run the project's relevant local checks, then report what was verified locally and what still needs a CI or store run. A configured pipeline is not evidence of a successful upload.

Applying the upstream examples

The fastlane references preserve the instructions from greenstevester/fastlane-skill; their frontmatter was removed and the Xcode Cloud link relocated. Read them as examples, with these integration rules:

  • Use the project's Ruby/Bundler/fastlane versions and bundle exec fastlane when a Gemfile exists. Verify compatibility from the lock file and current fastlane documentation rather than applying the upstream blanket claim about Bundler 4 or replacing the installation with Homebrew.
  • Resolve /setup-fastlane and references to the match, beta, release and snapshot skills through the table above. These are references, not separately installed commands. Embedded ! shell snippets and ${ARGUMENTS} placeholders are upstream notation, not automatic preflight results.
  • Inspect each lane before invoking it: the setup and Match examples define different release behavior. Confirm the exact tested build rather than submitting whichever build is newest. Existing session authorization determines whether builds, uploads, store submission or automatic release are in scope.
  • Keep Match read-only in CI. Certificate revocation (match nuke), simulator erasure, package removal and screenshot-directory replacement are destructive recovery examples, not routine setup steps; diagnose first and require explicit authorization for those actions.
  • Verify action options with the installed version's help or official documentation. In particular, check the app_store_connect_api_key action's content parameter rather than copying the Xcode Cloud example's key: blindly. Never print private keys or passwords.
  • Confirm current screenshot dimensions and accepted devices with Apple's linked specifications and installed simulators. Treat processing/review times and StoreKit storefront behavior as claims to verify, not guarantees. Screenshot fixtures must represent the product accurately.
  • The Xcode Cloud guide describes lifecycle scripts but does not ship them. Create or inspect those scripts for the actual project; do not assume the setup guide generated them. Follow the team's configured triggers and managed signing, and avoid rebuilding or uploading the same artifact twice.

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.