Cursor · PluginsLenguajes
Java
Java 21: records, sealed types and streams.
by Prompt Studio
java
License: MITView original
Contents
Where it goes: .cursor/rules/java.mdc
---
description: Convenciones y buenas prácticas de Java
globs: **/*.java
alwaysApply: false
---
# Java
- Usa `record` para datos inmutables y `sealed` para jerarquías cerradas
- Recursos siempre con try-with-resources
- `Optional` solo como retorno, nunca en campos o parámetros
- Pattern matching en `switch` y `instanceof`
More in Plugins
Next.js
App Router, Server Components, Server Actions and caching.
Python
Typing, package layout and tests with pytest.
React + TypeScript
Function components, hooks and strict typing.
Expo / React Native
Expo Router, styling and mobile performance.
Go
HTTP APIs, error handling and context.
Tailwind + shadcn/ui
Utility classes, design tokens and accessible components.