affaan-m avatar

Springboot Verification

A pre-commit and pre-deploy checklist that runs the full Spring Boot verification stack: parallel Maven/Gradle builds, static analysis with SpotBugs and PMD, JaCoCo coverage reports gated at 80%, OWASP dependency scans, and a structured diff review. It includes real test examples for unit tests with Mockito, integration tests with Testcontainers, and API tests with MockMvc. The security phase catches hardcoded secrets and common vulnerabilities like wildcard CORS. This is the kind of skill you want firing before every PR if you're serious about not breaking staging, though running the full suite locally can feel slow when you're iterating fast.

skills.sh installs
5.6K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add affaan-m/ecc --skill springboot-verification --agent claude-code

Installs into .claude/skills of the current project.

Files

Spring Boot Verification Loop

Run before PRs, after major changes, and pre-deploy.

When to Activate

  • Before opening a pull request for a Spring Boot service
  • After major refactoring or dependency upgrades
  • Pre-deployment verification for staging or production
  • Running full build → lint → test → security scan pipeline
  • Validating test coverage meets thresholds

Phase 1: Build

mvn -T 4 clean verify -DskipTests
# or
./gradlew clean assemble -x test

If build fails, stop and fix.

Phase 2: Static Analysis

Maven (common plugins):

mvn -T 4 spotbugs:check pmd:check checkstyle:check

Gradle (if configured):

./gradlew checkstyleMain pmdMain spotbugsMain

Phase 3: Tests + Coverage

mvn -T 4 test
mvn jacoco:report   # verify 80%+ coverage
# or
./gradlew test jacocoTestReport

Report:

  • Total tests, passed/failed
  • Coverage % (lines/branches)

Unit Tests

Test service logic in isolation with mocked dependencies:

@ExtendWith(MockitoExtension.class)
class UserServiceTest {

  @Mock private UserRepository userRepository;
  @InjectMocks private UserService userService;

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Testing & QA, Security, DevOps & CI/CD, Git & Pull Requests, Code Review & Quality, Release Management, Java & JVM
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1trailofbits avataratheristrailofbits/skillsAtheris is a coverage-guided Python fuzzer based on libFuzzer. Use for fuzzing pure Python code and Python C extensions.5.5Kskills.sh installs
2julianoczkowski avatargrill-mejulianoczkowski/designer-skillsInterview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to s5.5Kskills.sh installs
3samber avatarcopywriting-ctasamber/cc-skillsDesign end-of-article CTAs (calls-to-action placed at the bottom of blog posts, newsletters, essays, articles, or any long-form content). Use this skill wheneve5.5Kskills.sh installs
4affaan-m avatarkotlin-ktor-patternsaffaan-m/eccKtor server patterns including routing DSL, plugins, authentication, Koin DI, kotlinx.serialization, WebSockets, and testApplication testing.5.5Kskills.sh installs
5affaan-m avatarhealthcare-eval-harnessaffaan-m/eccPatient safety evaluation harness for healthcare application deployments. Automated test suites for CDSS accuracy, PHI exposure, clinical workflow integrity, an5.4Kskills.sh installs
6wondelai avatarinspired-productwondelai/skillsBuild empowered product teams using discovery and delivery dual-track. Use when the user mentions "product discovery", "empowered teams", "feature factory", "op5.4Kskills.sh installs