Commands, Agents & Skills for Java

June 13, 2026 · View on GitHub

jabrena%2Fcursor-rules-java | Trendshift

Stargazers over time

CI Builds

Languages: Español · 中文

Website: https://jabrena.github.io/cursor-rules-java/

Support the project: Sponsor to pay tokens

Deprecation notice: Current System prompts/rules are deprecated and will be removed in v0.16.0. If you still use them, review the release 0.14.0 article.

Goal

An opinionated AI-native workflow for evolving modern Java Enterprise SDLC practices through reusable Skills, Agents, Commands & MCP servers.

It helps you answer the Five whys when your team needs to evolve a Java-based product or service:

QUESTIONROLEAREASUPPORT
WHAT / WHENPO, BA, EA, SA, TLAgile & PlanningUser Stories, GitHub Issues & Jira
WHYEA, SL, TLArchitectureADRs & UML / C4 / ER Diagrams
HOWSA, TL, SWESpec-DrivenAI Plan mode & OpenSpec
HOWTL, SWEJava developmentBuild system based on Maven, Design, Coding, Testing, Observability, Refactoring & JMH Benchmarking, Performance testing with JMeter, Profiling with Async profiler/OpenJDK tools, Documentation, Spring Boot, Quarkus, Micronaut, OpenAPI, WireMock & AGENTS.md

Once the idea is clear, you can implement it in a structured way:

Analysis / DesignImplementationOperation
Commands/create-issue · /update-issue · /explore-design · /create-adr · /create-diagram · /create-plan · /create-spec · /review-alignment/create-feature-branch · /create-worktree · /implement-issue · /kill-port/profile · /benchmark
Agents@robot-business-analyst · @robot-architect · @robot-tech-lead@robot-tech-lead · @robot-java-coder · @robot-java-spring-boot-coder · @robot-java-quarkus-coder · @robot-java-micronaut-coder@robot-java-performance
Skills014-agile-user-story · 030-architecture-adr-general · 033-architecture-diagrams · 041-planning-plan-mode · 200-agents-md ...110-java-maven-best-practices · 121-java-object-oriented-design · 124-java-secure-coding · 111-java-maven-dependencies · 143-java-functional-exception-handling ...151-java-performance-jmeter · 162-java-profiling-analyze · 161-java-profiling-detect · 163-java-profiling-refactor · 164-java-profiling-verify ...
MCP ServersJbang-Quarkus-JDBC · MongoDB · Serena-LSPJbang-Quarkus-JDBC · MongoDB · JavaDocs · Serena-LSPJbang-Quarkus-JDBC · MongoDB · Serena-LSP · Graphana

Deliverables

The project generates a set of deliverables at the end of any iteration.

InventoryInstallationGetting Started
1. Commands@004-commands-installation Install Commands in projectCommands
2. Agents@005-agents-installation Install Agents in Cursor/ClaudeAgents
3. Skillsnpx skills add jabrena/cursor-rules-java --all --agent cursorSkills

Compatibility

This project is compatible with any tool that supports Commands, Agents, Skills, MCP Servers and AGENTS.md.

Getting Started in 5 minutes

Learn to use this project following the quick guide Getting Started in 5 minutes.

Skill Validations

Every push runs the following validation checks in CI Builds to keep documentation and generated skills correct, consistent, and secure:

NamePurpose
1. MarkdownValidatorProtects the documentation layer by catching Markdown parsing drift and remote link failures before skill-specific checks run.
2. skill-checkConfirms every generated skill follows the expected packaging contract, complementing scanners that focus on behavior or security risk.
3. cisco-ai-skill-scanner by CiscoAdds behavior-oriented security coverage by looking for risky skill flows that structural validation cannot see.
4. SkillSpector by NVIDIAProvides an independent static quality and security review, useful for comparing findings against the other scanners.
5. Snyk Agent Scan by SNYKFocuses on agent-skill supply-chain and prompt-risk signals, adding another security perspective alongside Cisco and SkillSpector.

Limitations

Lack of determinism

From the outset, be aware that results from interactions with these Skills and agents are not deterministic because of how the models behave, but you can mitigate that with clear goals and validation checkpoints.

Not all models behave in the same way

Some interactive skills require Premium models for interactive use; otherwise they follow a fixed sequence of steps.

Limits of interactions with models

Models can generate code, but they cannot execute it against your local data. To bridge that gap, some Skills include scripts you run locally.

Software engineers must remain in the loop

This project supports software engineering work; it does not replace engineering judgment. A software engineer must review, guide, and validate AI-generated decisions, code, and outcomes before they are used.

Access to corporate data

Use caution when a problem involves corporate databases or other sensitive organizational data. Before granting an AI-assisted workflow access, assess authorization, privacy, data leakage, retention, and unintended modification risks. Apply least-privilege access, human review, validation, and monitoring. See OWASP GenAI Data Security Risks & Mitigations 2026 and the The EU Artificial Intelligence Act.

Contribute

See CONTRIBUTING.md for conventions, generator workflows, tests, and how to open a pull request.

Architecture Decision Records (ADR)

  • Review the ADR index for the complete list.

Changelog

Java JEPs from Java 8 onward

Java uses JEPs (JDK Enhancement Proposals) to describe new language and platform features. This repository tracks which JEPs could improve the Skills and guidance here.

Further resources

Talks, articles, reference links, skill portals, and related projects live in Project references.

Developed by humans with support from Cursor and Codex, with ❤️ from Madrid