CLAUDE.md@by-framework/spring-boot claudeA
CLAUDE.md@by-framework/spring-boot is agent-read markdown (claude) from overseastelegramaliterateperson865/awesome-claude-md.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns 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@git:20260320.9b01acamdr add overseastelegramaliterateperson865/awesome-claude-md/by-framework/spring-boot/CLAUDE.md@sha256:f9c5dc5523db1858Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_bc6ihg5u2qjt3jxr)
1 badge views in 30 days
Versions
| 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-09-23 · 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 agent 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.
More from overseastelegramaliterateperson865/awesome-claude-md
Every file in overseastelegramaliterateperson865/awesome-claude-md