skills README

The project's README from github.com/android/skills. As one markdown file: README.md.

Android skills

Android skills are a dedicated repository of AI-optimized, modular instructions and resources, to help agents better understand and execute specific patterns that follow the best practices and guidance on Android development from developer.android.com.

Android skills follow the open-standard agent skills - markdown files (SKILL.md) that provide a technical specification of a task, and ground LLMs with information on specialized domains and workflows.

Our Android skill development focuses on use cases and workflows where evaluations show LLMs underperform. We aren't prioritizing well-established areas where LLMs are already proficient, such as basic Jetpack Compose best practices.

To learn more, read the official documentation:

Install Android skills

Use Android CLI to install a specific skill into the current directory:

android skills add r8-analyzer --project=.

Use Android CLI to install all Android skills to directories for all detected agents:

android skills add --all

If you don't have any existing agent directories and don't specify particular agents, the skills will be installed for Gemini and Antigravity at ~/.gemini/antigravity/skills.

Options:

Activate skills

Your agent automatically activates skills that are relevant to your task. To use a skill, prompt your agent to complete a task that is related to the skill, for example "Make my app UI edge-to-edge." The agent should automatically find and use the skill if it has been installed.

Disclaimer

AI can make mistakes, so always double-check the results.

Contributing

Submit a GitHub issue to provide feedback, report issues, or make new skill requests and changes.

Public contributions are not accepted at this time.

License

Android Skills is licensed under the Apache License 2.0. See the LICENSE.txt file for details.

Review our community guidelines

This project follows Google's Open Source Community Guidelines.

skills (android/skills)

Searching Database…

8.8K ·GitHub
这是什么?这是一套为 Android 开发准备的、针对 AI 优化的模块化指令(技能)库,基于 developer.android.com 的最佳实践编写,让 AI 编程代理能够正确完成 Android 相关任务。
这是代码库还是别的东西?它是一组遵循开放标准 Agent Skills 规范的 SKILL.md Markdown 文件,属于为大模型提供任务领域背景的文档,而不是可以导入应用中的代码。
我该如何安装这些技能?使用 Android CLI 把某一个指定的技能安装到当前目录;或者加上 --all,把全部技能安装到你电脑上检测到的所有代理的目录中。
这些技能适用于哪些代理?你需要为某个受支持的代理(例如 Gemini、Antigravity)准备好对应的代理目录;如果没有这样的目录,并且你没有用 --agent 指定代理,技能会默认安装到 Gemini 和 Antigravity 的 ~/.gemini/antigravity/skills 中。
这些技能是否涵盖了 Android 开发的所有主题?没有。团队有意跳过了大模型已经表现良好的领域,例如标准的 Jetpack Compose 用法,只聚焦于评测显示模型表现不佳的工作流程。
代理如何决定使用某个技能?技能会自动激活。当你让代理做与某个技能相关的事情时,例如“把我的应用界面改成边到边显示(edge-to-edge)”,它会找到并应用已安装的匹配 SKILL.md。
如果我没有指定代理,技能会安装到哪里?默认情况下,技能会为 Gemini 和 Antigravity 安装到你电脑上的 ~/.gemini/antigravity/skills 目录下。
Creator
android
Size
2 MB
Stars
8.8K
Age
7mo
Commits · 90 Days