Java Enterprise Development 标志

Java Enterprise Development

社区
peterbamuhigire
java-enterprise-development

Use when building, diagnosing, or modernising Java/JVM APIs, data pipelines, modular ERP, or Hibernate N+1/fetch plans with Spring Boot/Batch, Jakarta EE, transactions, tests, PostgreSQL/jOOQ, Maven/Gradle, WebLogic, Oracle JDBC, Quarkus, GraalVM, JFR, or javax-to-jakarta.persistence migration.

概览

发布者peterbamuhigire
代码仓库chwezi-dev-engine
技能名称java-enterprise-development
星标数
29
复刻数
6
附带文件
22
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载的 SKILL.md 文件,因此只有在请求确实匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 22 个随附文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 peterbamuhigire 发布于 GitHub。请在安装前查看源内容。

安装

在 TypingMind 中安装 Java Enterprise Development AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/languages/java-enterprise-development
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/peterbamuhigire/chwezi-dev-engine.git /tmp/chwezi-dev-engine
mkdir -p .claude/skills
cp -r /tmp/chwezi-dev-engine/skills/languages/java-enterprise-development .claude/skills/java-enterprise-development
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Java Enterprise Development,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Java Enterprise Development。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Java Enterprise Development 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会获取指令,因此未使用的技能不会产生额外费用。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Java Enterprise Development

Use this skill as the Java- and JVM-specific judgement layer for long-lived enterprise systems. It turns cross-cutting architecture, security, data, delivery, and operations contracts into version-aware Java decisions and evidence without replacing their owning skills.

Prompting and AI-assisted implementation

When generating a Java task prompt, include the actual JDK/toolchain and build evidence, affected flow and layer, API/data contracts, transaction and security invariants, non-goals, expected files, and acceptance commands. Prefer a staged handoff: inspect the repository and reproduce the symptom; plan the smallest change; implement within the write set; compile and run focused tests; then review compatibility, error handling, observability, and unchanged behaviour. For debugging, provide the stack trace and reproduction, ask for a root-cause hypothesis tied to code evidence, and require a targeted regression test. For refactors, state what behaviour must remain unchanged. Treat dependency, framework, JDK, and API-version suggestions as NOT ASSESSED until the local build and current primary sources support them.

Prerequisites

Load world-class-engineering, anti-ai-slop, and the delivery evidence pack. For current versions, lifecycle, licensing, compatibility, or support claims, consult docs/source-registers/java-enterprise.md and run the Digital Research source-evaluation and source-verification gates. Load the finance engine in addition when implementing money, ledger, tax, payroll, close, or accounting rules.

Use When

  • Building or reviewing Java services, APIs, workers, batch systems, libraries, modular monoliths, distributed systems, or application-server deployments.
  • Working with the JVM, Spring, Jakarta EE, Hibernate, jOOQ, JDBC, Maven, Gradle, Quarkus, Micronaut, Helidon, GraalVM, WebLogic, or Oracle integration.
  • Diagnosing Java CPU, memory, garbage collection, thread, connection-pool, startup, latency, or messaging incidents.
  • Planning staged upgrades from older Java, Java EE, Spring Boot, Hibernate, build-tool, or application-server generations.

Do Not Use When

  • The task is generic system decomposition, API design, database design, security, Kubernetes, cloud, SaaS, AI, or accounting with no Java-specific decision. Use that specialist first and return here for implementation.
  • The task is Android/Kotlin application work; use the Android or Kotlin Multiplatform route unless a separate Java backend is also in scope.
  • A current product or licensing claim lacks a verified source. Research it; do not fill the gap from memory or this skill.

Inputs

Artefact or factRequired?If absent
Repository, affected flow, acceptance criteria, and failure consequenceyesInspect or frame before changing code
JDK distribution/version and Java language/toolchain levelyesDetect from build, CI, image, and runtime; mark unresolved fields NOT ASSESSED
Framework, persistence, build-tool, database, runtime, and deployment versionsconditionalRead manifests, lock/BOM data, server config, and release metadata
Architecture boundaries, API/data contracts, security model, and scale/SLOsconditionalObtain from owning specialist or state the missing decision
Tests, logs, metrics, traces, profiles, dumps, migrations, and release evidenceconditionalNarrow diagnosis or readiness verdict; never invent evidence

