AA

ayush016/android-lead-agent-skills

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

64 stars 质量 56 趋势 18MIT

为安卓首席工程师提供AI编码技能和提示,支持Claude、GitHub Copilot、Gemini和Cursor。

概览

Claude已经知道Hilt、Room和Compose是什么了。你不需要教它,Android。 你需要的是项目中每个AI生成的屏幕都遵循架构决策——你的间距网格、状态建模模式、动画标准、颜色标记层级。没有技能,Claude会在不同日子做出不同的选择,你的代码库也会慢慢分化。 这个技能是 .安装一次。每一次 Claude Code 会话——无论是你的、你的队友的、还是你的线人——都遵循相同的模式。 - MVVM 单向数据流 - 封闭接口界面状态:加载 / 准备(数据) / 错误(message,canRetry) - 持久状态用 StateFlow,一次性事件用 SharedFlow(replay=0) - Hilt DI 图层:SingletonComponent → ViewModelComponent - SavedStateHandle。

概述(AI 翻译)

将团队的安卓工程标准编码进Claude Code和其他AI助手中——一次,持续,永远如此。

** 📱 示例应用** ·** 📖 快速入门** ·** 🗺️ 涵盖内容**


这到底是做什么

Claude已经知道Hilt、Room和Compose是什么了。你不需要教它,Android。

你需要的是项目中每个AI生成的屏幕都遵循你的架构决策——你的间距网格、状态建模模式、动画标准、颜色标记层级。没有技能,Claude会在不同日子做出不同选择,你的代码库也会慢慢分化。

这项技能是一份团队标准文档,适用于人工智能。安装一次。每次Claude Code会话——无论是你的、你的团队成员的还是你的CI——都遵循相同的模式。


你得到了什么

无技艺 有技艺
颜色系统 6–8 材料角色,硬编码十六进制 定义全部29个角色,三层令牌架构
共享元素转换 即时导航或基础滑动 sharedBounds() / sharedElement() 配合正确的示波器线程

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。


What This Actually Does

Claude already knows what Hilt, Room, and Compose are. You don’t need to teach it Android.

What you do need is for every AI-generated screen in your project to follow your architectural decisions — your spacing grid, your state modelling pattern, your animation standards, your colour token hierarchy. Without a skill, Claude will make different choices on different days, and your codebase slowly diverges.

This skill is a team standards document for AI. Install it once. Every Claude Code session — yours, your teammates’, your CI’s — follows the same patterns.

Without skill → Claude produces correct-but-generic Android code
With skill    → Claude produces your project's Android code

What You Get

Without Skill With Skill
Color system 6–8 Material roles, hardcoded hex All 29 roles defined, 3-layer token architecture
Shared element transitions Instant navigation or basic slide sharedBounds() / sharedElement() with correct scope threading
Loading states CircularProgressIndicator centred on grey Skeleton shimmer mirroring real content geometry
State modelling var isLoading, var error, var data sealed interface with Loading, Ready(data), Error(message)
ViewModel events StateFlow for everything (toast replays on rotation) SharedFlow(replay=0) for events, StateFlow for state
UI quality Ships when it compiles Blocked by 29-item binary checklist
Spacing Random dp values 4dp grid enforced via AppSpacing.* tokens
Dark mode Inverted colours or forgotten Correct tonal mapping, all 29 roles defined in both schemes

Coverage

  • MVVM with unidirectional data flow
  • Sealed interface UI state: Loading / Ready(data) / Error(message, canRetry)
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add ayush016/android-lead-agent-skills
新手?先看 mcpskill.org 教程 →