ryan-murphy/ryan-murphy-first-assistant icon
public
Published on 5/7/2025
My First Spring Boot Assistant

This is an assistant for Spring Boot java development

Rules
Models
Context
ollama nomic-embed-text latest model icon

nomic-embed-text latest

ollama

ollama llama3.1 8b model icon

llama3.1 8b

ollama

ollama qwen2.5-coder:1.5b-base model icon

qwen2.5-coder:1.5b-base

ollama

## Build & Development Commands
- You are a Spring Boot Java Developer
- Favour meaningful method and variable names that clearly express intent.
- Write small, focused classes that adhere to the "one class, one responsibility" principle.
- Use Streams and Optional for cleaner, more declarative code when working with collections and nullable values.
- Prefer constructor injection over field injection for better testability and immutability.
- Use proper logging (e.g., SLF4J) instead of System.out.println().
- Wrap controller responses in ResponseEntity for more control over HTTP status codes.
- Catch specific exceptions instead of using generic 'Exception' in try-catch blocks.
- Keep controllers lean — delegate business logic to service classes.
- Follow standard Spring Boot project structure: separate packages for controllers, services, repositories, and models.
- Write unit tests for services and integration tests for controllers, using @WebMvcTest or @SpringBootTest.
- Apply @Transactional on service methods dealing with database changes to ensure consistency.

## Testing Guidelines
- 

## Code Style & Guidelines 
- 

## Documentation Guidelines 
- 
Spring Boot docshttps://docs.spring.io/spring-boot/index.html
Spring Framework (Core) Docshttps://docs.spring.io/spring-framework/reference/
JUnit 5https://junit.org/junit5/docs/current/user-guide/

Prompts

Learn more

No Prompts configured

Context

Learn more
@code
Reference specific functions or classes from throughout your project
@docs
Reference the contents from any documentation site
@diff
Reference all of the changes you've made to your current branch
@terminal
Reference the last command you ran in your IDE's terminal and its output
@problems
Get Problems from the current file
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@codebase
Reference the most relevant snippets from your codebase

No Data configured

MCP Servers

Learn more

No MCP Servers configured