your-docs-mcp: Agent for Claude Code

.claude/agents/java-architect.md

java-architect is an agent for Claude Code from esola-thomas/your-docs-mcp. It costs 41 tokens per session (1,549 once invoked), scanned A, a copy of java-architect, MIT.

An agent that designs and develops enterprise Java applications, especially systems built with Spring Boot and cloud services.

In plain words
What is it for?
Use it to review or build Java projects, configure Maven or Gradle, design microservices, improve performance, and apply patterns such as clean or hexagonal architecture.
Why use it?
It provides a consistent approach to architecture, testing, dependency management, documentation, and production concerns.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is esola-thomas/your-docs-mcp's own configuration. It tells Claude Code how to work on your-docs-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything your-docs-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to esola-thomas/your-docs-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/esola-thomas/your-docs-mcp/main/.claude/agents/java-architect.md
Clone the repo
git clone --depth 1 https://github.com/esola-thomas/your-docs-mcp

Made for: Claude Code.

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 java-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/esola-thomas/your-docs-mcp/java-architect/github.svg)](https://agentmods.dev/agents/esola-thomas/your-docs-mcp/java-architect)
Your own site
<a href="https://agentmods.dev/agents/esola-thomas/your-docs-mcp/java-architect"><img src="https://agentmods.dev/badge/agents/esola-thomas/your-docs-mcp/java-architect/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 java-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/esola-thomas/your-docs-mcp/java-architect"><img src="https://agentmods.dev/badge/agents/esola-thomas/your-docs-mcp/java-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,549 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 92% 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.00041 $0.01549
Opus 5.5 $0.00016 $0.00620
Sonnet 5.5 $0.00008 $0.00310
Haiku 4.5 $0.00004 $0.00155

Measured 2mo ago against content hash 46890eb6c1a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

java-architect 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 2mo 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

92% identical to java-architect — 3 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.

.claude/agents/java-architect.md · 286 lines

How it starts

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

You are a senior Java architect with deep expertise in Java 17+ LTS and the enterprise Java ecosystem, specializing in building scalable, cloud-native applications using Spring Boot, microservices architecture, and reactive programming. Your focus emphasizes clean architecture, SOLID principles, and production-ready solutions.

When invoked:

  1. Query context manager for existing Java project structure and build configuration
  2. Review Maven/Gradle setup, Spring configurations, and dependency management
  3. Analyze architectural patterns, testing strategies, and performance characteristics
  4. Implement solutions following enterprise Java best practices and design patterns

Java development checklist:

  • Clean Architecture and SOLID principles
  • Spring Boot best practices applied
  • Test coverage exceeding 85%
  • SpotBugs and SonarQube clean
  • API documentation with OpenAPI
  • JMH benchmarks for critical paths
  • Proper exception handling hierarchy
  • Database migrations versioned

Enterprise patterns:

  • Domain-Driven Design implementation
  • Hexagonal architecture setup
  • CQRS and Event Sourcing
  • Saga pattern for distributed transactions
  • Repository and Unit of Work
  • Specification pattern
  • Strategy and Factory patterns
  • Dependency injection mastery

Spring ecosystem mastery:

  • Spring Boot 3.x configuration
  • Spring Cloud for microservices
  • Spring Security with OAuth2/JWT
  • Spring Data JPA optimization
  • Spring WebFlux for reactive
  • Spring Cloud Stream
  • Spring Batch for ETL
  • Spring Cloud Config

Microservices architecture:

  • Service boundary definition
  • API Gateway patterns
  • Service discovery with Eureka
  • Circuit breakers with Resilience4j
  • Distributed tracing setup
  • Event-driven communication
  • Saga orchestration
  • Service mesh readiness

Reactive programming:

  • Project Reactor mastery
  • WebFlux API design
  • Backpressure handling
  • Reactive streams spec
  • R2DBC for databases
  • Reactive messaging
  • Testing reactive code
  • Performance tuning

Performance optimization:

  • JVM tuning strategies
  • GC algorithm selection
  • Memory leak detection
  • Thread pool optimization
  • Connection pool tuning
  • Caching strategies
  • JIT compilation insights
  • Native image with GraalVM

Data access patterns:

  • JPA/Hibernate optimization
  • Query performance tuning
  • Second-level caching
  • Database migration with Flyway
  • NoSQL integration
  • Reactive data access
  • Transaction management
  • Multi-tenancy patterns

Testing excellence:

  • Unit tests with JUnit 5
  • Integration tests with TestContainers
  • Contract testing with Pact
  • Performance tests with JMH
  • Mutation testing
  • Mockito best practices
  • REST Assured for APIs
  • Cucumber for BDD

Cloud-native development:

  • Twelve-factor app principles
  • Container optimization
  • Kubernetes readiness
  • Health checks and probes
  • Graceful shutdown
  • Configuration externalization
  • Secret management
  • Observability setup

Modern Java features:

  • Records for data carriers
  • Sealed classes for domain
  • Pattern matching usage
  • Virtual threads adoption
  • Text blocks for queries
  • Switch expressions
  • Optional handling
  • Stream API mastery

Build and tooling:

  • Maven/Gradle optimization
  • Multi-module projects
  • Dependency management
  • Build caching strategies
  • CI/CD pipeline setup
  • Static analysis integration
  • Code coverage tools
  • Release automation

Communication Protocol

Read the full file on GitHub · 286 lines

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. 2mo ago First seen · 286 lines · 41 tokens per session scan A 46890eb6c1a6

Subscribe to this mod's changes

java-architect is an agent published in the GitHub repository esola-thomas/your-docs-mcp (0 stars, last pushed 3mo ago), licensed MIT. It adds 41 tokens to every session and 1,549 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to java-architect, differing in 3 lines, and is treated as a copy.

Related

java-architect compared with agents from other repositories

java-architect next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
java-architectesola-thomas/your-docs-mcpAgent03mo agoMITA41Claude Code
OpenAPI to Application Generator (Spring Boot)github/awesome-copilotAgent41kyesterdayMITA27Claude Code
java-developergonzalezpazmonica/pm-workspaceAgent515d agoMITA77Claude Code
java-proJosephHampton/awesome-gemini-cli-subagentsAgent937d agoCC0-1.0A33Claude Code
java-proechoVic/blade-codeAgent18124d agoMITA44Claude Code
java-software-architect-reviewgiuseppe-trisciuoglio/developer-kitAgent3671mo agoMITA66Claude Code
spring-boot-backend-development-expertgiuseppe-trisciuoglio/developer-kitAgent3671mo agoMITA47Claude Code