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

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:

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
  1. Distinctive:

    When working on an Android project with agent skills installed, always check for a matching skill before implementing directly.

    line 5

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

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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
PhaseSkillsPurpose
DEFINEinterview-me, idea-refine, spec-driven-development, context-engineering, constraint-driven-developmentSharpen ideas, write specs, set up AI context
PLANplanning-and-task-breakdown, android-architectureBreak work into tasks, make architecture decisions
BUILDincremental-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-adrsImplement incrementally with TDD
VERIFYandroid-device-testing, android-e2e-verification, android-accessibility, debugging-and-error-recovery, performance-optimizationTest, debug, and validate
REVIEWcode-review-and-quality, security-and-hardeningReview quality and security
SHIPci-cd-and-automation, git-workflow-and-versioning, shipping-and-launch, observability-and-instrumentation, deprecation-and-migrationAutomate, 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.md

SKILL.md Anatomy

Each skill follows this structure:

  1. Overview — what and why
  2. When to Use — trigger conditions and exclusions
  3. Core Process — numbered steps with Kotlin code examples
  4. Common Rationalizations — excuses agents use to skip steps + rebuttals
  5. Red Flags — observable violations during review
  6. Verification — exit checklist requiring tangible evidence

Target: each SKILL.md stays under 500 lines.

Agent Personas

Three reusable agent personas in agents/:

AgentRoleUse When
code-reviewer.mdFive-axis code review (Correctness, Readability, Architecture, Security, Performance)Reviewing PRs or self-reviewing
test-engineer.mdTest design, coverage analysis, quality evaluationDesigning test suites, finding coverage gaps
security-auditor.mdOWASP Mobile Top 10, vulnerability assessmentSecurity 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:

PhaseSkills Used
Specificationinterview-me (when vague) + spec-driven-development
Quality barconstraint-driven-development
Planningplanning-and-task-breakdown
Buildingincremental-implementation + test-driven-development
Testingtest-driven-development + android-device-testing + android-e2e-verification
Reviewingcode-review-and-quality + security-and-hardening + performance-optimization
Code Simplificationcode-simplification + code-review-and-quality
Shippingshipping-and-launch + observability-and-instrumentation

Reference Checklists

Detailed checklists in references/:

  • testing-patterns.md — JUnit5, MockK, Espresso, Compose tests, MockWebServer
  • security-checklist.md — OWASP Mobile, Network Security Config, cert pinning, secrets
  • performance-checklist.md — Android Vitals, Baseline Profiles, Macrobenchmark, APK size
  • accessibility-checklist.md — TalkBack, Accessibility Scanner, touch targets, contrast

Core Principles

  1. Skills are workflows, not suggestions — follow steps in order, never skip verification
  2. Anti-rationalizations are real — check the "Common Rationalizations" table before skipping steps
  3. Evidence over assertions — "it looks right" is not verification
  4. Assumption surfacing — state assumptions explicitly before implementing
  5. Scope discipline — only modify what's requested

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.