agentleFS
StripeKnown publisherstripe/stripe-android/AGENTS.md

stripe-android

AGENTS.md1.5k starsChanged 2 months agoMITView on GitHub

GitHub Issues — use gh CLI with GH_HOST=github.com prefix (export for reads, inline for writes). Always use --state all when searching. Check existing issues before investigating user reports. Pull requests — always open pull requests as drafts. When an agent opens a pull request, include Committed and created by <agent>. in the PR description, where agent is the type of agent (e.g., Claude or Codex). Internal Tools — Jira: MOBILESDK, RUN_MOBILESDK | Trailhead space: mobile-sdk Multi-module Android library for payment…

Trending

Quiet this year.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the stripe/stripe-android repository that our weekly crawl found: only 6 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about stripe/stripe-android

The biggest 5 of 6 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 6

Talked about on GitHub (6 times).

On GitHub · 6

1 more on GitHub
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository8 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    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. Very specific:

    No defaults for internal code: public APIs give parameters defaults (= null, = false) for ergonomic construction.

    line 33

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md 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
AGENTS.md

AGENTS.md

Commands

  • ./gradlew build - Build all modules
  • ./gradlew test - Run all unit tests
  • ./gradlew testDebugUnitTest - Debug unit tests only
  • ./gradlew :MODULE:testDebugUnitTest - Single module (e.g. :payments-core, :paymentsheet)
  • ./gradlew connectedAndroidTest - Instrumentation tests (requires device)
  • ./gradlew detekt - Static analysis
  • ./gradlew :dokkaGenerate - API docs (outputs to docs/)

GitHub Issues — use gh CLI with GH_HOST=github.com prefix (export for reads, inline for writes). Always use --state all when searching. Check existing issues before investigating user reports.

Pull requests — always open pull requests as drafts. When an agent opens a pull request, include Committed and created by <agent>. in the PR description, where agent is the type of agent (e.g., Claude or Codex).

Internal Tools — Jira: MOBILESDK, RUN_MOBILESDK | Trailhead space: mobile-sdk

Architecture

Multi-module Android library for payment processing and financial services.

Core: payments-core (API models, Stripe client) → payments (high-level APIs) → paymentsheet (pre-built UI) Shared: stripe-core (utilities), payments-model (data models), payments-ui-core (shared UI) Specialized: financial-connections, identity, connect, 3ds2sdk Infra: example, paymentsheet-example, payments-core-testing, lint, screenshot-testing

Key Patterns

  • Kotlin coroutines for async; Jetpack Compose + traditional Views
  • Dagger/Hilt DI in some modules; binary-compatibility-validator for API compat
  • Gradle with shared deps (dependencies.gradle), AGP 8.13.x, Kotlin 2.3.x
  • Detekt for static analysis, Paparazzi for screenshot testing
  • No defaults for internal code: public APIs give parameters defaults (= null, = false) for ergonomic construction; non-public code (internal or @RestrictTo) omits defaults on both model fields and function parameters to force explicit decisions at each call site

Testing — MUST invoke the relevant skill (in .agents/skills/) before writing any test code:

  • write-unit-tests — unit test structure, fake implementations, runScenario pattern, Turbine testing, Truth assertions
  • compose-tests — Compose UI tests with composeRule, Robolectric, node assertions
  • network-tests — NetworkRule integration tests with testBodyFromFile and fixture patterns

Build validation — invoke delegate-low-reasoning-work before running routine Gradle checks, formatting, static analysis, or generated-output validation. Delegate when a low-cost subagent is available.

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.