agent-skills-android
AGENTS.md2 starsChanged 40 days agoMITView on GitHub
When working on an Android project with agent skills installed, always check for a matching skill before implementing directly. Skills provide battle-tested workflows that prevent common mistakes. Work follows a five-phase lifecycle. Each phase has dedicated skills: Skills live in skills/{skill-name}/SKILL.md:
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 31,774 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 repository31 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- android-accessibilitySkill
- android-architectureSkill
- android-background-workSkill
- android-data-persistenceSkill
- android-device-testingSkill
- android-e2e-verificationSkill
- android-ui-engineeringSkill
- api-and-interface-designSkill
- ci-cd-and-automationSkill
- code-review-and-qualitySkill
- code-simplificationSkill
- constraint-driven-developmentSkill
- context-engineeringSkill
- debugging-and-error-recoverySkill
- deprecation-and-migrationSkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- git-workflow-and-versioningSkill
- idea-refineSkill
- incremental-implementationSkill
- interview-meSkill
- observability-and-instrumentationSkill
- performance-optimizationSkill
- planning-and-task-breakdownSkill
- security-and-hardeningSkill
- shipping-and-launchSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- using-agent-skillsSkill
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
When working on an Android project with agent skills installed, always check for a matching skill before implementing directly.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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 — Agent Skills for Android
Skill-First Execution Model
When working on an Android project with agent skills installed, always check for a matching skill before implementing directly. Skills provide battle-tested workflows that prevent common mistakes.
Structured Lifecycle
Work follows a five-phase lifecycle. Each phase has dedicated skills:
DEFINE → PLAN → BUILD → VERIFY → REVIEW → SHIP| Phase | Skills | Purpose |
| DEFINE | interview-me, idea-refine, spec-driven-development, context-engineering, constraint-driven-development | Sharpen ideas, write specs, set up AI context |
| PLAN | planning-and-task-breakdown, android-architecture | Break work into tasks, make architecture decisions |
| BUILD | incremental-implementation, test-driven-development, android-ui-engineering, android-data-persistence, android-background-work, api-and-interface-design, source-driven-development, doubt-driven-development, code-simplification, documentation-and-adrs | Implement incrementally with TDD |
| VERIFY | android-device-testing, android-e2e-verification, android-accessibility, debugging-and-error-recovery, performance-optimization | Test, debug, and validate |
| REVIEW | code-review-and-quality, security-and-hardening | Review quality and security |
| SHIP | ci-cd-and-automation, git-workflow-and-versioning, shipping-and-launch, observability-and-instrumentation, deprecation-and-migration | Automate, version, observe, and release |
Skill Directory Structure
Skills live in skills/{skill-name}/SKILL.md:
skills/
├── interview-me/SKILL.md
├── idea-refine/SKILL.md
├── spec-driven-development/SKILL.md
├── planning-and-task-breakdown/SKILL.md
├── android-architecture/SKILL.md
├── android-ui-engineering/SKILL.md
├── android-data-persistence/SKILL.md
├── android-background-work/SKILL.md
├── android-accessibility/SKILL.md
├── android-device-testing/SKILL.md
├── android-e2e-verification/SKILL.md
├── test-driven-development/SKILL.md
├── incremental-implementation/SKILL.md
├── code-review-and-quality/SKILL.md
├── debugging-and-error-recovery/SKILL.md
├── doubt-driven-development/SKILL.md
├── api-and-interface-design/SKILL.md
├── performance-optimization/SKILL.md
├── security-and-hardening/SKILL.md
├── observability-and-instrumentation/SKILL.md
├── ci-cd-and-automation/SKILL.md
├── deprecation-and-migration/SKILL.md
├── git-workflow-and-versioning/SKILL.md
├── shipping-and-launch/SKILL.md
├── code-simplification/SKILL.md
├── constraint-driven-development/SKILL.md
├── context-engineering/SKILL.md
├── documentation-and-adrs/SKILL.md
├── source-driven-development/SKILL.md
└── using-agent-skills/SKILL.mdSKILL.md Anatomy
Each skill follows this structure:
- Overview — what and why
- When to Use — trigger conditions and exclusions
- Core Process — numbered steps with Kotlin code examples
- Common Rationalizations — excuses agents use to skip steps + rebuttals
- Red Flags — observable violations during review
- Verification — exit checklist requiring tangible evidence
Target: each SKILL.md stays under 500 lines.
Agent Personas
Three reusable agent personas in agents/:
| Agent | Role | Use When |
code-reviewer.md | Five-axis code review (Correctness, Readability, Architecture, Security, Performance) | Reviewing PRs or self-reviewing |
test-engineer.md | Test design, coverage analysis, quality evaluation | Designing test suites, finding coverage gaps |
security-auditor.md | OWASP Mobile Top 10, vulnerability assessment | Security review before release |
Orchestration: Personas and Skills
Three composable layers, each with a distinct job:
- Skills (
skills/<name>/SKILL.md) — workflows with steps and exit criteria. The how. Mandatory steps when an intent matches. - Personas (
agents/<role>.md) — roles with a perspective and an output format. The who. See docs/agent-personas.md for the full catalogue and orchestration rules. - Slash Commands — user-facing entry points (e.g.
/spec,/build,/ship) that compose skills and personas.
Composition rule: The user — or a slash command acting on their behalf — is the orchestrator. Personas do not invoke other personas. A persona may invoke skills.
The endorsed multi-persona pattern is parallel fan-out with a merge step — used during shipping to run code-reviewer, security-auditor, and test-engineer concurrently on the same diff and synthesize their reports into a single go/no-go decision.
Command Mappings
Instructions map to development phases:
| Phase | Skills Used |
| Specification | interview-me (when vague) + spec-driven-development |
| Quality bar | constraint-driven-development |
| Planning | planning-and-task-breakdown |
| Building | incremental-implementation + test-driven-development |
| Testing | test-driven-development + android-device-testing + android-e2e-verification |
| Reviewing | code-review-and-quality + security-and-hardening + performance-optimization |
| Code Simplification | code-simplification + code-review-and-quality |
| Shipping | shipping-and-launch + observability-and-instrumentation |
Reference Checklists
Detailed checklists in references/:
testing-patterns.md— JUnit5, MockK, Espresso, Compose tests, MockWebServersecurity-checklist.md— OWASP Mobile, Network Security Config, cert pinning, secretsperformance-checklist.md— Android Vitals, Baseline Profiles, Macrobenchmark, APK sizeaccessibility-checklist.md— TalkBack, Accessibility Scanner, touch targets, contrast
Core Principles
- Skills are workflows, not suggestions — follow steps in order, never skip verification
- Anti-rationalizations are real — check the "Common Rationalizations" table before skipping steps
- Evidence over assertions — "it looks right" is not verification
- Assumption surfacing — state assumptions explicitly before implementing
- Scope discipline — only modify what's requested
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.