Workflow

  1. Frame one vertical slice. Name actor, business invariant, normal path, failure path, side effects, telemetry, rollback boundary, and consequence of error.
  2. Identify the actual platform. Inspect Maven/Gradle files, wrappers, toolchains, BOMs, CI, container image, framework metadata, database driver, application server, deployment descriptors, and runtime output. Record the version-awareness card below.
  3. Verify lifecycle facts. Compare detected versions with the current source register. Re-open official sources when the review date or target differs.
  4. Trace boundaries before code. Follow the request/event/job through transport, authentication, application rule, transaction, persistence, side effect, telemetry, and recovery. Preserve working local conventions.
  5. Load only relevant depth. Select the Java reference for the decision and pair it with the owning cross-cutting skill.
  6. Choose explicitly. Record an ADR for costly framework, architecture, persistence, concurrency, native-image, application-server, or vendor choices. Use measured requirements, team capability, support, and exit cost.
  7. Make the smallest coherent change. Keep domain invariants visible, configuration validated, transactions explicit, concurrency bounded, and external calls failure-aware.
  8. Exercise normal and failure behaviour. Run only commands supported by the repository: wrapper-based compile/test/verify tasks, static/security checks, migration checks, and a realistic smoke test. Inspect the outputs.
  9. Test production shape. Where applicable exercise the packaged artefact, runtime configuration, database dialect, broker, container limits, probes, graceful termination, telemetry, and rollback or roll-forward procedure.
  10. Record an evidence verdict. Use PASS, PARTIAL, FAIL, NOT ASSESSED, or NOT APPLICABLE per quality area. Never collapse missing load, failover, restore, or production evidence into a pass.

Version-awareness card

text
JDK distribution/runtime:
Java language and bytecode target:
Framework and modules:
Jakarta/Java EE level:
Persistence provider and database driver:
Build tool and wrapper:
Application server or embedded runtime:
Database and dialect:
Packaging and deployment target:
Support evidence/review date:

Quality Standards

  • Correctness and data integrity outrank framework convenience. Define money, rounding, time zones, transaction isolation, idempotency, and concurrency behaviour at the business boundary.
  • Prefer a supported LTS runtime for production when constraints permit, but do not upgrade or change distributions without compatibility, licensing, operational, and rollback evidence.
  • Keep business rules out of controllers, listeners, entities, framework callbacks, deployment descriptors, and generated persistence plumbing.
  • Treat Spring annotations, Jakarta interceptors, ORM sessions, transactions, retries, reactive pipelines, and native-image metadata as mechanisms whose boundaries and failure semantics must be understood.
  • Require bounded executors, queues, result sets, request bodies, retries, timeouts, caches, batch chunks, and concurrency. Propagate cancellation or interruption according to the runtime contract.
  • Verify dependencies and APIs against the pinned build. Use framework BOMs or Gradle platforms, wrappers, convergence/locking controls, and trusted repositories; arbitrary dependencies require a recorded benefit and owner.
  • Make the shipped unit diagnosable: release identity, structured safe logs, metrics, traces, JVM evidence access, health semantics, and an owned runbook.
  • Optimise only against a repeatable workload and before/after evidence. Do not prescribe JVM flags, reactive programming, caching, Native Image, or a new framework as folklore.

Decision Rules

DecisionPreferRequire before choosing the costlier alternative
New system shapeModular monolith with explicit modulesIndependent deployment/scaling/security ownership plus operational maturity for services
Request concurrencySpring MVC/servlet or Jakarta REST with platform/virtual threads where supportedEnd-to-end non-blocking stack, measured concurrency need, backpressure design, and reactive operating skill for WebFlux
PersistenceJPA/Hibernate for aggregate-centred transactional workjOOQ for SQL-led queries/vendor features; JDBC for small explicit paths; evidence for mixed models
Enterprise platformExisting supported platform and team competenceComparative ADR for Spring Boot, Jakarta runtime, Quarkus, Micronaut, or Helidon
JVM or Native ImageJVM for broad compatibility and steady-state optimisationStartup/density requirement, compatibility inventory, build/debug plan, and measured native result
Maven or GradleExisting wrapper and conventionsMigration benefit exceeding retraining, plugin, cache, and reproducibility cost
Local or distributed transactionLocal transaction plus idempotent workflow/outboxXA/JTA only when atomic resource coordination is required and failure/recovery is exercised
Vendor-specific capabilityStandard/portable contract with an adapterMeasured benefit, support commitment, isolation boundary, migration cost, and fallback

Outputs

ArtefactConsumerTemplate
Java implementation/review and version-awareness cardDeveloper and maintainerInline and repository-native code
Java architecture or technology ADRsystem-architecture-design and reviewerstemplates/architecture-decision.md
Java production-readiness verdictRelease ownertemplates/production-readiness.md
JVM incident diagnosisOperators and incident ownertemplates/java-incident-runbook.md
Performance experimentPerformance/reliability ownertemplates/performance-evidence.md
Staged Java/platform migrationdeployment-release-engineeringtemplates/migration-plan.md
Java release gateCI/CD and release ownertemplates/release-readiness.md

Evidence Produced

