001-commands-inventory
Use when you need to generate a checklist document with embedded commands inventory,…
Use when you need to write unit tests for Spring Boot applications — including pure unit tests with @ExtendWith(MockitoExtension.class) for @Service/@Component, slice tests with @WebMvcTest and @MockitoBean for controllers, @JsonTest for JSON serialization, parameterized tests
$ npx -y skills add jabrena/plinth --skill 321-frameworks-spring-boot-testing-unit-tests --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/321-frameworks-spring-boot-testing-unit-testsContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when you need to write unit tests for Spring Boot applications — including pure unit tests with @ExtendWith(MockitoExtension.class) for @Service/@Component, slice tests with @WebMvcTest and @MockitoBean for controllers, @JsonTest for JSON serialization, parameterized tests
name: 321-frameworks-spring-boot-testing-unit-tests description: Use when you need to write unit tests for Spring Boot applications — including pure unit tests with @ExtendWith(MockitoExtension.class) for @Service/@Component, slice tests with @WebMvcTest and @MockitoBean for controllers, @JsonTest for JSON serialization, parameterized tests with @CsvSource/@MethodSource, test profiles, and @TestConfiguration. For framework-agnostic Java use @131-java-testing-unit-testing. For integration tests use @322-frameworks-spring-boot-testing-integration-tests. This should trigger for requests such as Review Java code for Spring Boot unit tests; Apply best practices for Spring Boot unit tests in Java code; Write Mockito-first unit tests for Spring Boot services; Avoid unnecessary @SpringBootTest in Spring unit tests; Review Spring Boot slice-free unit test design. Part of Plinth Toolkit license: Apache-2.0 metadata: author: Juan Antonio Breña Moral version: 0.19.0
Apply Spring Boot unit testing guidelines with Mockito.
**What is covered in this Skill?**
**Scope:** Apply recommendations based on the reference rules and good/bad code examples. For integration tests use @322-frameworks-spring-boot-testing-integration-tests.
Before applying any test changes, ensure the project compiles. If compilation fails, stop immediately. After applying improvements, run full verification.
1. **Read reference and assess project context**
Read `references/321-frameworks-spring-boot-testing-unit-tests.md` and inspect the current project setup before proposing changes.
2. **Gather scope and decide target improvements**
Identify requested outcomes, constraints, and the minimum safe set of changes to apply.
3. **Apply framework-aligned changes**
Implement or refactor configuration/code following the reference patterns and project conventions.
4. **Run verification and report results**
Execute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.
For detailed guidance, examples, and constraints, see [references/321-frameworks-spring-boot-testing-unit-tests.md](references/321-frameworks-spring-boot-testing-unit-tests.md).
Languages: Español · 中文 Help this project grow: Become a sponsor
Use when you need to generate a checklist document with embedded commands inventory,…
Use when you need to generate a checklist document with embedded agents inventory, following…
Use when you need to generate a checklist document with Java system prompts from skills.xml,…
Use when you need to install the embedded project commands into command directories…
Use when you need to install the embedded robot agents into .github/agents, .claude/agents,…
Guides the creation of agile epics with comprehensive definition including business value,…