springboot-verification
Automated verification pipeline for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review.
- Runs six sequential phases: Maven/Gradle build, static analysis (SpotBugs, PMD, Checkstyle), unit and integration tests with JaCoCo coverage reporting, dependency CVE scanning, optional code formatting, and git diff review
- Supports both Maven and Gradle with parallel build acceleration (
-T 4flag) and includes example test patterns for unit tests, Testcontainers integration tests, and MockMvc API tests - Detects common security issues: hardcoded secrets, System.out logging, raw exception messages in responses, and wildcard CORS configurations
- Generates structured verification report with pass/fail status per phase and actionable issue list for pre-PR and pre-deployment gates
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
More from affaan-m/everything-claude-code
security-review
Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features. Provides comprehensive security checklist and patterns.
7.9Kgolang-patterns
Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable Go applications.
7.4Kcoding-standards
Baseline cross-project coding conventions for naming, readability, immutability, and code-quality review. Use detailed frontend or backend skills for framework-specific patterns.
6.7Kfrontend-patterns
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
6.6Kbackend-patterns
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
6.6Kgolang-testing
Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing, and test coverage. Follows TDD methodology with idiomatic Go practices.
6.1K