CategoryArtifactFormatExample
CorrectnessCompile, test, integration, migration, and business-invariant resultsVerification log: exact command/task, environment, result, and failures retaineddocs/java/verification.md
SecurityDependency/SAST/configuration findings plus threat-model linkageFindings register: Java-specific findings and specialist disposition are traceabledocs/java/security-findings.md
PerformanceWorkload, runtime, profile, before/after measurementsExperiment record: same controlled workload; no claim from a single unqualified numberdocs/java/performance-evidence.md
OperabilityPackaged smoke, telemetry, termination, recovery, and ownership evidenceRuntime check log: runtime identity and failure path are exercised or marked NOT ASSESSEDdocs/java/runtime-checks.md
Release evidenceArtefact/SBOM/provenance, migration, rollout, rollback or roll-forward evidenceRelease record: immutable identity and accountable owner are recordeddocs/java/release-evidence.md

Anti-Patterns

  • Adding interfaces, factories, base managers, wrappers, or mapping layers with no boundary or substitution need. Fix: keep the direct coherent design.
  • Organising a large codebase only as global controllers/services/repositories. Fix: preserve existing shape or group by bounded capability with enforced dependencies.
  • Treating @Transactional, retries, Kafka delivery, or database constraints as magic correctness. Fix: trace proxy/resource boundaries and test duplicate, rollback, isolation, deadlock, and partial-failure behaviour.
  • Returning persistence entities as public contracts. Fix: use explicit API or event models where privacy, compatibility, or boundary ownership matters.
  • Selecting microservices, WebFlux, Native Image, event sourcing, CQRS, or cache because it sounds modern. Fix: write the requirement and measure the trade-off.
  • Catching Exception without containment and recovery, swallowing interrupts, logging the same failure at every layer, or exposing stack traces. Fix: translate once, preserve cause/correlation, and assign logging ownership.
  • Creating raw threads, unbounded pools/queues, ad hoc retries, or parallelStream on server request paths. Fix: use managed, bounded concurrency and load tests.
  • Using binary floating point for money or relying on implicit time zones and locale. Fix: define decimal scale/rounding, currency, java.time type, zone, locale, and database mapping.
  • Setting heap equal to container memory or copying -XX flags from another service. Fix: budget heap and native consumers, collect evidence, change one supported control, and retain or revert.
  • Claiming a build, test, benchmark, failover, or release passed without tool output. Fix: mark it NOT ASSESSED and name the exact missing check.

Read Next

  • system-architecture-design, distributed-systems-patterns, and microservices-architecture for boundaries, ADRs, consistency, and topology.
  • api-design-first, database-design-engineering, and the database-specific skill for contracts, access patterns, schema, SQL, and database operations.
  • vibe-security-skill and web-app-security-audit for threat modelling, authorisation, supply-chain, and release security.
  • advanced-testing-strategy, observability-monitoring, reliability-engineering, and deployment-release-engineering for evidence, SLOs, incidents, rollout, and recovery.
  • kubernetes-platform, cloud-architecture, relevant SaaS skills, and AI skills when Java implements those specialist decisions.

References

  • references/java-language-runtime-concurrency.md
  • references/architecture-framework-selection.md
  • references/spring-production.md
  • references/jakarta-runtimes-cloud-native.md
  • references/persistence-transactions-oracle.md
  • references/api-messaging-distributed-systems.md
  • references/security-testing-quality.md
  • references/build-supply-chain-release.md
  • references/performance-observability-operations.md
  • references/containers-kubernetes-cloud.md
  • references/oracle-platforms.md
  • references/legacy-modernisation.md
  • references/ai-in-enterprise-java.md
  • references/source-study-notes.md
  • examples/enterprise-java-reference.md
  • examples/red-team-scenarios.md

Capability Contract

Read and search are required. Editing and execution follow the task authority. Network access is required for stale lifecycle/API claims. Delegation is optional and limited to independent scopes. Production mutation, deployment, data change, or irreversible migration requires explicit authority and recovery proof.

Degraded Mode

Without source, build, runtime, database, load, security, or production access, return the narrowest evidence-backed plan or review. List exact commands and artefacts still needed, and mark each affected quality area NOT ASSESSED.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Java Enterprise Development AI 技能有什么作用?

Use when building, diagnosing, or modernising Java/JVM APIs, data pipelines, modular ERP, or Hibernate N+1/fetch plans with Spring Boot/Batch, Jakarta EE, transactions, tests, PostgreSQL/jOOQ, Maven/Gradle, WebLogic, Oracle JDBC, Quarkus, GraalVM, JFR, or javax-to-jakarta.persistence migration.

为什么在 TypingMind 中使用 Java Enterprise Development?

因为您只需安装一次,就能搭配任何模型使用。Java Enterprise Development 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型,甚至可以在聊天中途切换模型,而不会影响技能正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Java Enterprise Development?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/languages/java-enterprise-development。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Java Enterprise Development?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Java Enterprise Development 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以搭配 Java Enterprise Development 使用,包括 GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等,都可在 TypingMind 中使用您自己的 API 密钥接入。

Java Enterprise Development AI 技能免费吗?

是的。该技能源自 peterbamuhigire 在 GitHub 上以 MIT 许可证发布的项目。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