CLAUDE.md@by-framework/spring-bootA
CLAUDE.md@by-framework/spring-boot from overseastelegramaliterateperson865/awesome-claude-md is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.
mdr add overseastelegramaliterateperson865/awesome-claude-md/by-framework/spring-boot/CLAUDE.md@git:20260320.9b01acaPins git:20260320.9b01aca in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- CLAUDE.md file
- Repository
- overseastelegramaliterateperson865/awesome-claude-md
- Path
by-framework/spring-boot/CLAUDE.md- Versions recorded
- 2
- Latest version
- git:20260320.9b01aca, committed Mar 20, 2026
- First version recorded
- Mar 20, 2026
- Size
- 2,638 bytes
- Repository stars
- 3
- License
- MIT
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 3 项目
## 技术栈
- Java 17+,Spring Boot 3.x,Spring Framework 6
- 构建工具:Maven(或 Gradle)
- 数据层:Spring Data JPA + Hibernate
- 数据库:MySQL/PostgreSQL(开发环境可用 H2)
- 测试:JUnit 5 + MockMvc + Mockito
## 项目结构(分层架构)
```
src/main/java/com/example/project/
controller/ # REST 控制器
service/ # 业务逻辑层
repository/ # JPA Repository
entity/ # JPA 实体类
dto/ # 数据传输对象
config/ # 配置类
exception/ # 全局异常处理(@ControllerAdvice)
src/main/resources/
application.yml # 公共配置
application-{dev,prod}.yml # 环境配置
```
## 开发规范
- Controller 只做参数校验和响应封装,业务逻辑放 Service 层
- Service 接口与实现分离,实现类加 `@Service` 注解
- Entity 使用 JPA 注解映射(`@Entity`, `@Table`, `@Column`)
- DTO 与 Entity 分离,使用 MapStruct 或手动转换
- 请求参数校验使用 `@Valid` + `jakarta.validation` 注解(`@NotBlank`, `@Size` 等)
- 统一响应格式:封装 `Result<T>` 类包含 code/message/data
## Spring Data JPA
- Repository 继承 `JpaRepository<Entity, IdType>`
- 方法命名查询:`findByNameAndStatus(String name, Status status)`
- 复杂查询用 `@Query` 注解写 JPQL 或原生 SQL
- 分页查询:参数加 `Pageable`,返回 `Page<Entity>`
## REST API 设计
- RESTful 风格,路径用复数名词:`/api/v1/users`、`/api/v1/users/{id}`
…Read the whole file at its exact version.
How to install
mdr add overseastelegramaliterateperson865/awesome-claude-md/by-framework/spring-boot/CLAUDE.md@sha256:f9c5dc5523db1858The line at the top of this page pins the label git:20260320.9b01aca, 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.
[](https://markdownregistry.com/a/art_bc6ihg5u2qjt3jxr)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, all committed on Mar 20, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260320.9b01aca latest | 2026-03-20 | 9b01aca | 2,638 B | A | view · diff |
| git:20260320.fcf2609 | 2026-03-20 | fcf2609 | 2,598 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (2638 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
overseastelegramaliterateperson865/awesome-claude-md · 3 stars · license MIT · pushed 2026-10-14 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_bc6ihg5u2qjt3jxr GET https://markdownregistry.com/api/v1/resolve?ref=overseastelegramaliterateperson865/awesome-claude-md/by-framework/spring-boot/CLAUDE.md GET https://markdownregistry.com/api/v1/blob/f9c5dc5523db1858627e641e5577b3f46db45eb5064f02ff04c18b7f7dbfe636
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: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.
More from overseastelegramaliterateperson865/awesome-claude-md
Every file in overseastelegramaliterateperson865/awesome-claude-md