{"enrichment":{"faq":[{"a":"java-rules enforces coding standards across style conventions, framework usage, design patterns, and security practices. The skill prioritizes applying Java coding standards, style, and framework best practices (35% weight), covering naming conventions, code formatting with Checkstyle and Spotless, exception handling patterns, stream API best practices, and dependency injection with Spring beans. Use java-rules when writing or reviewing Java code to maintain consistency.","q":"What java coding standards and best practices does java-rules cover?"},{"a":"java-rules addresses security risks through guidelines on injection prevention, authentication, authorization, and serialization safety (25% weight). It covers SQL injection prevention, XSS and CSRF protection with Spring Security, secrets management with Vault, and secure deserialization practices. Apply these security guidelines when implementing authentication, handling user input, or managing sensitive data in Java applications.","q":"How does java-rules help secure Java applications?"},{"a":"java-rules emphasizes effective unit and integration testing with JUnit 5 and Mockito (20% weight). The skill covers JUnit 5 framework setup, Mockito mocking patterns, AssertJ assertions, and TestContainers for integration testing. Use these testing approaches to ensure robust test coverage and maintainable test suites in your Java projects.","q":"What testing frameworks and approaches does java-rules recommend?"},{"a":"java-rules implements modern Java 17+ patterns including records, sealed classes, and pattern matching (15% weight). It also covers immutability best practices, Optional usage, and virtual threads for concurrency. Apply these patterns to write cleaner, more expressive Java code that leverages the latest language capabilities.","q":"Which modern java 17+ features and patterns are covered?"},{"a":"java-rules includes optimization guidance for Spring Data JPA and Hibernate queries and associations (5% weight). The skill provides tips for efficient query writing, proper association configuration, and performance tuning. Reference these guidelines when working with database layers to ensure optimal data access patterns.","q":"Does java-rules address Spring Data JPA and Hibernate optimization?"},{"a":"java-rules covers configuration for both Gradle and Maven build tools. It provides best practices for dependency management, build optimization, and tool-specific conventions. Use these guidelines when setting up or maintaining your Java project's build infrastructure.","q":"What build tools and configuration does java-rules support?"}],"shadow_tags":["enterprise-java","framework-patterns","secure-coding","test-automation","code-quality","async-concurrency","orm-persistence","api-design"],"summary_rewrite":"Java Rules enforces coding standards across style conventions, framework usage, design patterns, and security practices. It covers Spring Boot, Spring Data JPA, Hibernate, build tools, and modern Java features like records and pattern matching. Apply these rules when writing or reviewing Java code to maintain consistency and best practices."},"files":[{"bytes":12562,"path":"app/skills/java-rules/SKILL.md","sha256":"02fb15f89242dd68c4681b021b5ac545f481afee66a9da086e7f688f61655c06","url":"https://skillfed.io/files/softspark/ai-toolkit/java-rules/b2d13e2a/SKILL.md"}],"id":"softspark/ai-toolkit/java-rules","links":{"html":"https://skillfed.io/softspark/ai-toolkit/java-rules","md":"https://skillfed.io/softspark/ai-toolkit/java-rules.md","repo":"https://github.com/softspark/ai-toolkit"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":21,"language":"Python","last_updated":"2026-07-27","license":"Apache-2.0","name":"java-rules","publisher":"softspark","stars":161},"relations":{"similar":[{"id":"Jeffallan/claude-skills/java-architect"},{"id":"bobmatnyc/claude-mpm-skills/spring-boot"},{"id":"decebals/claude-code-java/security-audit"},{"id":"affaan-m/ECC/java-coding-standards"},{"id":"Mindrally/skills/java"},{"id":"Mindrally/skills/graalvm"},{"id":"manutej/luxor-claude-marketplace/spring-boot-development"},{"id":"xu-xiang/everything-claude-code-zh/jpa-patterns"},{"id":"giuseppe-trisciuoglio/developer-kit/spring-boot-project-creator"},{"id":"doccker/cc-use-exp/cc-java-dev"}]},"slug":{"owner":"softspark","repo":"ai-toolkit","skill":"java-rules"},"version":"b2d13e2a"}
