github.com/jabrena/cursor-rules-java
| Skill | Added | Review |
|---|---|---|
051-design-two-steps-methods skills/051-design-two-steps-methods/SKILL.md Use when a complex or risky code change should be split into Kent Beck's two-step method by first making the change easy through behavior-preserving preparatory refactoring, then making the intended behavior change once the design supports it. This should trigger for requests such as Apply two-step change; Make this risky change safer; Refactor before changing behavior; Separate preparation from behavior change. Part of Plinth Toolkit | 69 69 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
052-design-hamburger-method skills/052-design-hamburger-method/SKILL.md Use when a large feature, story, plan, or spec idea needs to be split into small vertical slices with the Hamburger Method. This should trigger for requests such as Split this oversized story; Find the smallest useful slice; Break this feature into vertical slices; Apply the Hamburger Method; Turn this broad plan into tracked slices. Part of Plinth Toolkit | 66 66 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
053-design-simple-rules skills/053-design-simple-rules/SKILL.md Use when Java design, refactoring, or implementation tradeoffs should be evaluated with Kent Beck's simple design rules, including passes the tests, reveals intention, has no duplication, and has the fewest elements. This should trigger for requests such as Apply simple design rules; Review this design with Beck's rules; Choose between these refactoring options; Keep this Java design simple. Part of Plinth Toolkit | 65 65 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
054-design-tdd skills/054-design-tdd/SKILL.md Use when Java implementation work should be guided by Test-Driven Development, including maintaining a test list, choosing the next behavior, writing a failing test first, implementing only enough production code to pass, and refactoring while keeping tests green. This should trigger for requests such as Apply TDD; Use test-driven development; Drive this Java change with tests; Write the failing test first; Red-green-refactor this feature. Part of Plinth Toolkit | 67 67 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
055-design-parallel-change skills/055-design-parallel-change/SKILL.md Use when a database schema or data-meaning change needs Parallel Change, including expand, migrate, and contract sequencing for column renames, type or data reinterpretation, large-table backfills, relationship-table changes, enum/status transitions, timezone/default changes, and index or uniqueness changes. This should trigger before framework-specific Flyway implementation guidance when deciding whether a migration needs a compatibility window or whether a simpler migration is sufficient. Part of Plinth Toolkit | 66 66 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
056-design-avoid-breaking-changes skills/056-design-avoid-breaking-changes/SKILL.md Use when you need to review a plan, OpenSpec change, specification, or implementation proposal for breaking-change risk across commands, skills, generated outputs, XML sources, README/docs, tests, CI, APIs, schemas, configuration, data, migration, and release guidance. This should trigger for requests such as Review breaking changes in this spec; Check compatibility risks; Avoid breaking changes in this OpenSpec change; Review migration impact before release; Assess command and skill compatibility. Part of Plinth Toolkit | 67 67 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
057-design-feature-toggles skills/057-design-feature-toggles/SKILL.md Use when designing, implementing, reviewing, testing, or cleaning up feature toggles, feature flags, kill switches, runtime configuration gates, canary controls, staged rollouts, experiments, or temporary compatibility switches in Java enterprise systems. This should trigger for requests such as Design a feature toggle strategy; Review this feature flag; Add a kill switch safely; Test toggle on and off paths; Clean up an expired feature toggle; Plan controlled rollout and rollback behavior. Part of Plinth Toolkit | 69 69 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
058-design-bdd skills/058-design-bdd/SKILL.md Use when a Java change needs independent Behavior-Driven Development guidance from trusted behavior facts through concrete examples and observable scenarios, with focused clarification when behavior is pending or ambiguous. This should trigger for requests such as Apply BDD; Facilitate behavior examples; Discover scenarios with Given When Then; Review these examples for shared domain language; Complete BDD discovery as a self-contained interaction. Part of Plinth Toolkit | 62 62 Impact — No eval scenarios have been run Securityby Low Low-risk findings worth noting Version: 86b41dc | |
059-design-atdd skills/059-design-atdd/SKILL.md Use when reviewing whether an OpenSpec change's execution goal, acceptance criteria, and implementation or verification tasks are aligned. This should trigger for requests such as Review this OpenSpec change with ATDD; Check acceptance criteria against tasks; Find acceptance criteria without task coverage; Detect tasks that diverge from the execution goal; Explain what is missing, vague, ambiguous, partial, absent, or divergent in this OpenSpec change. Part of Plinth Toolkit | 64 64 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
110-java-maven-best-practices skills/110-java-maven-best-practices/SKILL.md Use when you need to review, improve, or troubleshoot a Maven pom.xml file — including dependency management with BOMs, plugin configuration, version centralization, multi-module project structure, build profiles, or any situation where you want to align your Maven setup with industry best practices. This should trigger for requests such as Review pom.xml to improve it; Apply Maven best practices to pom.xml; Improve Maven POM configuration; Review Maven dependency management and plugin configuration; Modernize Maven build conventions for a Java project. Part of Plinth Toolkit | 65 65 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
111-java-maven-dependencies skills/111-java-maven-dependencies/SKILL.md Use when you need to add or evaluate Maven dependencies that improve code quality or domain modeling — including nullness annotations (JSpecify), static analysis (Error Prone + NullAway), functional programming (VAVR), architecture testing (ArchUnit), or money and currency support (JavaMoney) — and want a consultative, question-driven approach that adds only what you actually need. This should trigger for requests such as Add Maven dependencies; Add JSpecify nullness dependencies; Add Error Prone NullAway dependencies; Add VAVR functional dependencies; Add ArchUnit architecture testing dependencies; Add JavaMoney dependencies. Part of Plinth Toolkit | 64 64 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
112-java-maven-plugins skills/112-java-maven-plugins/SKILL.md Use when you need to add or configure Maven plugins in your pom.xml — including quality tools (enforcer, surefire, failsafe, jacoco, pitest, spotbugs, pmd), security scanning (OWASP), code formatting (Spotless), version management, container image build (Jib), build information tracking, and benchmarking (JMH) — through a consultative, modular step-by-step approach that only adds what you actually need. This should trigger for requests such as Add Maven plugins in pom.xml; Improve Maven plugins in pom.xml; Configure Maven quality plugins in pom.xml; Add Maven build lifecycle plugins for Java verification; Review Maven plugin versions and executions. Part of Plinth Toolkit | 68 68 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
113-java-maven-documentation skills/113-java-maven-documentation/SKILL.md Use when you need to create a DEVELOPER.md file for a Maven project — combining a fixed base template with dynamic sections derived from allowlisted Maven POM structure, including a Plugin Goals Reference, Maven Profiles table, and Submodules table for multi-module projects. This should trigger for requests such as Create DEVELOPER.md; Generate DEVELOPER.md; Maven project documentation; Add Maven documentation; Plugin goals reference. Part of Plinth Toolkit | 66 66 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
114-java-maven-search skills/114-java-maven-search/SKILL.md Routes Maven version questions to the right workflow by choosing project-local update report interpretation for a user’s own pom.xml, or Maven artifact discovery from maintainer-approved structured evidence. Use when interpreting dependency, plugin, or property update reports; finding Maven coordinates; verifying groupId artifactId version; browsing versions from approved evidence; or constructing artifact URLs without fetching remote content. Part of Plinth Toolkit | 68 68 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
121-java-object-oriented-design skills/121-java-object-oriented-design/SKILL.md Use when reviewing, improving, or refactoring Java object-oriented design, including applying SOLID, DRY, or YAGNI; improving classes and interfaces; correcting encapsulation, inheritance, or polymorphism; resolving God Class, Feature Envy, or Data Clumps; and improving object creation, methods, or exception contracts. Triggers include review Java OOD, refactor Java OOD, improve Java OOD, fix OOP misuse, and identify Java code smells. Part of Plinth Toolkit | 68 68 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
122-java-type-design skills/122-java-type-design/SKILL.md Use when you need to review, improve, or refactor Java code for type design quality — including establishing clear type hierarchies, applying consistent naming conventions, eliminating primitive obsession with domain-specific value objects, leveraging generic type parameters, creating type-safe wrappers, designing fluent interfaces, ensuring precision-appropriate numeric types (BigDecimal for financial calculations), and improving type contrast through interfaces and method signature alignment. This should trigger for requests such as Review Java code for type design; Improve type design in Java code; Fix primitive obsession in Java code; Create value objects in Java code. Part of Plinth Toolkit | 68 68 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
123-java-design-patterns skills/123-java-design-patterns/SKILL.md Use when you need to select, review, or implement Java design and integration patterns — including classic Java design patterns, REST API patterns, Kafka and event-driven patterns, database and persistence patterns, and cross-cutting integration patterns. This should trigger for requests such as Apply Java design patterns; Review REST API patterns; Design Kafka event-driven patterns; Improve database persistence patterns; Add resilient integration patterns. Part of Plinth Toolkit | 67 67 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
124-java-secure-coding skills/124-java-secure-coding/SKILL.md Use when you need to apply Java secure coding best practices — including validating untrusted inputs, defending against injection attacks with parameterized queries, minimizing attack surface via least privilege, applying strong cryptographic algorithms, handling exceptions securely without exposing sensitive data, managing secrets at runtime, avoiding unsafe deserialization, and encoding output to prevent XSS. This should trigger for requests such as Review Java code for secure coding; Find input validation risks in Java code; Review Java code for injection vulnerabilities; Improve secure error handling in Java services; Harden Java code against common security flaws. Part of Plinth Toolkit | 65 65 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
125-java-concurrency skills/125-java-concurrency/SKILL.md Use when you need to apply Java concurrency best practices — including thread safety fundamentals, ExecutorService thread pool management, concurrent design patterns like Producer-Consumer, asynchronous programming with CompletableFuture, immutability and safe publication, deadlock avoidance, virtual threads, structured concurrency, scoped values, backpressure, cancellation discipline, and observability for concurrent systems. This should trigger for requests such as Review Java code for concurrency; Review Java code for thread safety; Fix race conditions in Java concurrency code; Choose ExecutorService or virtual threads in Java; Improve synchronization and shared mutable state handling; Apply structured concurrency for related Java subtasks. Part of Plinth Toolkit | 71 71 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc | |
126-java-exception-handling skills/126-java-exception-handling/SKILL.md Use when you need to apply Java exception handling best practices — including using specific exception types, managing resources with try-with-resources, securing exception messages, preserving error context via exception chaining, validating inputs early with fail-fast principles, handling thread interruption correctly, documenting exceptions with @throws, enforcing logging policy, translating exceptions at API boundaries, managing retries and idempotency, enforcing timeouts, attaching suppressed exceptions, and propagating failures in async/reactive code. This should trigger for requests such as Exception handling; Use try-with-resources in Java code; Create exception chaining in Java code; Apply fail-fast validation in Java code; Review Java exception taxonomy and propagation. Part of Plinth Toolkit | 68 68 Impact — No eval scenarios have been run Securityby Passed No findings from the security scan Version: 86b41dc |