spring-boot-full-stack
SKILL.md
Spring Boot Full Stack Skill
Overview
This skill provides a complete, modular framework for building Java Spring Boot applications with enterprise-grade features.
Quick Start
# Minimal setup (PostgreSQL + JWT only)
mvn clean install -Pminimal
# With Redis caching
mvn clean install -Dmodule.redis.enabled=true
# Full stack (all modules)
mvn clean install -Pfull-stack
# Run application
mvn spring-boot:run -Dspring-boot.run.profiles=local
Module Selection
| Module | Default | Enable Flag |
|---|---|---|
| PostgreSQL | ON | -Dmodule.postgresql.enabled=true |
| Redis | OFF | -Dmodule.redis.enabled=true |
| Kafka | OFF | -Dmodule.kafka.enabled=true |
| RabbitMQ | OFF | -Dmodule.rabbitmq.enabled=true |
| OAuth2 | OFF | -Dmodule.oauth2.enabled=true |
Development Workflow
- Spec First: Define specifications in
openspec/specs/ - TDD: Write tests first (RED)
- Implement: Write minimal code (GREEN)
- Refactor: Improve code quality
- Archive: Update specs after implementation
Docker Options
# Without Docker (services installed locally)
make dev
# With Docker infrastructure
make dev-docker
# Full Docker deployment
docker compose --profile with-app up -d
Skills Included
Core (Always enabled)
spring-project-init- Project initializationspring-maven-modular- Maven profiles & BOMspring-error-handling- Global exception handlingspring-validation- Request validationspring-logging- Structured loggingspring-testing- Unit + Integration testingspring-tdd-mockito- TDD with Mockitospring-openspec- Spec-First Development
Optional
spring-redis- Redis cachingspring-kafka- Kafka messagingspring-rabbitmq- RabbitMQ messagingspring-oauth2- OAuth2/OIDCspring-rbac- Role-based access controlspring-docker- Docker containerizationspring-api-docs- OpenAPI/Swaggerspring-monitoring- Actuator + Prometheus
File Structure
src/
├── main/
│ ├── java/
│ │ └── com/company/app/
│ │ ├── config/ # Configuration classes
│ │ ├── controller/ # REST controllers
│ │ ├── service/ # Business logic
│ │ ├── repository/ # Data access
│ │ ├── domain/ # Entities
│ │ ├── dto/ # Data transfer objects
│ │ ├── exception/ # Custom exceptions
│ │ └── security/ # Security configuration
│ └── resources/
│ ├── application.yml
│ ├── application-local.yml
│ ├── application-dev.yml
│ ├── application-prod.yml
│ └── db/migration/ # Flyway migrations
├── test/
│ └── java/
│ └── com/company/app/
│ ├── unit/ # Unit tests
│ └── integration/ # Integration tests
└── openspec/
├── AGENTS.md
├── specs/ # Feature specifications
└── changes/ # Proposed changes
References
Weekly Installs
85
Repository
mduongvandinh/s…a-springGitHub Stars
5
First Seen
Jan 22, 2026
Security Audits
Installed on
opencode69
gemini-cli68
codex65
cursor63
github-copilot62
cline54