원클릭으로
spring-boot-patterns
Forge 项目 Spring Boot 约定。构造器注入强制、@ConfigurationProperties 优于 @Value、RFC 7807 错误响应。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Forge 项目 Spring Boot 约定。构造器注入强制、@ConfigurationProperties 优于 @Value、RFC 7807 错误响应。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Planning Mode skill for guided execution of large tasks. Provides structured task decomposition, user confirmation, per-task verification, retry logic, and quality summary.
Git 工作流 — 版本控制、提交规范、分支管理、.gitignore 治理
Structured bug diagnosis and repair workflow using the 5-Whys root cause analysis method. Ensures fixes include tests, documentation, and knowledge capture.
Generates structured documents including architecture diagrams (Mermaid), usage manuals, progress reports, and API documentation from code analysis.
Extracts reusable patterns and lessons from execution history and project experience. Generates structured knowledge entries for the knowledge base.
Evaluates project progress by analyzing workspace structure, code completeness, and comparing against planned milestones. Outputs structured progress reports.
| name | spring-boot-patterns |
| description | Forge 项目 Spring Boot 约定。构造器注入强制、@ConfigurationProperties 优于 @Value、RFC 7807 错误响应。 |
| trigger | when working with Spring annotations, controllers, services, or configuration |
| tags | ["spring-boot","spring","dependency-injection","configuration"] |
| version | 2.0 |
| scope | platform |
| category | foundation |
Controller (HTTP) → Service (Business Logic) → Repository (Data Access)
@Autowired 字段注入@Service 类使用主构造器注入@Value 散落在各类中@ConfigurationProperties data class@NotBlank, @Min)在启动时校验Duration(Spring 自动解析 5s, 30m)@ControllerAdvice + RFC 7807 ProblemDetailcorrelationId 和 timestampBusinessException@Async 方法返回类型只能是 void 或 CompletableFuture<T>SimpleAsyncTaskExecutor)CompletableFuture.get() 必须设置超时@CachePut 保持一致性data class,只含 ID 和关键数据@TransactionalEventListener(AFTER_COMMIT)@Async + @EventListener