
Spring Boot TDD Workflow
Guides the agent to write Spring Boot tests first using JUnit 5, Mockito, MockMvc and Testcontainers
- Repository
- affaan-m/ECC
- Stars
- 295,127
- Licence
- MIT
- Files
- 1 file
What it does
This skill gives the agent a test-driven development playbook for Java Spring Boot services. When you add a feature, fix a bug or refactor, the agent writes failing tests first, then the minimal code to pass them, then checks coverage with JaCoCo aiming for 80% or more. It supplies example patterns for unit tests, web-layer tests, integration tests, database tests with Testcontainers, and CI commands for Maven or Gradle. The file is written in Spanish and contains only guidance; it does not run anything by itself.
Great for
- Java developers building Spring Boot REST APIs who want a consistent testing approach
- Teams that want agents to follow a test-first workflow with coverage targets
- Developers learning how to combine JUnit 5, Mockito, MockMvc and Testcontainers
Skip it if
- Non-Java projects, since the patterns only apply to Spring Boot and the JVM ecosystem
- Projects that already have a different testing standard, as the agent may push these conventions over existing ones
Try asking
- “Add a new endpoint to my Spring Boot markets API using TDD”
- “Write failing tests first for a bug where the market list returns the wrong page”
- “Refactor my MarketService and keep the tests green while measuring JaCoCo coverage”
- “Set up Testcontainers with Postgres for my repository tests”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 1 original files, the MIT licence and an attribution note.
springboot-tdd.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip springboot-tdd.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip springboot-tdd.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Point the agent at your existing build file so it uses your real Maven or Gradle setup and JaCoCo version
- Ask for tests to be written before implementation and check that they fail first, as the workflow describes
- Review generated Testcontainers configuration, since it needs Docker running locally and may pull images
What's inside
- SKILL.md
Redistributed unmodified from affaan-m/ECC under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.