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

オープン
#283 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
10/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, kotlin

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Kotlin
スター
10.7k
フォーク
708
平均マージ
8日 4時間
マージ済み PR(30日)
10

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

android/skills のほかの issue

android/skills の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。