spring-boot-application by aj-geddes/useful-ai-prompts
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill spring-boot-application遵循 Spring 约定,开发生产就绪的 Spring Boot 应用程序,包含基于注解的正确配置、依赖注入、REST 控制器、JPA 数据持久化、服务层和安全实现。
最小工作示例:
<!-- pom.xml -->
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>api-service</artifactId>
<version>1.0.0</version>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.0</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
// ... (完整实现请参阅参考指南)
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
references/ 目录下的详细实现:
| 指南 | 内容 |
|---|---|
| Spring Boot 项目设置 | Spring Boot 项目设置 |
| 使用 JPA 注解的实体模型 | 使用 JPA 注解的实体模型 |
| 使用 Spring Data JPA 的仓库层 | 使用 Spring Data JPA 的仓库层 |
| 包含业务逻辑的服务层 | 包含业务逻辑的服务层 |
| 处理请求/响应的 REST 控制器 | 处理请求/响应的 REST 控制器 |
| Spring Security 配置 | Spring Security 配置 |
| 应用配置 | 应用配置 |
每周安装量
132
代码仓库
GitHub 星标数
126
首次出现
2026年1月21日
安全审计
安装于
opencode108
gemini-cli105
codex102
claude-code98
cursor91
github-copilot89
Develop production-ready Spring Boot applications with proper annotation-based configuration, dependency injection, REST controllers, JPA data persistence, service layers, and security implementation following Spring conventions.
Minimal working example:
<!-- pom.xml -->
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>api-service</artifactId>
<version>1.0.0</version>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.0</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Spring Boot Project Setup | Spring Boot Project Setup |
| Entity Models with JPA Annotations | Entity Models with JPA Annotations |
| Repository Layer with Spring Data JPA | Repository Layer with Spring Data JPA |
| Service Layer with Business Logic | Service Layer with Business Logic |
| REST Controllers with Request/Response Handling | REST Controllers with Request/Response Handling |
| Spring Security Configuration | Spring Security Configuration |
Weekly Installs
132
Repository
GitHub Stars
126
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode108
gemini-cli105
codex102
claude-code98
cursor91
github-copilot89
lark-cli 共享规则:飞书资源操作指南与权限配置详解
39,000 周安装
散文风格诊断技能:识别小说句子写作问题,提升写作质量与故事表现力
150 周安装
GitHub Copilot CLI 委托技能:非交互式命令、模型选择与安全权限指南
153 周安装
Claude Code 多智能体编排系统 - 基于 Git 的轻量级任务追踪与工作流管理
150 周安装
Next.js useSearchParams Suspense 模式详解:解决URL参数读取与服务器端渲染问题
151 周安装
财报交易分析器 - 五因子评分系统,精准识别财报后动量交易机会
157 周安装
Vercel AI SDK v6 完整指南:实现聊天、工具调用、结构化输出与智能体
150 周安装
| Application Configuration | Application Configuration |