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

Abierto
#283 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
10/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
android, kotlin

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Kotlin
Estrellas
10.7k
Forks
708
Merge medio
8 d 4 h
PR fusionados (30 d)
10

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de android/skills

Todos los issues de android/skills

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.