Spring Boot Best Practices SKILL.md skillA

Spring Boot Best Practices from rueclaw/public-data is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add rueclaw/public-data/Spring Boot Best Practices@git:20260213.c690ecf

Pins git:20260213.c690ecf in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
rueclaw/public-data
Path
tools/claude-code/skills-and-plugins/spring-boot-skill/SKILL.md
Versions recorded
1
Latest version
git:20260213.c690ecf, committed Feb 13, 2026
Size
6,346 bytes
Repository stars
11
License
none declared

Generate Spring Boot components following modern Java best practices and team conventions.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Spring Boot Code Generation Guidelines

When generating or reviewing Spring Boot code, follow these best practices:

## Dependency Injection

- **Use constructor injection**, never field injection with @Autowired
- Mark injected fields as `private final`
- Let Lombok's `@RequiredArgsConstructor` generate constructors when appropriate

```java
// Good
@Service
@RequiredArgsConstructor
public class UserService {
    private final UserRepository userRepository;
    private final EmailService emailService;
}

// Avoid
@Service
public class UserService {
    @Autowired
    private UserRepository userRepository; // Field injection - avoid
}
```

## Package Structure

Follow standard Spring Boot layering:
```
com.example.project/
├── controller/       # REST endpoints, @RestController
├── service/          # Business logic, @Service
├── repository/       # Data access, extends JpaRepository
├── model/            # JPA entities, @Entity
├── dto/              # Data transfer objects
├── config/           # Configuration classes, @Configuration
└── exception/        # Custom exceptions and @ControllerAdvice
```

## REST Controllers
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add rueclaw/public-data/Spring Boot Best Practices@sha256:bb76035a1aa7f6cd

The line at the top of this page pins the label git:20260213.c690ecf, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_lyj4g7prrzwqcyv3.svg)](https://markdownregistry.com/a/art_lyj4g7prrzwqcyv3)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Feb 13, 2026.

versioncommittedcommitsizeaudit
git:20260213.c690ecf latest2026-02-13 c690ecf 6,346 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6346 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

rueclaw/public-data · 11 stars · license none declared · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_lyj4g7prrzwqcyv3
GET https://markdownregistry.com/api/v1/resolve?ref=rueclaw/public-data/Spring Boot Best Practices
GET https://markdownregistry.com/api/v1/blob/bb76035a1aa7f6cde96ce72afdaac851710b2d01c754d74d6bbe828bacd9a9a6

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from rueclaw/public-data

AGENTS.md AGENTS.md file
rueclaw/public-data · AGENTS.md
git:20261107.d7bffcb · audit A · 11 stars
review SKILL.md skill
rueclaw/public-data · skills/review/SKILL.md · Review repositories, articles, guides, papers, and tools submitted for review by an authorized user. Also handles…
git:20261017.889751b · audit A · 11 stars
API Documentation Generator SKILL.md skill
rueclaw/public-data · tools/claude-code/skills-and-plugins/api-documentation-skill/SKILL.md · Generate comprehensive, professional API documentation following industry best practices
git:20260213.c690ecf · audit A · 11 stars
Security Code Review SKILL.md skill
rueclaw/public-data · tools/claude-code/skills-and-plugins/security-review-skill/SKILL.md · Identify security vulnerabilities and suggest secure coding practices
git:20260213.c690ecf · audit A · 11 stars

Every file in rueclaw/public-data

Browse by kind, by grade A, or by owner.