enterprise-java

enterprise-java is a skill for Claude Code from ProjAnvil/MindForge. It costs 76 tokens per session (3,538 once invoked), scanned A, a copy of enterprise-java, MIT.

A guidance package for enterprise Java development, covering Spring, microservices, design patterns, performance, and Java coding practices. Microservices are applications split into cooperating services; Spring is a common Java application framework.

In plain words
What is it for?
Building Spring Boot applications, microservices, databases, distributed systems, and related deployment and performance work.
Why use it?
It gives an AI coding assistant established guidance for designing and improving larger Java systems.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mindforge-en plugin — 19 skills, 9 agents shipped together

Good fit Building Spring Boot applications, microservices, databases, distributed systems, and related deployment and performance work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/projanvil/mindforge/enterprise-java
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ProjAnvil/MindForge --skill enterprise-java
Clone the repo
git clone --depth 1 https://github.com/ProjAnvil/MindForge

Made for: Claude Code.

Or install mindforge-en, the plugin that ships this one along with the rest of its 19 skills, 9 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for enterprise-java

README.md
[![agentmods](https://agentmods.dev/badge/skills/projanvil/mindforge/enterprise-java/github.svg)](https://agentmods.dev/skills/projanvil/mindforge/enterprise-java)
Your own site
<a href="https://agentmods.dev/skills/projanvil/mindforge/enterprise-java"><img src="https://agentmods.dev/badge/skills/projanvil/mindforge/enterprise-java/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for enterprise-java

Your own site · 80×15
<a href="https://agentmods.dev/skills/projanvil/mindforge/enterprise-java"><img src="https://agentmods.dev/badge/skills/projanvil/mindforge/enterprise-java.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,538 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.03538
Opus 5.5 $0.00030 $0.01415
Sonnet 5.5 $0.00015 $0.00708
Haiku 4.5 $0.00008 $0.00354

Measured 16d ago against content hash aa9b0f966e90, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

enterprise-java scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to enterprise-java — 327 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/mindforge-en/skills/enterprise-java/SKILL.md · 233 lines

How it starts

The opening of the file, as written. The whole thing — 233 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Enterprise Java — Language Skill

This skill is about the Java language and runtime itself: syntax, the type system, concurrency, virtual threads, the JVM memory model, and the idioms and gotchas that follow from them. It is deliberately framework-neutral. Framework and app-level recipes live in references/; see Framework Selection below. Grounded in the Oracle JDK 21 virtual threads guide, JEP 444 (virtual threads), JEP 480/505 (structured concurrency), the Java Memory Model (JSR-133), and the java.util.concurrent package docs.

Gotchas

Each trap is written as symptom -> why -> fix, because the why is the part worth remembering.

1. Virtual-thread pinning under synchronized

  • Symptom: throughput collapses when a virtual thread blocks while holding a monitor; adding more virtual threads does not help.
  • Why: on JDK 21 a virtual thread inside a synchronized block/method that blocks is pinned to its carrier platform thread (JEP 444) — the scheduler cannot unmount it, so the carrier stays occupied for the whole block.
  • Fix: replace the monitor with java.util.concurrent.locks.ReentrantLock, or move the blocking call out of the synchronized region; never pool virtual threads.
// ReentrantLock lets the virtual thread unmount while waiting.
private final ReentrantLock lock = new ReentrantLock();
lock.lock();
try {
    doWork();
} finally {
    lock.unlock();
}

2. Carrier-thread pool starvation

  • Symptom: virtual threads stop making progress even though the code is "mostly idle"; the whole process feels frozen.
  • Why: the default scheduler mounts virtual threads on a small, fixed ForkJoinPool of carrier platform threads (parallelism ~ CPU cores, jdk.virtualThreadScheduler.parallelism). If every carrier is pinned or stuck in a long CPU loop, no virtual thread can be mounted.
  • Fix: remove pinning (gotcha 1), offload CPU-bound work to a bounded platform-thread pool, and cap concurrency with a Semaphore instead of a thread pool.
// Bound concurrency without pooling virtual threads.
Semaphore permits = new Semaphore(64);
permits.acquire();
try {
    handle(request);
} finally {
    permits.release();
}

Read the full file on GitHub · 233 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago Changed · +25 lines · +23 tokens per session aa9b0f966e90
  2. 1mo ago Changed · +8 lines 49cfda9d40fe
  3. 3mo ago First seen · 200 lines · 53 tokens per session scan A 6f25ab8029a7

Subscribe to this mod's changes

enterprise-java is a skill published in the GitHub repository ProjAnvil/MindForge (3 stars, last pushed 9d ago), licensed MIT. It adds 76 tokens to every session and 3,538 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to enterprise-java, differing in 327 lines, and is treated as a copy.

Related

enterprise-java compared with skills from other repositories

enterprise-java next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
enterprise-javaProjAnvil/MindForgeSkill39d agoMITA76Claude Code
java-patternssoftspark/ai-toolkitSkill18013d agoApache-2.0A48Claude Code
spring-cloud-openfeignclaude-dev-suite/claude-dev-suiteSkill51todayMITA96Claude Code
spring-bootclaude-dev-suite/claude-dev-suiteSkill51todayMITA140Claude Code
spring-hateoasclaude-dev-suite/claude-dev-suiteSkill51todayMITA105Claude Code
java-spring-developmentMindrally/skillsSkill3231mo agoApache-2.0A24Claude Code
java-quarkus-developmentMindrally/skillsSkill3231mo agoApache-2.0A31Claude Code