spring-boot-full-stack
0
总安装量
37
周安装量
安装命令
npx skills add https://github.com/mduongvandinh/skills-java-spring --skill spring-boot-full-stack
Agent 安装分布
opencode
26
gemini-cli
25
claude-code
24
codex
21
cursor
21
Skill 文档
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