[Feature] Expand Android Skills with Modern Web Guidance capabilities (legacy-scan, CLI search/retrieve, and broader modern API guidance)

Open
#283 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
10/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
android, kotlin

Research direction

The issue names no existing files or tests. Start by reading the current android/skills catalog and the android-cli skills commands it proposes to extend. This is a multi-part design proposal with no agreed scope, so a newcomer should first ask a maintainer which piece, such as search and retrieve, to take on. Done means a maintainer has confirmed that scope.

Written by the indexing model from the issue text.

Description

enhancement
Problem

Coding agents frequently generate outdated Android patterns—such as legacy View/XML code, deprecated permission flows, older lifecycle/navigation APIs, or heavy third-party workarounds—because LLM training data is heavily weighted toward older Android codebases.

While android/skills is a great start for targeted workflows, developers still have to manually know which skills to install and lack an automated way to scan existing Android projects for legacy patterns or pull narrow, token-efficient guidance on demand.

Inspiration

Google Chrome's googlechrome/modern-web-guidance solves this effectively for the web platform with:

  1. A legacy-scan CLI command that scans a project for outdated patterns and points the agent directly to modern replacements.
  2. On-demand search and retrieve CLI commands so coding agents can pull only the exact, token-efficient guide they need instead of loading large skill sets into context.
  3. Broad, structured coverage of modern platform features and use cases with responsible fallback/compatibility guidance (the Android equivalent of minSdk / targetSdk and Jetpack compat libraries).
  4. A public Eval Dashboard showing how well guidance improves agent accuracy across models.
Proposed Solution

Extend android/skills and android-cli with "Modern Android Guidance" capabilities:

  • Add android skills search "<query>" and android skills retrieve "<id>" so agents can dynamically fetch minimal, task-specific guidance.
  • Add an android skills legacy-scan <path> command that detects deprecated/legacy Android patterns (e.g., deprecated APIs, legacy permission/activity-result patterns, old navigation/lifecycle/background-work usage, outdated Gradle/Compose idioms) and maps them to modern developer.android.com skills.
  • Broaden the catalog beyond migration tasks to cover modern Android UI, architecture, background work, permissions, media/camera, and compatibility patterns with clear minSdk fallback rules.
  • Publish an eval dashboard (similar to modern-web-guidance) to track where LLMs still underperform on modern Android development.
Impact

This would make android/skills a complete, token-efficient modernization companion for both greenfield apps and legacy Android codebases across Claude Code, Codex, Cursor, Gemini CLI, and Android Studio.

Dominant language
Kotlin
Stars
10.7k
Forks
708
Avg merge
8d 4h
Merged PRs (30d)
10

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/skills

All issues in android/skills

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.