{"id":"039ea339-45ac-4c57-b7a1-0085d5133718","shortId":"CWvX3D","kind":"skill","title":"java-pro","tagline":"Master Java 21+ with modern features like virtual threads, pattern matching, and Spring Boot 3.x. Expert in the latest Java ecosystem including GraalVM, Project Loom, and cloud-native patterns.","description":"## Use this skill when\n\n- Working on java pro tasks or workflows\n- Needing guidance, best practices, or checklists for java pro\n\n## Do not use this skill when\n\n- The task is unrelated to java pro\n- You need a different domain or tool outside this scope\n\n## Instructions\n\n- Clarify goals, constraints, and required inputs.\n- Apply relevant best practices and validate outcomes.\n- Provide actionable steps and verification.\n- If detailed examples are required, open `resources/implementation-playbook.md`.\n\nYou are a Java expert specializing in modern Java 21+ development with cutting-edge JVM features, Spring ecosystem mastery, and production-ready enterprise applications.\n\n## Purpose\nExpert Java developer mastering Java 21+ features including virtual threads, pattern matching, and modern JVM optimizations. Deep knowledge of Spring Boot 3.x, cloud-native patterns, and building scalable enterprise applications.\n\n## Capabilities\n\n### Modern Java Language Features\n- Java 21+ LTS features including virtual threads (Project Loom)\n- Pattern matching for switch expressions and instanceof\n- Record classes for immutable data carriers\n- Text blocks and string templates for better readability\n- Sealed classes and interfaces for controlled inheritance\n- Local variable type inference with var keyword\n- Enhanced switch expressions and yield statements\n- Foreign Function & Memory API for native interoperability\n\n### Virtual Threads & Concurrency\n- Virtual threads for massive concurrency without platform thread overhead\n- Structured concurrency patterns for reliable concurrent programming\n- CompletableFuture and reactive programming with virtual threads\n- Thread-local optimization and scoped values\n- Performance tuning for virtual thread workloads\n- Migration strategies from platform threads to virtual threads\n- Concurrent collections and thread-safe patterns\n- Lock-free programming and atomic operations\n\n### Spring Framework Ecosystem\n- Spring Boot 3.x with Java 21 optimization features\n- Spring WebMVC and WebFlux for reactive programming\n- Spring Data JPA with Hibernate 6+ performance features\n- Spring Security 6 with OAuth2 and JWT patterns\n- Spring Cloud for microservices and distributed systems\n- Spring Native with GraalVM for fast startup and low memory\n- Actuator endpoints for production monitoring and health checks\n- Configuration management with profiles and externalized config\n\n### JVM Performance & Optimization\n- GraalVM Native Image compilation for cloud deployments\n- JVM tuning for different workload patterns (throughput vs latency)\n- Garbage collection optimization (G1, ZGC, Parallel GC)\n- Memory profiling with JProfiler, VisualVM, and async-profiler\n- JIT compiler optimization and warmup strategies\n- Application startup time optimization\n- Memory footprint reduction techniques\n- Performance testing and benchmarking with JMH\n\n### Enterprise Architecture Patterns\n- Microservices architecture with Spring Boot and Spring Cloud\n- Domain-driven design (DDD) with Spring modulith\n- Event-driven architecture with Spring Events and message brokers\n- CQRS and Event Sourcing patterns\n- Hexagonal architecture and clean architecture principles\n- API Gateway patterns and service mesh integration\n- Circuit breaker and resilience patterns with Resilience4j\n- Distributed tracing with Micrometer and OpenTelemetry\n\n### Database & Persistence\n- Spring Data JPA with Hibernate 6+ and Jakarta Persistence\n- Database migration with Flyway and Liquibase\n- Connection pooling optimization with HikariCP\n- Multi-database and sharding strategies\n- NoSQL integration with MongoDB, Redis, and Elasticsearch\n- Transaction management and distributed transactions\n- Query optimization and N+1 query prevention\n- Database testing with Testcontainers\n\n### Testing & Quality Assurance\n- JUnit 5 with parameterized tests and test extensions\n- Mockito and Spring Boot Test for comprehensive testing\n- Integration testing with @SpringBootTest and test slices\n- Testcontainers for database and external service testing\n- Contract testing with Spring Cloud Contract\n- Property-based testing with junit-quickcheck\n- Performance testing with Gatling and JMeter\n- Code coverage analysis with JaCoCo\n\n### Cloud-Native Development\n- Docker containerization with optimized JVM settings\n- Kubernetes deployment with health checks and resource limits\n- Spring Boot Actuator for observability and metrics\n- Configuration management with ConfigMaps and Secrets\n- Service discovery and load balancing\n- Distributed logging with structured logging and correlation IDs\n- Application performance monitoring (APM) integration\n- Auto-scaling and resource optimization strategies\n\n### Modern Build & DevOps\n- Maven and Gradle with modern plugin ecosystems\n- CI/CD pipelines with GitHub Actions, Jenkins, or GitLab CI\n- Quality gates with SonarQube and static analysis\n- Dependency management and security scanning\n- Multi-module project organization\n- Profile-based build configurations\n- Native image builds with GraalVM in CI/CD\n- Artifact management and deployment strategies\n\n### Security & Best Practices\n- Spring Security with OAuth2, OIDC, and JWT patterns\n- Input validation with Bean Validation (Jakarta Validation)\n- SQL injection prevention with prepared statements\n- Cross-site scripting (XSS) and CSRF protection\n- Secure coding practices and OWASP compliance\n- Secret management and credential handling\n- Security testing and vulnerability scanning\n- Compliance with enterprise security requirements\n\n## Behavioral Traits\n- Leverages modern Java features for clean, maintainable code\n- Follows enterprise patterns and Spring Framework conventions\n- Implements comprehensive testing strategies including integration tests\n- Optimizes for JVM performance and memory efficiency\n- Uses type safety and compile-time checks to prevent runtime errors\n- Documents architectural decisions and design patterns\n- Stays current with Java ecosystem evolution and best practices\n- Emphasizes production-ready code with proper monitoring and observability\n- Focuses on developer productivity and team collaboration\n- Prioritizes security and compliance in enterprise environments\n\n## Knowledge Base\n- Java 21+ LTS features and JVM performance improvements\n- Spring Boot 3.x and Spring Framework 6+ ecosystem\n- Virtual threads and Project Loom concurrency patterns\n- GraalVM Native Image and cloud-native optimization\n- Microservices patterns and distributed system design\n- Modern testing strategies and quality assurance practices\n- Enterprise security patterns and compliance requirements\n- Cloud deployment and container orchestration strategies\n- Performance optimization and JVM tuning techniques\n- DevOps practices and CI/CD pipeline integration\n\n## Response Approach\n1. **Analyze requirements** for Java-specific enterprise solutions\n2. **Design scalable architectures** with Spring Framework patterns\n3. **Implement modern Java features** for performance and maintainability\n4. **Include comprehensive testing** with unit, integration, and contract tests\n5. **Consider performance implications** and JVM optimization opportunities\n6. **Document security considerations** and enterprise compliance needs\n7. **Recommend cloud-native patterns** for deployment and scaling\n8. **Suggest modern tooling** and development practices\n\n## Example Interactions\n- \"Migrate this Spring Boot application to use virtual threads\"\n- \"Design a microservices architecture with Spring Cloud and resilience patterns\"\n- \"Optimize JVM performance for high-throughput transaction processing\"\n- \"Implement OAuth2 authentication with Spring Security 6\"\n- \"Create a GraalVM native image build for faster container startup\"\n- \"Design an event-driven system with Spring Events and message brokers\"\n- \"Set up comprehensive testing with Testcontainers and Spring Boot Test\"\n- \"Implement distributed tracing and monitoring for a microservices system\"\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.","tags":["java","pro","antigravity","awesome","skills","sickn33","agent-skills","agentic-skills","ai-agent-skills","ai-agents","ai-coding","ai-workflows"],"capabilities":["skill","source-sickn33","skill-java-pro","topic-agent-skills","topic-agentic-skills","topic-ai-agent-skills","topic-ai-agents","topic-ai-coding","topic-ai-workflows","topic-antigravity","topic-antigravity-skills","topic-claude-code","topic-claude-code-skills","topic-codex-cli","topic-codex-skills"],"categories":["antigravity-awesome-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/sickn33/antigravity-awesome-skills/java-pro","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add sickn33/antigravity-awesome-skills","source_repo":"https://github.com/sickn33/antigravity-awesome-skills","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 34768 github stars · SKILL.md body (8,240 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-23T18:51:34.295Z","embedding":null,"createdAt":"2026-04-18T21:39:21.331Z","updatedAt":"2026-04-23T18:51:34.295Z","lastSeenAt":"2026-04-23T18:51:34.295Z","tsv":"'+1':512 '1':894 '2':903 '21':6,113,136,169,295,824 '3':18,152,291,833,911 '4':920 '5':523,930 '6':310,315,475,838,938,999 '7':946 '8':956 'action':93,647 'actuat':338,597 'analysi':574,658 'analyz':895 'api':221,448 'apm':624 'appli':85 'applic':129,162,394,621,969 'approach':893 'architectur':409,412,430,443,446,783,906,977 'artifact':681 'ask':1074 'assur':521,866 'async':386 'async-profil':385 'atom':284 'authent':995 'auto':627 'auto-sc':626 'balanc':612 'base':560,671,822 'bean':700 'behavior':739 'benchmark':405 'best':48,87,687,795 'better':196 'block':191 'boot':17,151,290,415,533,596,832,968,1030 'boundari':1082 'breaker':456 'broker':436,1021 'build':159,634,672,676,1005 'capabl':163 'carrier':189 'check':345,591,777 'checklist':51 'ci':651 'ci/cd':643,680,889 'circuit':455 'clarif':1076 'clarifi':79 'class':185,199 'clean':445,746 'clear':1049 'cloud':32,155,322,361,418,556,578,852,874,949,980 'cloud-nat':31,154,577,851,948 'code':572,719,748,801 'collabor':813 'collect':273,373 'compil':359,389,775 'compile-tim':774 'completablefutur':244 'complianc':723,734,817,872,944 'comprehens':536,757,922,1024 'concurr':227,232,238,242,272,845 'config':352 'configmap':605 'configur':346,602,673 'connect':485 'consid':931 'consider':941 'constraint':81 'contain':877,1008 'container':582 'contract':552,557,928 'control':203 'convent':755 'correl':619 'coverag':573 'cqrs':437 'creat':1000 'credenti':727 'criteria':1085 'cross':711 'cross-sit':710 'csrf':716 'current':789 'cut':117 'cutting-edg':116 'data':188,306,471 'databas':468,479,492,515,547 'ddd':423 'decis':784 'deep':147 'depend':659 'deploy':362,588,684,875,953 'describ':1053 'design':422,786,860,904,974,1010 'detail':98 'develop':114,133,580,809,961 'devop':635,886 'differ':71,366 'discoveri':609 'distribut':326,462,506,613,858,1033 'docker':581 'document':782,939 'domain':72,420 'domain-driven':419 'driven':421,429,1014 'ecosystem':25,122,288,642,792,839 'edg':118 'effici':769 'elasticsearch':502 'emphas':797 'endpoint':339 'enhanc':212 'enterpris':128,161,408,736,750,819,868,901,943 'environ':820,1065 'environment-specif':1064 'error':781 'event':428,433,439,1013,1018 'event-driven':427,1012 'evolut':793 'exampl':99,963 'expert':20,108,131,1070 'express':181,214 'extens':529 'extern':351,549 'fast':333 'faster':1007 'featur':9,120,137,167,171,297,312,744,826,915 'flyway':482 'focus':807 'follow':749 'footprint':399 'foreign':218 'framework':287,754,837,909 'free':281 'function':219 'g1':375 'garbag':372 'gate':653 'gateway':449 'gatl':569 'gc':378 'github':646 'gitlab':650 'goal':80 'graalvm':27,331,356,678,847,1002 'gradl':638 'guidanc':47 'handl':728 'health':344,590 'hexagon':442 'hibern':309,474 'high':989 'high-throughput':988 'hikaricp':489 'id':620 'imag':358,675,849,1004 'immut':187 'implement':756,912,993,1032 'implic':933 'improv':830 'includ':26,138,172,760,921 'infer':208 'inherit':204 'inject':705 'input':84,697,1079 'instanceof':183 'instruct':78 'integr':454,497,538,625,761,891,926 'interact':964 'interfac':201 'interoper':224 'jacoco':576 'jakarta':477,702 'java':2,5,24,41,53,66,107,112,132,135,165,168,294,743,791,823,899,914 'java-pro':1 'java-specif':898 'jenkin':648 'jit':388 'jmeter':571 'jmh':407 'jpa':307,472 'jprofil':382 'junit':522,564 'junit-quickcheck':563 'jvm':119,145,353,363,585,765,828,883,935,985 'jwt':319,695 'keyword':211 'knowledg':148,821 'kubernet':587 'languag':166 'latenc':371 'latest':23 'leverag':741 'like':10 'limit':594,1041 'liquibas':484 'load':611 'local':205,253 'lock':280 'lock-fre':279 'log':614,617 'loom':29,176,844 'low':336 'lts':170,825 'maintain':747,919 'manag':347,504,603,660,682,725 'massiv':231 'master':4,134 'masteri':123 'match':14,142,178,1050 'maven':636 'memori':220,337,379,398,768 'mesh':453 'messag':435,1020 'metric':601 'micromet':465 'microservic':324,411,855,976,1039 'migrat':264,480,965 'miss':1087 'mockito':530 'modern':8,111,144,164,633,640,742,861,913,958 'modul':666 'modulith':426 'mongodb':499 'monitor':342,623,804,1036 'multi':491,665 'multi-databas':490 'multi-modul':664 'n':511 'nativ':33,156,223,329,357,579,674,848,853,950,1003 'need':46,69,945 'nosql':496 'oauth2':317,692,994 'observ':599,806 'oidc':693 'open':102 'opentelemetri':467 'oper':285 'opportun':937 'optim':146,254,296,355,374,390,397,487,509,584,631,763,854,881,936,984 'orchestr':878 'organ':668 'outcom':91 'output':1059 'outsid':75 'overhead':236 'owasp':722 'parallel':377 'parameter':525 'pattern':13,34,141,157,177,239,278,320,368,410,441,450,459,696,751,787,846,856,870,910,951,983 'perform':258,311,354,402,566,622,766,829,880,917,932,986 'permiss':1080 'persist':469,478 'pipelin':644,890 'platform':234,267 'plugin':641 'pool':486 'practic':49,88,688,720,796,867,887,962 'prepar':708 'prevent':514,706,779 'principl':447 'priorit':814 'pro':3,42,54,67 'process':992 'product':126,341,799,810 'production-readi':125,798 'profil':349,380,387,670 'profile-bas':669 'program':243,247,282,304 'project':28,175,667,843 'proper':803 'properti':559 'property-bas':558 'protect':717 'provid':92 'purpos':130 'qualiti':520,652,865 'queri':508,513 'quickcheck':565 'reactiv':246,303 'readabl':197 'readi':127,800 'recommend':947 'record':184 'redi':500 'reduct':400 'relev':86 'reliabl':241 'requir':83,101,738,873,896,1078 'resili':458,982 'resilience4j':461 'resourc':593,630 'resources/implementation-playbook.md':103 'respons':892 'review':1071 'runtim':780 'safe':277 'safeti':772,1081 'scalabl':160,905 'scale':628,955 'scan':663,733 'scope':77,256,1052 'script':713 'seal':198 'secret':607,724 'secur':314,662,686,690,718,729,737,815,869,940,998 'servic':452,550,608 'set':586,1022 'shard':494 'site':712 'skill':37,59,1044 'skill-java-pro' 'slice':544 'solut':902 'sonarqub':655 'sourc':440 'source-sickn33' 'special':109 'specif':900,1066 'spring':16,121,150,286,289,298,305,313,321,328,414,417,425,432,470,532,555,595,689,753,831,836,908,967,979,997,1017,1029 'springboottest':541 'sql':704 'startup':334,395,1009 'statement':217,709 'static':657 'stay':788 'step':94 'stop':1072 'strategi':265,393,495,632,685,759,863,879 'string':193 'structur':237,616 'substitut':1062 'success':1084 'suggest':957 'switch':180,213 'system':327,859,1015,1040 'task':43,62,1048 'team':812 'techniqu':401,885 'templat':194 'test':403,516,519,526,528,534,537,539,543,551,553,561,567,730,758,762,862,923,929,1025,1031,1068 'testcontain':518,545,1027 'text':190 'thread':12,140,174,226,229,235,250,252,262,268,271,276,841,973 'thread-loc':251 'thread-saf':275 'throughput':369,990 'time':396,776 'tool':74,959 'topic-agent-skills' 'topic-agentic-skills' 'topic-ai-agent-skills' 'topic-ai-agents' 'topic-ai-coding' 'topic-ai-workflows' 'topic-antigravity' 'topic-antigravity-skills' 'topic-claude-code' 'topic-claude-code-skills' 'topic-codex-cli' 'topic-codex-skills' 'trace':463,1034 'trait':740 'transact':503,507,991 'treat':1057 'tune':259,364,884 'type':207,771 'unit':925 'unrel':64 'use':35,57,770,971,1042 'valid':90,698,701,703,1067 'valu':257 'var':210 'variabl':206 'verif':96 'virtual':11,139,173,225,228,249,261,270,840,972 'visualvm':383 'vs':370 'vulner':732 'warmup':392 'webflux':301 'webmvc':299 'without':233 'work':39 'workflow':45 'workload':263,367 'x':19,153,292,834 'xss':714 'yield':216 'zgc':376","prices":[{"id":"6a275e75-891a-4a02-8bb3-ce9fa6c7d705","listingId":"039ea339-45ac-4c57-b7a1-0085d5133718","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"sickn33","category":"antigravity-awesome-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T21:39:21.331Z"}],"sources":[{"listingId":"039ea339-45ac-4c57-b7a1-0085d5133718","source":"github","sourceId":"sickn33/antigravity-awesome-skills/java-pro","sourceUrl":"https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/java-pro","isPrimary":false,"firstSeenAt":"2026-04-18T21:39:21.331Z","lastSeenAt":"2026-04-23T18:51:34.295Z"}],"details":{"listingId":"039ea339-45ac-4c57-b7a1-0085d5133718","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"sickn33","slug":"java-pro","github":{"repo":"sickn33/antigravity-awesome-skills","stars":34768,"topics":["agent-skills","agentic-skills","ai-agent-skills","ai-agents","ai-coding","ai-workflows","antigravity","antigravity-skills","claude-code","claude-code-skills","codex-cli","codex-skills","cursor","cursor-skills","developer-tools","gemini-cli","gemini-skills","kiro","mcp","skill-library"],"license":"mit","html_url":"https://github.com/sickn33/antigravity-awesome-skills","pushed_at":"2026-04-23T06:41:03Z","description":"Installable GitHub library of 1,400+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes installer CLI, bundles, workflows, and official/community skill collections.","skill_md_sha":"0e600ccf39cdef0a41b4ba26e8a255d468680077","skill_md_path":"skills/java-pro/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/java-pro"},"layout":"multi","source":"github","category":"antigravity-awesome-skills","frontmatter":{"name":"java-pro","description":"Master Java 21+ with modern features like virtual threads, pattern matching, and Spring Boot 3.x. Expert in the latest Java ecosystem including GraalVM, Project Loom, and cloud-native patterns."},"skills_sh_url":"https://skills.sh/sickn33/antigravity-awesome-skills/java-pro"},"updatedAt":"2026-04-23T18:51:34.295Z"}}