Spring Testing Skills
The first production-ready SkillsJars collection — 7 skills that teach agents how to test Spring applications.| Skill | Domain |
|---|---|
| spring-testing-router | Meta-skill — routes to the right domain skill based on the task |
| spring-jpa-testing | @DataJpaTest, Testcontainers, @ServiceConnection, Hibernate 6/7, lazy loading |
| spring-mvc-testing | @WebMvcTest, MockMvc, jsonPath, request validation, @RestControllerAdvice |
| spring-security-testing | @WithMockUser, CSRF, JWT, OAuth2, @PreAuthorize method security |
| spring-webflux-testing | @WebFluxTest, WebTestClient, StepVerifier, virtual time, SSE |
| spring-websocket-testing | STOMP/WebSocket, WebSocketStompClient, BlockingQueue pattern |
| spring-testing-fundamentals | AssertJ, BDDMockito, ArgumentCaptor, context caching, anti-patterns |
Skill Structure
Each skill has aSKILL.md with metadata and routing rules, plus a references/ directory with detailed patterns:
Install
~/.claude/skills/ where any agentic CLI discovers them automatically.
Evidence
In the Code Coverage v2 experiment, adding testing skills:- Reduced JAR_INSPECT tool calls from 11.0% → 1.0% — the agent stopped inspecting dependencies because the skills already provided the knowledge
- Reduced expected steps by 25% (224 vs 301) compared to baseline
Creating Custom Skills
Any Markdown file with YAML frontmatter can be a skill:.claude/skills/my-conventions/SKILL.md (project) or ~/.claude/skills/my-conventions/SKILL.md (global).
Documentation
Spring Testing Skills
7 skills with routing table and reference patterns
SkillsJars Spec
The SkillsJars format — portable domain knowledge for any agentic CLI