Java Cache
Spring Boot cache setup, review checklist and eviction patterns for Redis and Caffeine.
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 15, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Aug 10, 2026 · 20cd323
Baseline Spring caching advice already covers the annotations correctly, but the skill's checklist catches a real bug baseline glossed over — the @Cacheable proxy-bypass footgun when a method calls itself on the same bean — plus it forces explicit maximumSize/TTL and actuator cache-metrics steps baseline would only add if asked.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 7/10
- Docs & honesty 5/5
What Java Cache does
Detects the Spring Boot cache provider (Redis, Caffeine, plain ConcurrentHashMap, or none) from pom.xml/build.gradle and the Boot version, then walks through setup, @Cacheable/@CacheEvict/@CachePut usage, and an 11-point review checklist covering proxy-bypass, null caching, serialization and TTL. Triggers when a user asks to add caching, configure Redis or Caffeine, use the Spring cache annotations, or review existing cache config.
How to install Java Cache
git clone https://github.com/ducpm2303/claude-java-plugins
cd claude-java-plugins
mkdir -p ~/.claude/skills
cp -r plugins/java-spring/skills/java-cache ~/.claude/skills/java-cache
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Java Cache
-
/java-cacheSpring Boot cache setup, review checklist and eviction patterns for Redis and Caffeine.
It also activates on plain-language prompts like these:
-
Add Caffeine caching to my ProductService.findById method in Spring -
Review my Spring Boot Redis cache config for the proxy-bypass bug -
Set up cache eviction on update and delete for this Spring service
Frequently asked questions
- Is the Java Cache skill free?
- Yes. The skill itself is free from ducpm2303/claude-java-plugins. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Java Cache work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 15, 2026. Verdict: Tested · Works. Baseline Spring caching advice already covers the annotations correctly, but the skill's checklist catches a real bug baseline glossed over — the @Cacheable proxy-bypass footgun when a method calls itself on the same bean — plus it forces explicit maximumSize/TTL and actuator cache-metrics steps baseline would only add if asked.
- What is the Java Cache SkillProof Score?
- 8.8/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 7/10, docs & honesty 5/5.
- How do I install Java Cache?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Java Cache with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.