Agent skill

Project Gradle Third Party Version Upgrade

by afkT in afkT/DevUtils

对 DevUtils 工程(DEPSROOT=file/gradle、DEPSMANIFEST=file/deps)中定义的第三方库 GAV 依赖做版本查证与升级;结合 Maven Central、Google Maven、Gradle Plugin Portal、 JitPack 与 GitHub Releases/README 交叉校验「最新可用版本」;必要时修正…

Apache-2.0Auto-check passedDevelopment

Install Project Gradle Third Party Version Upgrade

skills CLI
$ npx skills add afkT/DevUtils --skill project-gradle-third-party-version-upgrade -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install afkT/DevUtils project-gradle-third-party-version-upgrade --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/afkT/DevUtils.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/project-gradle-third-party-version-upgrade .claude/skills/project-gradle-third-party-version-upgrade && rm -rf skills-src

Use ~/.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/

Facts

Skill name
project-gradle-third-party-version-upgrade
GitHub stars
1.6k
Token cost
~1.2k tokens
SKILL.md length
280 words
Files
2 (incl. references)
Skills in repo
13
Repo updated
First seen
Licence
Apache-2.0

At a glance

对 DevUtils 工程(DEPSROOT=file/gradle、DEPSMANIFEST=file/deps)中定义的第三方库 GAV 依赖做版本查证与升级;结合 Maven Central、Google Maven、Gradle Plugin Portal、 JitPack 与 GitHub Releases/README 交叉校验「最新可用版本」;必要时修正…

  • Works in 6 steps: 多源交叉校验:单一页面(含 mvnrepository… → GitHub 补证:若库开源于 GitHub/GitLab 等,用… → 同步写回:确认目标版本后,同一轮更新… → …
  • Tasks that involve Code migrations
  • SKILL.md covers 仓库布局契约(与…, 适用范围, 执行原则 and 版本信息查询顺序(建议), plus 5 more sections
  • Reaches github.com and search.maven.org

What it does

Project Gradle Third Party Version Upgrade is an agent skill from afkT/DevUtils. 对 DevUtils 工程(DEPSROOT=file/gradle、DEPSMANIFEST=file/deps)中定义的第三方库 GAV 依赖做版本查证与升级;结合 Maven Central、Google Maven、Gradle Plugin Portal、 JitPack 与 GitHub Releases/README 交叉校验「最新可用版本」;必要时修正 group/artifact、 同步 {DEPSROOT}/versions.gradle 中集中版本号,并为缺失的开源地址补全注释。在用户要求 升级依赖、检查过时库版本、对齐 config/deps 与中央仓库或 GitHub 发布时使用。

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/reference.md`).

It sits in Development, covering Code migrations and Technical documentation. It works with Gradle, GitHub and Android. The repository describes itself as: :fire: ( 持续更新,目前含 300+ 工具类 ) DevUtils 是一个 Android 工具库,主要根据不同功能模块,封装快捷使用的工具类及 API 方法调用。该项目尽可能的便于开发人员,快捷、高效开发安全可靠的项目。 The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Code migrations
  • Tasks that involve Technical documentation

Example prompts

  • “/project-gradle-third-party-version-upgrade”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 多源交叉校验:单一页面(含 mvnrepository 聚合站)可能滞后或展示非最新;必须以 构件可解析 为准(Central / 官方仓库 / JitPack 构建成功 / 插件门户)。
  2. GitHub 补证:若库开源于 GitHub/GitLab 等,用 Releases / Tags 与 README(安装说明、迁移、latest 徽章)核对「推荐版本」;与 Maven 上最新版不一致时,以 README 与 Release 说明为准(例如仅 Git Tag…
  3. 同步写回:确认目标版本后,同一轮更新 {DEPS_ROOT}/config.gradle / {DEPS_ROOT}/config_libs.gradle(及受影响的 {DEPS_ROOT}/config_*.gradle)与…
  4. 坐标变更:若官方迁移 groupId/artifactId(或 JitPack 坐标规则变化),同步修改字符串,并保留/更新注释中的文档链接。
  5. 注释与链接:条目上方或行尾注释若没有可点击的开源仓库或官方文档链接,且已确认托管地址,则按邻近条目风格补上(例如 // 库简述 https://github.com/org/repo);已有链接不重复堆砌。
  6. 不臆测版本:无法从仓库或源码托管方确认时,不写死新版本,在回复中说明阻塞原因与已查 URL。

What it can do on your machine

Read from SKILL.md and the folder at commit 6022ede. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    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.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com
    • search.maven.org
    • repo1.maven.org
    • jitpack.io
    • api.github.com
    • plugins.gradle.org

    Also links to:

    • developer.android.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Project Gradle Third Party Version Upgrade loads about 1.2k tokens when it runs, and up to ~1.6k if it reads all its reference files. Until then it costs about 89 tokens; SKILL.md has 280 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~89
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.6k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from afkT/DevUtils at commit 6022ede, republished under its Apache-2.0 licence (© afkT). 280 words, ~1,224 tokens.

Download SKILL.mdSave it as .claude/skills/project-gradle-third-party-version-upgrade/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
project-gradle-third-party-version-upgrade
description
对 DevUtils 工程(DEPS_ROOT=file/gradle、DEPS_MANIFEST=file/deps)中定义的第三方库 GAV 依赖做版本查证与升级;结合 Maven Central、Google Maven、Gradle Plugin Portal、 JitPack 与 GitHub Releases/README 交叉校验「最新可用版本」;必要时修正 group/artifact、 同步 `{DEPS_ROOT}/versions.gradle` 中集中版本号,并为缺失的开源地址补全注释。在用户要求 升级依赖、检查过时库版本、对齐 config/deps 与中央仓库或 GitHub 发布时使用。
disable-model-invocation
true

Gradle 第三方依赖版本升级(中心化配置)

仓库布局契约(与 project-gradle-central-deps 对齐)

本 Skill 与 project-gradle-central-deps/SKILL.md 使用同一套路径符号;路径只通过本表展开。

符号当前值(DevUtils)说明
DEPS_ROOTfile/gradle坐标定义、versions.gradle 与 config_*.gradle
DEPS_MANIFESTfile/deps业务侧 deps 清单(仅分工说明中引用)

适用范围

路径是否纳入
{DEPS_ROOT}/config.gradle(ext.deps)是:含 build 插件、官方栈、Dev 系列等
{DEPS_ROOT}/config_libs.gradle(ext.deps_lib)是:第三方库主战场
其它 {DEPS_ROOT}/config_*.gradle仅当文件内定义 Maven/Gradle 坐标字符串(group:artifact:version 或 ...:${versions.xxx} 且 versions 在本仓库维护)时纳入;纯路径映射(如 config_files.gradle 的 files map)默认不做版本升级

与「新增依赖、分组归属」相关时,先读并按 project-gradle-central-deps/SKILL.md 执行;本 Skill 专注查证版本 + 写回配置。

执行原则

  1. 多源交叉校验:单一页面(含 mvnrepository 聚合站)可能滞后或展示非最新;必须以 构件可解析 为准(Central / 官方仓库 / JitPack 构建成功 / 插件门户)。
  2. GitHub 补证:若库开源于 GitHub/GitLab 等,用 Releases / Tags 与 README(安装说明、迁移、latest 徽章)核对「推荐版本」;与 Maven 上最新版不一致时,以 README 与 Release 说明为准(例如仅 Git Tag 发布、或 Maven 上已有更新的 -android 变体)。
  3. 同步写回:确认目标版本后,同一轮更新 {DEPS_ROOT}/config.gradle / {DEPS_ROOT}/config_libs.gradle(及受影响的 {DEPS_ROOT}/config_*.gradle)与 {DEPS_ROOT}/versions.gradle 中被引用的变量;同一库多行(如 glide + glide_compiler)保持版本一致。
  4. 坐标变更:若官方迁移 groupId/artifactId(或 JitPack 坐标规则变化),同步修改字符串,并保留/更新注释中的文档链接。
  5. 注释与链接:条目上方或行尾注释若没有可点击的开源仓库或官方文档链接,且已确认托管地址,则按邻近条目风格补上(例如 // 库简述 https://github.com/org/repo);已有链接不重复堆砌。
  6. 不臆测版本:无法从仓库或源码托管方确认时,不写死新版本,在回复中说明阻塞原因与已查 URL。

版本信息查询顺序(建议)

对每条 group:artifact:version(或带 ${versions.*} 的串)先解析 group、artifact;再按坐标类型选源(可并行查证):

A. 普通 Maven Central 构件(非 com.github.* 插件坐标等)
  1. Maven Central Search API(优先,JSON):
    https://search.maven.org/solrsearch/select?q=g:"GROUP"+AND+a:"ARTIFACT"&core=gav&rows=50&wt=json
    在 response.docs[].v 中取符合渠道策略的版本号(见下文「版本策略」)。
  2. 仓库元数据(辅助):https://repo1.maven.org/maven2/GROUP_PATH/ARTIFACT/maven-metadata.xml(GROUP 中 . 换为 /)。
  3. AndroidX / Google 相关:以 AndroidX 发布说明 与 Google Maven 元数据为准,与 Central 交叉核对。
B. JitPack / com.github.* / com.github.USER:Repo:tag 形式
  1. JitPack API:https://jitpack.io/api/builds/GROUP_PATH/ARTIFACT/latest(具体路径以 JitPack 文档为准;GROUP 常为 com.github.OWNER)。确认 status=ok 的 tag/commit。
  2. GitHub(若对应仓库存在):https://api.github.com/repos/OWNER/REPO/releases 或 .../releases/latest;无 Release 时看 Tags;README 中的依赖片段优先于随意猜 tag。
C. Gradle 插件({DEPS_ROOT}/config.gradle 的 build 等)
  • Gradle Plugin Portal:页面 https://plugins.gradle.org/plugin/PLUGIN_ID 或门户 Maven 坐标说明。
  • 若插件坐标在 Central,仍可用 Central Search。
D. 次要参考(不可单独作为「最新」结论)
  • mvnrepository.com、libraries.io 等:仅作线索,发现与 Central/GitHub 不一致时以 Central/GitHub/官方为准。

版本策略(与仓库现状对齐)

  • 默认:与文件中邻近条目一致,优先 稳定版(无 alpha/beta/rc 后缀),除非该依赖在项目中已统一使用预览通道(如已有 3.0.0-alpha 系列则单独评估,不擅自改频道)。
  • 主版本升级:若跨越 major,在回复中简要列出 Release notes / 破坏性变更 线索(README 章节或 Release 标题);仍按用户要求或「全面升级」指令执行写回。
  • Kotlin / Android Gradle Plugin / 编译器:与 {DEPS_ROOT}/versions.gradle、Android Studio 兼容矩阵一致;不单为「数字更新」而升到未验证组合。

写回位置规则

版本出现位置操作
"..." 内写死版本号直接替换该字符串中的版本段
${versions.xxx}改 {DEPS_ROOT}/versions.gradle 中对应 xxx,不要在 {DEPS_ROOT}/config*.gradle 里硬编码拆变量
同一库多模块一并更新所有相同 group:artifact 前缀或文档要求成对的行

写回后保持 Gradle Map 语法、缩进、逗号 与文件内现有风格一致;不借机重排无关条目。

工作流清单(可复制)

- [ ] 列出用户指定或扫描到的 GAV / 变量引用
- [ ] 按「查询顺序」拉取 Central / JitPack / GitHub / 插件门户
- [ ] 交叉校验;记录最终采用版本与依据链接
- [ ] 更新 `{DEPS_ROOT}/config.gradle` / `{DEPS_ROOT}/config_libs.gradle` / `{DEPS_ROOT}/config_*.gradle` 与 `{DEPS_ROOT}/versions.gradle`(若涉及)
- [ ] 补全缺失的开源/文档注释链接
- [ ] 回复中汇总:库名、旧→新、依据 URL、若有 major 升级则注明风险

与 project-gradle-central-deps 的分工

场景使用
升级已有 key 的版本号、修正坐标、补链接本 Skill
新库写入 deps/deps_lib、选分组、{DEPS_MANIFEST}/*.gradle 引用project-gradle-central-deps

附加说明

  • 网络工具:查证阶段应使用 WebSearch / WebFetch(或等价)访问上述 API 与 HTML 页面;注意 GitHub API 匿名速率限制,失败时改用 Release 页 WebFetch。
  • 验证:若仓库内可运行 ./gradlew :模块:dependencies 或 CI 任务,在重大升级后可建议用户本地做一次依赖解析验证(本 Skill不强制改 CI)。

更多 API 与示例见 references/reference.md。

© 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

Files

SKILL.md and 1 other file (references) in .cursor/skills/project-gradle-third-party-version-upgrade of afkT/DevUtils.

  • SKILL.md
  • references/reference.md

Open the folder on GitHubat commit 6022ede

Compare with similar skills

Project Gradle Third Party Version Upgrade 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.

Project Gradle Third Party Version Upgrade compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Project Gradle Third Party Version Upgrade this skillafkT/DevUtils1.6k—~1.2kAutomated safety check: PassApache-2.0
Releasesol4k/sol4k135—~949Automated safety check: PassApache-2.0
Hz API Upgrademeta-quest/agentic-tools215—~1.8kAutomated safety check: PassApache-2.0
Docs Engineeringhiroshiyui/GuilelessBopomofo135—~806Automated safety check: PassGPL-3.0
Play Billing Library Version Upgradearindamxd/camerax-android1325 repos~1.4kAutomated safety check: PassApache-2.0
Capturing Preview Screenshots In CIskydoves/android-testing-skills334—~4.5kAutomated safety check: NotesApache-2.0

Similar skills

  • Release

    sol4k/sol4k

    Bump the sol4k library version everywhere, open a release PR, and draft GitHub release notes.

    135 GitHub stars~949 tokensUpdated 12 days ago
    DevelopmentAuto-check passed
  • Hz API Upgrade

    meta-quest/agentic-tools

    Upgrades Meta VR apps to newer Horizon OS SDK versions — migration guides, deprecated API replacements, changelog.

    215 GitHub stars~1.8k tokensUpdated 15 days ago
    DevelopmentAuto-check passed
  • Docs Engineering

    hiroshiyui/GuilelessBopomofo

    Writing/updating project documentation (README, PRIVACY-POLICY, NOTICES, changelogs) and maintaining F-Droid metadata.

    135 GitHub stars~806 tokensUpdated 12 days ago
    DevelopmentAuto-check passed
  • Play Billing Library Version Upgrade

    arindamxd/camerax-android

    A skill your agent uses when upgrading or migrating an Android project from any legacy Google Play Billing Library (PBL) version to the latest stable version of PBL.

    132 GitHub starsUsed in 5 repos~1.4k tokens
    DevelopmentAuto-check passed
  • Capturing Preview Screenshots In CI

    skydoves/android-testing-skills

    A skill your agent uses to render every Jetpack Compose @Preview as a screenshot on a real Android device or emulator and publish a browsable HTML catalog from CI.

    334 GitHub stars~4.5k tokensUpdated 4 mo ago
    MobileAuto-check: notes
  • Enforcing Stability In CI

    rosuH/EasyWatermark

    A skill your agent uses to set up a CI gate that fails the build when Compose stability silently regresses, using the skydoves/compose-stability-analyzer Gradle plugin (primary) or the…

    1.9k GitHub starsUsed in 1 repo~4k tokens
    DevOps & CloudAuto-check passed

More from afkT/DevUtils

All 13 skills in this repo
  • 依据 Android 官方「版本」文档完成平台适配:按版本号 N 抓取行为变更(所有应用、 targetSdk=N)、changes/features 子页与探索新功能/API;归纳影响项并落地到 Manifest/Gradle/工具类封装。在用户要求 Android 版本适配、行为变更排查、 targetSdk 升级、新 API 封装或对照…

    1.6k GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • 统一 Android XML 资源命名:layout、drawable、mipmap、color、values、id 的前缀与 snakecase 规则;把颜色/圆角/描边/状态编码进文件名(bg、border、textcolor…selector)。

    1.6k GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • 根据用户给出的 Java/Kotlin 工具类或 View 相关源码,设计并实现 androidx.databinding.BindingAdapter。

    1.6k GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • 为布局 XML 中的控件默认补全 DevSimple(lib/DevSimple)的 ViewTheme 样式引用: 按控件继承链匹配 ViewTheme.<类名>,ImageView/AppCompatImageView 使用 ViewTheme.ImageView.FITXY,无匹配则用 ViewTheme.View。工作区内优先 Read…

    1.6k GitHub stars~727 tokensUpdated 1 mo ago
    Auto-check passed
  • UI Devwidget Round

    afkT/DevUtils

    在需要圆角矩形纯色背景、描边边框时,优先用 DevWidget(io.github.afkt:DevWidgetX)的 dev.widget.ui.round 包替代 shape / layer-list drawable。流程与核心坑在 SKILL,Round 系列 View、R.styleable.DevWidget 中 app:dev 属性及源码对照见…

    1.6k GitHub stars~880 tokensUpdated 1 mo ago
    Auto-check passed
  • UI Dialogx Dialog

    afkT/DevUtils

    需要对话框、弹窗、菜单、加载等待、轻提示(Toast 替代)、应用内通知、底部弹窗、 上下文菜单、全屏/自定义弹层或操作引导时,默认使用 DialogX (com.github.kongzue.DialogX,本工程已依赖)而非系统 AlertDialog/Toast/PopupMenu。

    1.6k GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Project Gradle Third Party Version Upgrade

What does Project Gradle Third Party Version Upgrade do?

对 DevUtils 工程(DEPSROOT=file/gradle、DEPSMANIFEST=file/deps)中定义的第三方库 GAV 依赖做版本查证与升级;结合 Maven Central、Google Maven、Gradle Plugin Portal、 JitPack 与 GitHub Releases/README 交叉校验「最新可用版本」;必要时修正…. Project Gradle Third Party Version Upgrade is an agent skill from afkT/DevUtils.

When should I use Project Gradle Third Party Version Upgrade?

Project Gradle Third Party Version Upgrade fits situations like: tasks that involve Code migrations; tasks that involve Technical documentation.

How do I install Project Gradle Third Party Version Upgrade in Claude Code?

Run `npx skills add afkT/DevUtils --skill project-gradle-third-party-version-upgrade -a claude-code`. Or copy the skill folder (.cursor/skills/project-gradle-third-party-version-upgrade in afkT/DevUtils) into .claude/skills/project-gradle-third-party-version-upgrade in your project. Claude Code loads it when a task matches its description.

How do I install Project Gradle Third Party Version Upgrade in Codex?

Run `npx skills add afkT/DevUtils --skill project-gradle-third-party-version-upgrade -a codex`. Or copy the skill folder (.cursor/skills/project-gradle-third-party-version-upgrade in afkT/DevUtils) into .agents/skills/project-gradle-third-party-version-upgrade in your project. Codex loads it when a task matches its description.

Can I use Project Gradle Third Party Version Upgrade in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add afkT/DevUtils --skill project-gradle-third-party-version-upgrade -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/project-gradle-third-party-version-upgrade, .gemini/skills/project-gradle-third-party-version-upgrade, .github/skills/project-gradle-third-party-version-upgrade and .opencode/skills/project-gradle-third-party-version-upgrade in your project.

What does Project Gradle Third Party Version Upgrade need to run?

SKILL.md names no scripts, command-line tools or credentials: Project Gradle Third Party Version Upgrade is instructions for the agent only.

Does Project Gradle Third Party Version Upgrade access the network?

SKILL.md names 7 domains. In commands or code: github.com, search.maven.org, repo1.maven.org, jitpack.io, api.github.com and plugins.gradle.org; the agent is likely to contact these when it follows the instructions. As links in the text: developer.android.com. This is read from the text; nothing was executed.

Is Project Gradle Third Party Version Upgrade safe to install?

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.

What licence does Project Gradle Third Party Version Upgrade use?

Project Gradle Third Party Version Upgrade 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.

How many tokens does Project Gradle Third Party Version Upgrade use?

About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 341 tokens, read only when the agent opens those files.

What are the alternatives to Project Gradle Third Party Version Upgrade?

Skills that share tags, products or a category with Project Gradle Third Party Version Upgrade: Release (sol4k/sol4k, 135 stars), Hz API Upgrade (meta-quest/agentic-tools, 215 stars), Docs Engineering (hiroshiyui/GuilelessBopomofo, 135 stars) and Play Billing Library Version Upgrade (arindamxd/camerax-android, 132 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Project Gradle Third Party Version Upgrade?

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.