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
Who's talking about stripe/stripe-android
- stripe/stripe-ios“Port Stripe-iOS to Flutter”GitHub · Jan 31, 2019 · 64 reactions
- Adyen/adyen-web“Google Pay - Issue with Maestro - regression from #3539”GitHub · Nov 5, 2025 · 6 reactions
- facebook/facebook-android-sdk“Robolectric is incorrectly specified as non-test dependencies”GitHub · Oct 6, 2022 · 5 reactions
- thebergamo/react-native-fbsdk-next“Upgrade bouncycastle to org.bouncycastle:bcprov-jdk15to18:1.70”GitHub · Oct 5, 2022 · 3 reactions
- PhilipsHue/flutter_reactive_ble“Include our own proguard rules to simplify usages of our library ”GitHub · Nov 18, 2020 · 3 reactions
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
- Jan 31, 2019Port Stripe-iOS to Flutter — stripe/stripe-ios64 reactions · 8 comments
- Nov 5, 2025Google Pay - Issue with Maestro - regression from #3539 — Adyen/adyen-web6 reactions · 8 comments
- Oct 6, 2022Robolectric is incorrectly specified as non-test dependencies — facebook/facebook-android-sdk5 reactions · 2 comments
- Oct 5, 2022Upgrade bouncycastle to org.bouncycastle:bcprov-jdk15to18:1.70 — thebergamo/react-native-fbsdk-next3 reactions · 6 comments
- Nov 18, 2020Include our own proguard rules to simplify usages of our library — PhilipsHue/flutter_reactive_ble3 reactions
1 more on GitHub
- Feb 10, 2023Opt certain crash reports not to affect crashlytics dashboard — firebase/firebase-android-sdk2 reactions · 1 comment
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.
- CLAUDE.mdCLAUDE.md
- compose-testsSkill
- delegate-low-reasoning-workSkill
- fixing-flakesSkill
- network-testsSkill
- parameterized-testsSkill
- screenshot-testsSkill
- write-unit-testsSkill
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
- Very specific: line 33
No defaults for internal code: public APIs give parameters defaults (= null, = false) for ergonomic construction.
≈ “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.
Files
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 (internalor@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 assertionscompose-tests— Compose UI tests with composeRule, Robolectric, node assertionsnetwork-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.
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
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.

