Android Hidden API and R8 Check
gkd-kit/gkd
Checks whether Android hidden-API implementations and system callbacks survive R8 minification, and diagnoses Release-only failures such as AbstractMethodError.
将布局与代码中的硬编码 dp、sp 改为引用 @dimen/dp、@dimen/sp 与 R.dimen.; 资源名规则为整数部分与一位小数部分用下划线连接(如 12.5 → dp125)。
$ npx skills add afkT/DevUtils --skill android-dimen-dp-sp -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install afkT/DevUtils android-dimen-dp-sp --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/afkT/DevUtils.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/android-dimen-dp-sp .claude/skills/android-dimen-dp-sp && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "android-dimen-dp-sp" agent skill from https://github.com/afkT/DevUtils/tree/master/.cursor/skills/android-dimen-dp-sp into .claude/skills/android-dimen-dp-sp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-dimen-dp-sp", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/afkT/DevUtils/tree/master/.cursor/skills/android-dimen-dp-spType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add afkT/DevUtils --skill android-dimen-dp-sp -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install afkT/DevUtils android-dimen-dp-sp --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/afkT/DevUtils.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.cursor/skills/android-dimen-dp-sp .agents/skills/android-dimen-dp-sp && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "android-dimen-dp-sp" agent skill from https://github.com/afkT/DevUtils/tree/master/.cursor/skills/android-dimen-dp-sp into .agents/skills/android-dimen-dp-sp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-dimen-dp-sp", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add afkT/DevUtils --skill android-dimen-dp-sp -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install afkT/DevUtils android-dimen-dp-sp --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/afkT/DevUtils.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.cursor/skills/android-dimen-dp-sp .cursor/skills/android-dimen-dp-sp && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "android-dimen-dp-sp" agent skill from https://github.com/afkT/DevUtils/tree/master/.cursor/skills/android-dimen-dp-sp into .cursor/skills/android-dimen-dp-sp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-dimen-dp-sp", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/afkT/DevUtils.git --path .cursor/skills/android-dimen-dp-sp--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add afkT/DevUtils --skill android-dimen-dp-sp -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install afkT/DevUtils android-dimen-dp-sp --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/afkT/DevUtils.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.cursor/skills/android-dimen-dp-sp .gemini/skills/android-dimen-dp-sp && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "android-dimen-dp-sp" agent skill from https://github.com/afkT/DevUtils/tree/master/.cursor/skills/android-dimen-dp-sp into .gemini/skills/android-dimen-dp-sp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-dimen-dp-sp", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install afkT/DevUtils android-dimen-dp-spInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add afkT/DevUtils --skill android-dimen-dp-sp -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/afkT/DevUtils.git skills-src && mkdir -p .github/skills && cp -r skills-src/.cursor/skills/android-dimen-dp-sp .github/skills/android-dimen-dp-sp && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "android-dimen-dp-sp" agent skill from https://github.com/afkT/DevUtils/tree/master/.cursor/skills/android-dimen-dp-sp into .github/skills/android-dimen-dp-sp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-dimen-dp-sp", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add afkT/DevUtils --skill android-dimen-dp-sp -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install afkT/DevUtils android-dimen-dp-sp --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/afkT/DevUtils.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.cursor/skills/android-dimen-dp-sp .opencode/skills/android-dimen-dp-sp && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "android-dimen-dp-sp" agent skill from https://github.com/afkT/DevUtils/tree/master/.cursor/skills/android-dimen-dp-sp into .opencode/skills/android-dimen-dp-sp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-dimen-dp-sp", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
android-dimen-dp-sp将布局与代码中的硬编码 dp、sp 改为引用 @dimen/dp、@dimen/sp 与 R.dimen.; 资源名规则为整数部分与一位小数部分用下划线连接(如 12.5 → dp125)。
Android Dimen Dp Sp is an agent skill from afkT/DevUtils. 将布局与代码中的硬编码 dp、sp 改为引用 @dimen/dp、@dimen/sp 与 R.dimen.; 资源名规则为整数部分与一位小数部分用下划线连接(如 12.5 → dp125)。 在用户要求去掉魔法数、统一 dimen、替换 dp/sp 字面量或规范化尺寸引用时使用。
Its SKILL.md is about 510 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Mobile, covering Android development. It works with Android and Kotlin. The repository describes itself as: :fire: ( 持续更新,目前含 300+ 工具类 ) DevUtils 是一个 Android 工具库,主要根据不同功能模块,封装快捷使用的工具类及 API 方法调用。该项目尽可能的便于开发人员,快捷、高效开发安全可靠的项目。 The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6022ede. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Android Dimen Dp Sp loads about 512 tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 163 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from afkT/DevUtils at commit 6022ede, republished under its Apache-2.0 licence (© afkT). 163 words, ~512 tokens.
.claude/skills/android-dimen-dp-sp/SKILL.md (or your agent's skills folder).@dimen/dp_*、@dimen/sp_*Ndp / Nsp 或等价的 dp、sp 数值,改成 dimen 引用。values/dimens.xml 是否已有对应项:默认视为已存在,直接按规则写出 @dimen/... 与 R.dimen....。dp_,文字尺寸用 sp_。整数部分 + _ + 小数点后那一位数字(仅 一位 小数参与命名)。_ 表示小数点,不是第二个「任意分隔符」。dp_12、sp_8,不要写成 dp_12_0(除非用户项目已有该风格再跟随项目)。| 原始数值(dp 或 sp,单位一致即可) | 资源名(dp 示例) | XML 引用 | 代码引用 |
|---|---|---|---|
| 0.5 | dp_0_5 | @dimen/dp_0_5 | R.dimen.dp_0_5 |
| 12.5 | dp_12_5 | @dimen/dp_12_5 | R.dimen.dp_12_5 |
| 12.5555 | dp_12_5(先截断为 12.5) | @dimen/dp_12_5 | R.dimen.dp_12_5 |
| 12 | dp_12 | @dimen/dp_12 | R.dimen.dp_12 |
sp 同理:12.5sp → @dimen/sp_12_5、R.dimen.sp_12_5。
对某个 dp 或 sp 的数值 v(只看数字部分):
v 为整数(或可视为整数):资源名为 dp_<整数> 或 sp_<整数>。v 有小数部分:将 v 截断到小数点后一位得到 v',拆成整数部分 a 与一位小数数字 b(b 为 0–9),资源名为 dp_<a>_<b> 或 sp_<a>_<b>。v = 12.5555 → v' = 12.5 → a = 12, b = 5 → dp_12_5。v = 0.5 → v' = 0.5 → dp_0_5。android:padding="12.5dp"、tools:layout_margin="8sp" 等中的 字面量 改为 @dimen/dp_12_5、@dimen/sp_8 等形式;不要在属性值里再保留 dp/sp 后缀(dimen 条目自身已带单位语义)。tools: 或 app: 等命名空间,只替换尺寸字面量部分,其余属性名与命名空间不变。R.dimen.dp_12_5、R.dimen.sp_8 等,与上述命名一致。resources.getDimension(R.dimen.dp_12_5) 等;本 Skill 只规定 资源名与引用形式,不规定用 px 还是 dp 的封装工具类。dimens.xml 条目(除非用户明确要求创建资源文件)。10dp+2dp)若出现,本 Skill 未定义统一资源名:先向用户确认或按项目已有约定处理。© afkT, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .cursor/skills/android-dimen-dp-sp of afkT/DevUtils.
Open the folder on GitHubat commit 6022ede
Android Dimen Dp Sp next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Android Dimen Dp Sp this skillafkT/DevUtils | 1.6k | — | ~512 | Automated safety check: Pass | Apache-2.0 | |
| Android Hidden API and R8 Checkgkd-kit/gkd | 43k | — | ~1.5k | Automated safety check: Pass | GPL-3.0 | |
| Compose Multiplatform Patternsmonta-app/ocpp-emulator | 180 | 5 repos | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Android Developmentdpconde/claude-android-skill | 337 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Architecture Overclocknekomangaorg/Neko | 2.8k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Claude Android NinjaDrjacky/claude-android-ninja | 124 | — | ~5.2k | Automated safety check: Pass | Apache-2.0 |
gkd-kit/gkd
Checks whether Android hidden-API implementations and system callbacks survive R8 minification, and diagnoses Release-only failures such as AbstractMethodError.
monta-app/ocpp-emulator
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
dpconde/claude-android-skill
Create production-quality Android applications following Google's official architecture guidance and NowInAndroid best practices.
nekomangaorg/Neko
Resolves deep, structural performance bottlenecks in the Kotlin Android codebase.
Drjacky/claude-android-ninja
Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle.
mweinbach/agent-coworker
Helps add Expo and React Native to an existing native iOS or Android app, and choose between a prebuilt AAR or XCFramework and a fully integrated build.
afkT/DevUtils
依据 Android 官方「版本」文档完成平台适配:按版本号 N 抓取行为变更(所有应用、 targetSdk=N)、changes/features 子页与探索新功能/API;归纳影响项并落地到 Manifest/Gradle/工具类封装。在用户要求 Android 版本适配、行为变更排查、 targetSdk 升级、新 API 封装或对照…
afkT/DevUtils
统一 Android XML 资源命名:layout、drawable、mipmap、color、values、id 的前缀与 snakecase 规则;把颜色/圆角/描边/状态编码进文件名(bg、border、textcolor…selector)。
afkT/DevUtils
根据用户给出的 Java/Kotlin 工具类或 View 相关源码,设计并实现 androidx.databinding.BindingAdapter。
afkT/DevUtils
对 DevUtils 工程(DEPSROOT=file/gradle、DEPSMANIFEST=file/deps)中定义的第三方库 GAV 依赖做版本查证与升级;结合 Maven Central、Google Maven、Gradle Plugin Portal、 JitPack 与 GitHub Releases/README 交叉校验「最新可用版本」;必要时修正…
afkT/DevUtils
为布局 XML 中的控件默认补全 DevSimple(lib/DevSimple)的 ViewTheme 样式引用: 按控件继承链匹配 ViewTheme.<类名>,ImageView/AppCompatImageView 使用 ViewTheme.ImageView.FITXY,无匹配则用 ViewTheme.View。工作区内优先 Read…
afkT/DevUtils
在需要圆角矩形纯色背景、描边边框时,优先用 DevWidget(io.github.afkt:DevWidgetX)的 dev.widget.ui.round 包替代 shape / layer-list drawable。流程与核心坑在 SKILL,Round 系列 View、R.styleable.DevWidget 中 app:dev 属性及源码对照见…
Categories
将布局与代码中的硬编码 dp、sp 改为引用 @dimen/dp、@dimen/sp 与 R.dimen.; 资源名规则为整数部分与一位小数部分用下划线连接(如 12.5 → dp125)。. Android Dimen Dp Sp is an agent skill from afkT/DevUtils.
Android Dimen Dp Sp fits situations like: tasks that involve Android development.
Run `npx skills add afkT/DevUtils --skill android-dimen-dp-sp -a claude-code`. Or copy the skill folder (.cursor/skills/android-dimen-dp-sp in afkT/DevUtils) into .claude/skills/android-dimen-dp-sp in your project. Claude Code loads it when a task matches its description.
Run `npx skills add afkT/DevUtils --skill android-dimen-dp-sp -a codex`. Or copy the skill folder (.cursor/skills/android-dimen-dp-sp in afkT/DevUtils) into .agents/skills/android-dimen-dp-sp in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add afkT/DevUtils --skill android-dimen-dp-sp -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/android-dimen-dp-sp, .gemini/skills/android-dimen-dp-sp, .github/skills/android-dimen-dp-sp and .opencode/skills/android-dimen-dp-sp in your project.
SKILL.md names no scripts, command-line tools or credentials: Android Dimen Dp Sp is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Android Dimen Dp Sp is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 512 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Android Dimen Dp Sp: Android Hidden API and R8 Check (gkd-kit/gkd, 43k stars), Compose Multiplatform Patterns (monta-app/ocpp-emulator, 180 stars), Android Development (dpconde/claude-android-skill, 337 stars) and Architecture Overclock (nekomangaorg/Neko, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
afkT (a GitHub user) maintains it in afkT/DevUtils, which has 1,613 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on September 2, 2026.
Source: afkT/DevUtils on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.