Complete Java Spring Boot skill set for building enterprise applications. Includes modular architecture with optional components: - PostgreSQL database with JPA/Hibernate + Flyway migration - Redis caching (optional) - Kafka/RabbitMQ messaging (optional, choose one) - JWT + OAuth2 authentication (optional OAuth2) - RBAC authorization (optional) - TDD with Mockito - Spec-First Development with OpenSpec
A modular Spring Boot application template with optional components and TDD/Spec-First development practices.
# Ensure PostgreSQL is running locally
mvn spring-boot:run -Dspring-boot.run.profiles=local
# Start PostgreSQL
docker compose up -d postgres
# Run application
mvn spring-boot:run -Dspring-boot.run.profiles=local
# Start all services
docker compose --profile with-redis --profile with-kafka up -d
# Run with all modules
mvn spring-boot:run -Dspring-boot.run.profiles=local \
-Dspring-boot.run.arguments="--modules.redis.enabled=true --modules.kafka.enabled=true"
| Module | Enable Flag | Docker Profile |
|--------|-------------|----------------|
| Redis | -Dmodule.redis.enabled=true | --profile with-redis |
| Kafka | -Dmodule.kafka.enabled=true | --profile with-kafka |
| RabbitMQ | -Dmodule.rabbitmq.enabled=true | --profile with-rabbitmq |
| OAuth2 | -Dmodule.oauth2.enabled=true | N/A |
make dev # Run without Docker
make dev-docker # Run with Docker infrastructure
make dev-redis # With Redis
make dev-kafka # With Kafka
make dev-full # All modules
make test # Run tests
make clean # Clean up
# Linux/macOS
./scripts/start-local.sh
./scripts/start-local.sh --redis
./scripts/start-local.sh --full
# Windows PowerShell
.\scripts\start-local.ps1
.\scripts\start-local.ps1 -Redis
.\scripts\start-local.ps1 -Full
src/
├── main/
│ ├── java/com/company/app/
│ │ ├── config/ # Configuration
│ │ ├── controller/ # REST controllers
│ │ ├── service/ # Business logic
│ │ ├── repository/ # Data access
│ │ ├── domain/ # Entities
│ │ ├── dto/ # DTOs
│ │ └── exception/ # Exceptions
│ └── resources/
│ ├── application.yml
│ └── db/migration/ # Flyway
└── test/
└── java/ # Tests
openspec/
├── AGENTS.md # AI instructions
├── specs/ # Specifications
└── changes/ # Proposals
| Endpoint | Description |
|----------|-------------|
| GET /api/system/modules | Module status |
| GET /api/system/health | Health check |
| GET /actuator/health | Actuator health |
# All tests
mvn test
# Specific test
mvn test -Dtest=UserServiceTest
# Integration tests
mvn verify
This project includes configuration files for popular AI coding assistants:
| AI Tool | Config File | Auto-loaded |
|---------|-------------|-------------|
| Claude Code | CLAUDE.md | ✅ Yes |
| Cursor | .cursorrules | ✅ Yes |
| Windsurf | .windsurfrules | ✅ Yes |
| GitHub Copilot | .github/copilot-instructions.md | ✅ Yes |
| Continue.dev | .continuerc.json | ✅ Yes |
Just open the project in your preferred IDE and the AI will automatically follow the coding conventions.
MIT
npx skills add mduongvandinh/spring-boot-full-stack下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer
Tags:java, spring-boot, postgresql, redis, kafka, rabbitmq, authentication, security, tdd, openspec