将布局与代码中的硬编码 dp、sp 改为引用 @dimen/dp、@dimen/sp 与 R.dimen.; 资源名规则为整数部分与一位小数部分用下划线连接(如 12.5 → dp125)。 在用户要求去掉魔法数、统一 dimen、替换 dp/sp…
Chinese在 Project 仓库中新增或引用 Gradle 依赖时,先查 file/gradle/config.gradle 与 file/gradle/configlibs.gradle 是否已有坐标;按官方/非官方规则写入对应分组,并在 file/deps/depsandroid.gradle 或 file/deps/depsproject.gradle 中按现有风格引用。 在用户要求添加 AndroidX、CameraX、Kotlin、Jetpack、第三方 Maven 依赖或修改 deps…
ChineseIncludes Android Dimen Dp Sp and Gradle Central Deps.
Supported by the Atlas install prompt. Skill-specific requirements vary.
Pack stats
What’s included
Android Dimen Dp Sp
将布局与代码中的硬编码 dp、sp 改为引用 @dimen/dp、@dimen/sp 与 R.dimen.; 资源名规则为整数部分与一位小数部分用下划线连接(如 12.5 → dp125)。 在用户要求去掉魔法数、统一 dimen、替换 dp/sp 字面量或规范化尺寸引用时使用。
Gradle Central Deps
在 Project 仓库中新增或引用 Gradle 依赖时,先查 file/gradle/config.gradle 与 file/gradle/configlibs.gradle 是否已有坐标;按官方/非官方规则写入对应分组,并在 file/deps/depsandroid.gradle 或 file/deps/depsproject.gradle 中按现有风格引用。 在用户要求添加 AndroidX、CameraX、Kotlin、Jetpack、第三方 Maven 依赖或修改 deps 清单时使用。
Quick start
- Choose your skills. Select individual skills above, or choose the entire pack.
- Copy the install prompt. Use Copy install prompt above the list.
- Send it to your agent. Paste into your coding agent’s chat. Your agent reviews the source and guides the setup.
Try it with your agent
After installation, start with a request like:
Use the Android Dimen Dp Sp skill to help with my task.
Ask me for the context you need before getting started.Requirements & license
- A coding agent that can access your project files and install skills.
- Your agent checks each skill’s instructions, dependencies, and permissions during setup.
- Reported license for the skills shown: Apache-2.0. The author’s terms apply.