一键导入
spring-boot-testing
Use this skill when writing or improving tests in a Spring Boot project, including unit tests, integration tests, and test structure.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use this skill when writing or improving tests in a Spring Boot project, including unit tests, integration tests, and test structure.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use this skill when creating or reviewing Flyway database migrations in a Spring Boot project. Covers schema evolution, data migrations, zero-downtime strategies, and PostgreSQL best practices.
Use this skill when generating or reviewing Java code to ensure readability, maintainability, correctness, and modern best practices.
Use this skill when working with JPA entities, repositories, and persistence logic in a Spring Boot project. Combines domain-driven persistence design with Java correctness, performance awareness, and testability.
Use this skill when creating or updating Spring Boot application code in this repository, including REST controllers, services, DTOs, validation, exception handling, configuration, and general project structure.
Use this skill when implementing or reviewing security in a Spring Boot application. Covers authentication, authorization, input validation, secure configuration, and API security best practices.
| name | spring-boot-testing |
| description | Use this skill when writing or improving tests in a Spring Boot project, including unit tests, integration tests, and test structure. |
Apply this skill when working on:
assertThat(result)
.isNotNull()
.hasFieldOrPropertyWithValue("status", "ACTIVE");
Use the appropriate test type based on scope:
Common slices:
@WebMvcTest → controller layer@DataJpaTest → repository layerBenefits:
@SpringBootTest when:
@AutoConfigureMockMvc for API testing@SpringBootTest where possible.