ワンクリックで
update-deps
Check for dependency and plugin updates, review and apply selected upgrades
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Check for dependency and plugin updates, review and apply selected upgrades
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Check and fix Checkstyle violations in jhelm modules
jhelm project coding standards and conventions for Java 21 with Lombok and Maven
Implement a GitHub issue with branch and pull request workflow
Auto-format, fix violations, and run Maven validate (PMD + Checkstyle) in one step
jhelm project architecture and module structure for a Java Helm implementation
Code review automation for Java, TypeScript, JavaScript, Python, Go. Analyzes PRs for complexity and risk, checks code quality for SOLID violations and code smells, generates review reports. Use when reviewing pull requests, analyzing code quality, identifying issues, generating review checklists.
| name | update-deps |
| description | Check for dependency and plugin updates, review and apply selected upgrades |
| allowed-tools | Bash(./mvnw *), Bash(python3 *) |
Scan for available updates, filter out noise, present options, apply selected upgrades, and verify the build.
Run both scans in parallel:
./mvnw versions:display-property-updates -N 2>&1 | grep '\->' > /tmp/jhelm-property-updates.txt
./mvnw versions:display-plugin-updates -N 2>&1 | grep '\->' | grep -v 'reactor\|Help\|Could not' > /tmp/jhelm-plugin-updates.txt
Run this script to produce a clean update table. It excludes:
spring-retry is NOT managed by the BOM.org.alexmond)25.0.0 -> 25.0.0-legacy)python3 -c "
import re, sys
SPRING_BOOT_MANAGED = {
'jackson', 'spring-', 'snakeyaml', 'logback', 'slf4j',
'junit', 'mockito', 'lombok', 'hibernate', 'tomcat',
'netty', 'reactor', 'micrometer', 'h2', 'flyway',
'liquibase', 'assertj', 'byte-buddy', 'objenesis',
'jakarta', 'aspectj', 'thymeleaf', 'commons-compress',
'httpclient', 'httpcore',
}
def is_managed(name):
lower = name.lower()
return any(m in lower for m in SPRING_BOOT_MANAGED)
def is_false_positive(current, new):
# Reject classifier-only changes (e.g. 25.0.0 -> 25.0.0-legacy)
if new.startswith(current + '-'):
return True
return False
updates = []
# Parse property updates
try:
with open('/tmp/jhelm-property-updates.txt') as f:
for line in f:
m = re.search(r'\\\$\{(.+?)\}\s+\.+\s+(\S+)\s+->\s+(\S+)', line)
if m:
prop, cur, new = m.group(1), m.group(2), m.group(3)
if not is_managed(prop) and not is_false_positive(cur, new):
updates.append(('property', prop, cur, new))
except FileNotFoundError:
pass
# Parse plugin updates
try:
with open('/tmp/jhelm-plugin-updates.txt') as f:
for line in f:
m = re.search(r'(\S+:\S+)\s+(\S+)\s+->\s+(\S+)', line)
if m:
plugin, cur, new = m.group(1), m.group(2), m.group(3)
if not is_managed(plugin) and not is_false_positive(cur, new):
updates.append(('plugin', plugin, cur, new))
except FileNotFoundError:
pass
if not updates:
print('All dependencies and plugins are up to date.')
sys.exit(0)
print(f\"{'#':>3} {'Type':<10} {'Name':<50} {'Current':<15} {'New':<15}\")
print('-' * 97)
for i, (typ, name, cur, new) in enumerate(updates, 1):
print(f'{i:>3} {typ:<10} {name:<50} {cur:<15} {new:<15}')
"
Show the table to the user. For each update, note:
9.3 -> 13.2.0) — flag as potentially breakingUse AskUserQuestion with multiSelect: true to let the user pick which updates to apply. Group options sensibly (e.g. "All safe updates", individual items for risky ones).
For property updates, modify pom.xml properties:
# Example: update a property version
# Use Edit tool to change <property.version>old</property.version> to <property.version>new</property.version>
For plugin updates defined via properties, update the property. For plugins without a property, update the <version> tag directly in <pluginManagement>.
After applying, run the formatter:
./mvnw spring-javaformat:apply
Run a full build to verify nothing broke:
./mvnw clean install 2>&1 | tail -30
Check for:
If any failures occur, report them to the user with context about which upgrade likely caused the issue.
Report a table of applied changes:
| Dependency | Old | New | Status |
|---|---|---|---|
${property} | x.y.z | a.b.c | Applied / Skipped / Failed |
If the build is green, the changes are ready to commit.
checkstyle.version is intentionally pinned to 9.3 for compatibility with spring-javaformat-checkstyle. Do not upgrade without verifying compatibility.spring-javaformat.version affects both the formatter plugin and the checkstyle dependency — upgrading requires testing both spring-javaformat:apply and validate.maven-pmd-plugin, check for deprecated/renamed/removed PMD rules in pmd-ruleset.xml (see /checkstyle skill and project memory for past examples).