agentleFS
SUDARSHANCHAUDHARISUDARSHANCHAUDHARI/DroidForge/skills/multi-app-structure/SKILL.md

multi-app-structure

Skill1 starsChanged 9 days agoMITView on GitHub

Managing a portfolio of 20+ Android apps as a solo developer — repo strategy, shared code, keystore management, app tracker, and priority triage when policy changes arrive. Loaded when working across multiple apps.

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. About 0 are common, 12 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All apps in one repo under /apps/[appname]/

    line 18
  2. Distinctive:

    Add as a dependency in each app

    line 29
  3. Distinctive:

    Document which apps share the same version of the utility

    line 33
  4. Distinctive:

    Keep shared module in a sibling directory

    line 36
  5. Very specific:

    Use includeBuild("../shared-module") in settings.gradle.kts

    line 37
  6. Distinctive:

    All keystores stored in the same secure, backed-up location outside any git repo

    line 43
  7. Very specific:

    Use consistent password (from the DROIDFORGE_KEYSTORE_PASSWORD env var) for easier management

    line 44
  8. Distinctive:

    All new apps enrolled in Play App Signing — Google holds the app signing key

    line 45
  9. Distinctive:

    When Google announces a new requirement (e.g.

    line 59
  10. Distinctive:

    Check Play Console for any policy warning banners across all apps

    line 61
  11. Distinctive:

    Update high-revenue / high-install apps first

    line 63
  12. Very specific:

    Use /droidforge:gradle-update to update SDK targets across apps

    line 65
  13. Distinctive:

    Never release multiple apps on the same day — stagger by 24–48h to allow crash monitoring

    line 69
  14. Distinctive:

    Keep a release queue: one app in review → next app being prepared

    line 70
  15. Distinctive:

    Use staged rollout for all releases (start at 10–20%)

    line 71
  16. Very specific:

    Every app needs a live privacy policy.

    line 76
  17. Distinctive:

    Update policy pages when adding new permissions or SDK data collection changes

    line 81

≈ “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

Managing a Large Android App Portfolio as a Solo Developer

Repository strategy

Option A: One repo per app (recommended for public apps)

  • Each app is its own GitHub repository
  • Cleaner per-app CI/CD
  • Easier to open-source individual apps
  • Naming: [GitHubUsername]/[AppName] (PascalCase)

Option B: Monorepo (better for code sharing)

  • All apps in one repo under /apps/[appname]/
  • Shared utilities in /shared/ module as a local library
  • Better for enforcing consistent dependencies across all apps
  • Harder to open-source individual apps

Shared code strategy

For common utilities across apps (AdMob helper, in-app review wrapper, crash reporting, network client):

Option 1: Private GitHub Package (local Maven)

  • Publish shared module as .aar to GitHub Packages
  • Add as a dependency in each app

Option 2: Copy-paste for small utilities (acceptable for solo dev)

  • Acceptable when the utility is < 200 lines and rarely changes
  • Document which apps share the same version of the utility

Option 3: Local composite build

  • Keep shared module in a sibling directory
  • Use includeBuild("../shared-module") in settings.gradle.kts
  • Best for active development — changes reflect immediately across apps

Keystore management

  • One .jks per app (alias = app name lowercase)
  • All keystores stored in the same secure, backed-up location outside any git repo
  • Use consistent password (from the DROIDFORGE_KEYSTORE_PASSWORD env var) for easier management
  • All new apps enrolled in Play App Signing — Google holds the app signing key

App tracker (recommended spreadsheet columns)

App NamePackageversionCodeversionNameLast ReleasePlay StatustargetSdkNotes

Flag apps that:

  • Have targetSdk below Google's current minimum requirement
  • Have outstanding policy warnings in Play Console
  • Haven't been updated in 12+ months (may receive policy emails)

Priority triage when a policy change or Android update arrives

When Google announces a new requirement (e.g. targetSdk deadline, new permission rules):

  1. Check Play Console for any policy warning banners across all apps
  2. Identify apps with the approaching deadline — check app tracker
  3. Update high-revenue / high-install apps first
  4. Batch-update utility / minor apps in a single session
  5. Use /droidforge:gradle-update to update SDK targets across apps

Release scheduling for 20+ apps

  • Never release multiple apps on the same day — stagger by 24–48h to allow crash monitoring
  • Keep a release queue: one app in review → next app being prepared
  • Use staged rollout for all releases (start at 10–20%)
  • Monitor ANR & crash rate in Play Console for 24–48h after each rollout increase

Privacy policy maintenance

Every app needs a live privacy policy. Pattern: {config.github_pages.privacy_policy_pattern}

For portfolio maintenance:

  • Host all policies on GitHub Pages under one repository
  • Each app gets its own policy page: [appname]-privacy-policy/index.html
  • Update policy pages when adding new permissions or SDK data collection changes

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.