Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

maven-tools

БесплатноБез исполняемых скриптовНе проверен

JVM dependency intelligence via Maven Tools MCP server. Use when the user asks about Maven or Gradle dependencies, safe upgrades, CVEs, license risks, release…

arvindandот arvindand★ 17 звёзд на GitHub

Об этом скилле

Maven Tools

Use this skill to ground JVM dependency decisions in live Maven Central data.

This is an execution skill. Use Maven Tools MCP first for dependency facts, then do the reasoning in-model. Assume Maven Tools MCP is already configured; only discuss setup if the tools are unavailable.

When to Use

Activate when the user asks about:

  • Java, Kotlin, Scala, or JVM dependencies
  • Maven, Gradle, pom.xml, build.gradle, or build.gradle.kts
  • latest versions, upgrades, CVEs, licenses, dependency age, or release history
  • whether a dependency is safe, current, stale, or worth upgrading

Core Boundary

Use Maven Tools MCP for version, security, license, freshness, and release-pattern facts from Maven Central.

  • Do the reasoning in-model: recommend next steps, call out risk, and separate safe-now actions from manual-review items.
  • Normalize dependency inputs to groupId:artifactId or groupId:artifactId:version as needed.
  • For recommendation questions, evaluate concrete candidates with Maven Tools first, then add documentation context before making a strong call.
  • Do not use Maven metadata alone to decide library popularity, framework fit, migration effort, or performance tradeoffs.

Tool Selection

Choose the narrowest tool that matches the request:

Intent Tool Default Parameters
latest version lookup get_latest_version stabilityFilter: PREFER_STABLE
check exact version check_version_exists none
bulk candidate check (no current versions) check_multiple_dependencies stabilityFilter: PREFER_STABLE
upgrade analysis (single coordinate, with current version) compare_dependency_versions includeSecurityScan: true, stabilityFilter: STABLE_ONLY
whole-POM upgrade plan (raw pom.xml) recommend_pom_upgrades mode: MINOR_PATCH
resolve effective POM versions (raw pom.xml) analyze_pom_dependencies none
age/freshness analyze_dependency_age use project-appropriate threshold
maintenance signal / release history analyze_release_patterns monthsToAnalyze: 24
full project audit analyze_project_health includeSecurityScan: true, includeLicenseScan: true, stabilityFilter: PREFER_STABLE

Default to analyze_project_health when the user says "check my dependencies" or pastes a project dependency set.

When the user provides raw pom.xml content, prefer the POM-aware tools: analyze_pom_dependencies resolves and classifies effective versions (EXPLICIT / MANAGED / EXPLICIT_OVERRIDE) and surfaces multi-BOM conflicts; recommend_pom_upgrades returns an actionable upgrade plan. Both walk the parent chain, apply <dependencyManagement>, and resolve <scope>import</scope> BOMs; pass sideloadedPoms for monorepo siblings or unreleased parents.

Use check_multiple_dependencies for candidate sets without current versions. Use compare_dependency_versions for single-coordinate upgrade decisions. Use analyze_project_health for broad audits, not every single dependency question.

Workflow

  1. Extract dependencies from user input or the build file
  2. Pick the narrowest tool that answers the request
  3. Report the result in decision-oriented language:
    • what is current
    • what changed
    • what is safe to do now
    • what needs manual review

Whole-POM upgrades and bot-like maintenance

When the user hands you a raw pom.xml and wants to know what to upgrade ("what can I safely bump?", scheduled maintenance, dependency-bot replacement), lead with recommend_pom_upgrades:

  • mode: MINOR_PATCH (default) keeps major upgrades out of the safe path
  • apply deterministicActions[] directly — these are mechanical <version> edits:
    • explicit_bump — declared dependencies
    • bom_bump — user-controllable BOMs
    • managed_decl_bump — direct, non-import <dependencyManagement> entries the input POM owns, including platform/master POMs with no normal <dependencies> usage (3.2.0+)
    • plugin_dep_bump — direct dependencies under build/plugins and build/pluginManagement, such as com.puppycrawl.tools:checkstyle inside maven-checkstyle-plugin (3.2.0+)
  • Validate the action against the current XML location and version before editing. Property edits must remain consistent across all references; stop for stale or ambiguous actions.
  • owned-declaration actions carry edit-location metadata (editTarget, propertyName, declaredIn) telling you whether to edit a literal <version> or the backing property; plugin_dep_bump also names the owner plugin and build path, so apply the edit inside that plugin block rather than at the top level
  • route needsAttention[] (majors, multi-BOM conflicts, explicit overrides) to human or LLM review; each entry carries the Maven Central latest for context

One call returns everything mechanical plus the review queue — no per-coordinate fan-out for whole-POM flows. Reach for analyze_pom_dependencies

Полный SKILL.md на GitHub

Установить maven-tools в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

mcp__maven-tools__*
mcp__context7__*
WebSearch
WebFetch

Вложенные файлы

LICENSE

FAQ

Что делает скилл maven-tools?

JVM dependency intelligence via Maven Tools MCP server. Use when the user asks about Maven or Gradle dependencies, safe upgrades, CVEs, license risks, release history, or project dependency health. Use when reviewing `pom.xml`, `build.gradle`, `build.gradle.kts`, or Maven coordinates. Use when the user says 'check my dependencies', 'should I upgrade X', 'what can I safely bump', or 'is this version safe'. Use even when the user just pastes a `groupId:artifactId` coordinate without a verb.

Как установить скилл maven-tools?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл maven-tools запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить maven-tools с