agentleFS
piyushverma0piyushverma0/android-agent-skills/AGENTS.md

android-agent-skills

AGENTS.md15 starsChanged 9 months agoMITView on GitHub

Open-source Android development skills for AI coding agents. Each skill is a SKILL.md file — plain Markdown, no build step. Install command: npx skills add piyushverma0/android-agent-skills android-agent-skills/ ├── AGENTS.md ← Codex reads this first (you are here) ├── README.md ← User-facing docs ├── CONTRIBUTING.md ├── skills/ │ ├── compose-ui/ │ │ ├── SKILL.md ← required, YAML frontmatter mandatory │ │ └── references/ ← deep-dive files linked from SKILL.md │ ├── supabase-android/ │ ├── kotlin-patterns/ │ ├── hilt-di/ │ ├── android-architecture/…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,337 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.

The file

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

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

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

    Every SKILL.md MUST start with exactly:

    line 28
  2. Distinctive:

    Every code example must compile — no pseudocode in critical paths

    line 40
  3. Distinctive:

    Every skill needs a "Common Mistakes" section

    line 42
  4. Distinctive:

    NEVER suggest: deprecated APIs, AsyncTask, Java-style Android, LiveData

    line 54
  5. Very specific:

    Do not add package.json, build systems, or any tooling

    line 66
  6. Distinctive:

    Do not add CI that validates Markdown

    line 67
  7. Distinctive:

    Do not hardcode library version numbers in prose (only in code blocks)

    line 68
  8. Very specific:

    Do not change the name field of existing skills — breaks installs

    line 69

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

android-agent-skills — Codex Instructions

What This Repo Is

Open-source Android development skills for AI coding agents. Each skill is a SKILL.md file — plain Markdown, no build step. Install command: npx skills add piyushverma0/android-agent-skills

Repo Structure

android-agent-skills/ ├── AGENTS.md ← Codex reads this first (you are here) ├── README.md ← User-facing docs ├── CONTRIBUTING.md ├── skills/ │ ├── compose-ui/ │ │ ├── SKILL.md ← required, YAML frontmatter mandatory │ │ └── references/ ← deep-dive files linked from SKILL.md │ ├── supabase-android/ │ ├── kotlin-patterns/ │ ├── hilt-di/ │ ├── android-architecture/ │ └── <new-skill>/ ← all new skills follow this structure └── .github/

SKILL.md Format — Never Deviate

Every SKILL.md MUST start with exactly:


name: kebab-case-name description: | What this skill covers AND specific trigger keywords. Include exact terms: @HiltViewModel, StateFlow, UnauthorizedRestException. Under 60 words. This is the only thing the agent reads to decide to load the skill.

Writing Rules

  1. Every code example must compile — no pseudocode in critical paths
  2. Show ❌ wrong way then ✅ correct way for common mistakes
  3. Every skill needs a "Common Mistakes" section
  4. Kotlin style: val over var, trailing lambdas, named args for 3+ params, no !! operator
  5. SKILL.md under 500 lines — overflow goes in references/ subfolder
  6. Reference files must be linked from SKILL.md with guidance on when to read them

Android Standards This Repo Follows

  • Min SDK: API 24 (Android 7.0) unless stated otherwise
  • Architecture: MVVM + Unidirectional Data Flow
  • DI: Hilt only (not Koin, not bare Dagger)
  • Async: Coroutines + Flow (not RxJava, not LiveData)
  • Images: Coil
  • NEVER suggest: deprecated APIs, AsyncTask, Java-style Android, LiveData

Commit Format

feat(skill-name): description fix(skill-name): description docs(readme): description

One skill per PR. Never commit node_modules, .DS_Store, or generated files.

Do NOT

  • Do not add package.json, build systems, or any tooling
  • Do not add CI that validates Markdown
  • Do not hardcode library version numbers in prose (only in code blocks)
  • Do not change the name field of existing skills — breaks installs

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.