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 checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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 repository27 other files it gives its agents.
- accessibilitySkill
- adaptive-uiSkill
- android-architectureSkill
- android-setupSkill
- android-testingSkill
- biometricsSkill
- ci-cd-androidSkill
- compose-animationSkill
- compose-navigationSkill
- compose-uiSkill
- datastoreSkill
- design-systemSkill
- design-tokensSkill
- firebaseSkill
- gradleSkill
- hilt-diSkill
- kotlin-patternsSkill
- material3Skill
- notificationsSkill
- offline-firstSkill
- performanceSkill
- permissionsSkill
- play-store-releaseSkill
- retrofitSkill
- room-databaseSkill
- securitySkill
- supabase-androidSkill
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
- Very specific: line 28
Every SKILL.md MUST start with exactly:
- Distinctive: line 40
Every code example must compile — no pseudocode in critical paths
- Distinctive: line 42
Every skill needs a "Common Mistakes" section
- Distinctive: line 54
NEVER suggest: deprecated APIs, AsyncTask, Java-style Android, LiveData
- Very specific: line 66
Do not add package.json, build systems, or any tooling
- Distinctive: line 67
Do not add CI that validates Markdown
- Distinctive: line 68
Do not hardcode library version numbers in prose (only in code blocks)
- Very specific: line 69
Do not change the name field of existing skills — breaks installs
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
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
- Every code example must compile — no pseudocode in critical paths
- Show ❌ wrong way then ✅ correct way for common mistakes
- Every skill needs a "Common Mistakes" section
- Kotlin style: val over var, trailing lambdas, named args for 3+ params, no !! operator
- SKILL.md under 500 lines — overflow goes in references/ subfolder
- 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
namefield of existing skills — breaks installs
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.

