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

Đang mở
#283 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
10/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, kotlin
Lĩnh vực
cli, developer-experience

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Kotlin
Star
10.7k
Fork
708
Merge trung bình
8 ngày 4 giờ
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của android/skills

Tất cả issue của android/skills

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.