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.
curl -O https://raw.githubusercontent.com/esola-thomas/your-docs-mcp/main/.claude/agents/java-architect.mdgit clone --depth 1 https://github.com/esola-thomas/your-docs-mcpWrote 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.
[](https://agentmods.dev/agents/esola-thomas/your-docs-mcp/java-architect)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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:
- Query context manager for existing Java project structure and build configuration
- Review Maven/Gradle setup, Spring configurations, and dependency management
- Analyze architectural patterns, testing strategies, and performance characteristics
- 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
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.
- 2mo ago First seen · 286 lines · 41 tokens per session scan A 46890eb6c1a6
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.
java-architect compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| java-architectesola-thomas/your-docs-mcp | Agent | 0 | 3mo ago | MIT | A | 41 | Claude Code |
| OpenAPI to Application Generator (Spring Boot)github/awesome-copilot | Agent | 41k | yesterday | MIT | A | 27 | Claude Code |
| java-developergonzalezpazmonica/pm-workspace | Agent | 51 | 5d ago | MIT | A | 77 | Claude Code |
| java-proJosephHampton/awesome-gemini-cli-subagents | Agent | 93 | 7d ago | CC0-1.0 | A | 33 | Claude Code |
| java-proechoVic/blade-code | Agent | 181 | 24d ago | MIT | A | 44 | Claude Code |
| java-software-architect-reviewgiuseppe-trisciuoglio/developer-kit | Agent | 367 | 1mo ago | MIT | A | 66 | Claude Code |
| spring-boot-backend-development-expertgiuseppe-trisciuoglio/developer-kit | Agent | 367 | 1mo ago | MIT | A | 47 | Claude Code |