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

Aperta
#283 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
10/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, kotlin

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Kotlin
Stelle
10.7k
Fork
708
Merge medio
8g 4h
PR unite (30g)
10

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di android/skills

Tutte le issue di android/skills

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.