paulpham157

200 mods across 1 repository, 27 stars between them.

dto-conventions

173

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Sets standards for Data Transfer Objects (DTOs), typically records, including parameter validation in compact canonical constructors. globs: /src/main/java/com/example/dtos/.java.

not rated 27 1y ago A 0 tokens original MIT

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Sets the standards for entity class design including annotations, ID generation strategies, and relationship configurations for database interaction. globs: /src/main/java/com/example/entities/.java.

not rated 27 1y ago A 0 tokens original MIT

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Applies general coding standards and best practices for Java development, focusing on SOLID, DRY, KISS, and YAGNI principles, along with OWASP security guidelines. globs: /.java.

not rated 27 1y ago A 0 tokens original MIT

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Governs the structure and functionality of repository classes, emphasizing the use of JpaRepository, JPQL queries, and EntityGraphs to prevent N+1 problems. globs: /src/main/java/com/example/repositories/.java.

not rated 27 1y ago A 0 tokens original MIT

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Specifies standards for RestController classes, including API route mappings, HTTP method annotations, dependency injection, and error handling with ApiResponse and GlobalExceptionHandler. globs: /src/main/java/com/example/controllers/.java.

not rated 27 1y ago A 0 tokens original MIT

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Defines the structure and implementation of service classes, enforcing the use of interfaces, ServiceImpl classes, DTOs for data transfer, and transactional management. globs: /src/main/java/com/example/services/.java.

not rated 27 1y ago A 0 tokens original MIT

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Governs application logic design in Spring Boot projects, defining the roles and responsibilities of RestControllers, Services, Repositories, and DTOs. globs: /src/main/java//.

not rated 27 1y ago A 0 tokens original MIT

accessibility

181

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

Rules for ensuring accessibility in Astro components, including semantic HTML and ARIA attributes.

not rated 27 1y ago A 0 tokens original MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: