Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Thalarch Java

ASecurity

Project-version-aware Java/JVM engineering for production code, libraries, services, and enterprise applications. Use for Java source, Maven/Gradle JVM projects, Spring when actually present, concurrency, JVM performance, testing, persistence, or Java-specific refactoring.

2 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentsjavareactexpressspringtestingdebuggingrefactoringapisecurityperformance

Works with

api

Security Analysis

A100/100

Scanned 9/19/2026

$npx -y skills add LUC4N3X/antigravity-thalarch --skill thalarch-java --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Thalarch Java?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Thalarch Java
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/luc4n3x-thalarch-java/badge)](https://www.skillsdirectory.com/skills/luc4n3x-thalarch-java)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: thalarch-java
description: >
  Project-version-aware Java/JVM engineering for production code, libraries, services, and
  enterprise applications. Use for Java source, Maven/Gradle JVM projects, Spring when actually
  present, concurrency, JVM performance, testing, persistence, or Java-specific refactoring.
---

# Thalarch Java

Use the Java version and ecosystem the repository actually declares. Never assume the
latest language level, Spring, GraalVM, Lombok, or any other framework is available.

## Preflight

Determine from the repository:

- Java toolchain/source/target/release level;
- Maven vs Gradle and wrapper availability;
- framework and library versions;
- test framework and configured quality tools;
- module boundaries and generated-code directories.

Prefer `./mvnw` / `mvnw.cmd` or `./gradlew` / `gradlew.bat` when provided.

## Language discipline

Use features only when supported by the configured language level.

Prefer, when they clarify the model:

- records for immutable data carriers;
- sealed hierarchies for closed domain variants;
- pattern matching and switch expressions when supported;
- generics that preserve type information rather than raw types/casts;
- try-with-resources for owned closeable resources;
- immutable collections/value objects at boundaries where mutation is not required.

Do not convert every loop to a stream. Streams are preferable when they make a
transformation pipeline clearer; imperative code is often better for early exits, complex
state machines, mutation-heavy hot paths, or debugging-sensitive control flow.

Use `Optional` intentionally. Do not introduce it mechanically into fields, parameters,
or serialization models when the existing framework/contracts use another nullability model.

## Exceptions and resources

- Catch the most specific useful exception.
- Preserve causal chains when translating exceptions.
- Do not log and rethrow the same failure at every layer.
- Do not swallow interruption/cancellation semantics.
- Close resources deterministically.
- Preserve transactional boundaries and rollback behavior.

## Concurrency

First identify the repository/runtime model: platform threads, executors, virtual threads,
reactive streams, coroutines via interop, or framework-managed execution.

For concurrent changes, explicitly review:

- ownership and lifetime;
- mutable shared state;
- atomicity and visibility;
- cancellation/interruption;
- blocking calls inside event-loop/reactive execution;
- executor saturation/backpressure;
- lock ordering and deadlock risk.

Virtual threads are not an automatic optimization. Use them only when supported by the
configured JDK and appropriate for the workload/framework. Measure behavior instead of
assuming improved throughput.

## Spring and enterprise frameworks

Only activate framework-specific reasoning when the dependency graph proves the framework
is present.

For Spring-family projects, inspect actual versions and conventions before changing:

- bean lifecycle/scope;
- MVC vs reactive execution;
- transaction boundaries;
- persistence/session loading;
- security filters and authorization;
- configuration binding;
- observability/Actuator;
- native-image constraints when relevant.

Do not migrate between MVC/reactive, JPA/another persistence stack, or annotation/config
styles as incidental cleanup.

## Persistence

When JPA/Hibernate or another ORM is present, check:

- N+1 queries and fetch boundaries;
- transaction scope;
- lazy-loading behavior outside sessions;
- equality/hash semantics for entities/value objects;
- optimistic/pessimistic locking where concurrency matters;
- migration compatibility and data safety.

## Testing

Use the framework already configured. Typical evidence may include:

- focused JUnit tests;
- parameterized tests for boundary matrices;
- integration tests for Spring/DB/container boundaries;
- Testcontainers only when already present or explicitly justified;
- contract tests for externally visible APIs;
- JMH only for performance hypotheses that require microbenchmarking.

A mocked repository call does not prove persistence integration.

## JVM performance

Profile before tuning. Depending on available tooling, use project/runtime evidence such as
JFR/JMC, async-profiler, allocation/GC data, application metrics, or a reproducible benchmark.

Review:

- allocation churn;
- boxing/copying in hot paths;
- unbounded collections/caches;
- blocking/thread contention;
- GC pressure;
- classpath/startup/native-image tradeoffs.

Do not tune GC flags or heap settings without workload evidence.

## Verification

Run repository-native commands. Typical layers are compile → targeted test → broader test →
static analysis/build, but discover exact tasks from the project.

Final Java claims must name the configured JDK/toolchain used for verification.

Attribution

LUC4N3XLUC4N3X
View sourceSee grades on GitHubMore from LUC4N3X →
SSkills Directory ProSkills Directory

Get any skill into Claude in one click.

Download any skill as a ZIP for Claude.ai, Claude Desktop, or .claude/skills. $9/mo.

See Pro

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills Directory ProSkills Directory

Get any skill into Claude in one click.

Download any skill as a ZIP for Claude.ai, Claude Desktop, or .claude/skills. $9/mo.

See Pro

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1087401 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

697551 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →