java-springboot
Get best practices for developing applications with Spring Boot.
npx skills add github/awesome-copilot --skill java-springboot --agent copilot
Same command for any agent — swap --agent for claude-code, codex, cursor.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Spring Boot Best Practices Your goal is to help me write high-quality Spring Boot applications by following established best practices. ## Project Setup & Structure - **Build Tool:** Use Maven (`pom.xml`) or Gradle (`build.gradle`) for dependency management. - **Starters:** Use Spring Boot starters (e.g., `spring-boot-starter-web`, `spring-boot-starter-data-jpa`) to simplify dependency management. - **Package Structure:** Organize code by feature/domain (e.g., `com.example.app.order`, `com.example.app.user`) rather than by layer (e.g., `com.example.app.controller`, `com.example.app.service`). ## Dependency Injection & Components - **Constructor Injection:** Always use constructor-based injection for required dependencies. This makes components easier to test and dependencies explicit. - **Immutability:** Declare dependency fields as `private final`. - **Component Stereotypes:** Use `@Component`, `@Service`, `@Repository`, and `@Controller`/`@RestController` annotations appropriately to define beans. ## Configuration - **Externalized Configuration:** Use `application.yml` (or `application.properties`) for configuration. YAML is often preferred for its readability and hierarchical
- Project Setup & Structure
- Dependency Injection & Components
- Configuration
- Web Layer (Controllers)
- Service Layer
- Data Layer (Repositories)
- Logging
- Testing
- Security
What does the java-springboot skill do?
Get best practices for developing applications with Spring Boot.
How do I install it?
Run `npx skills add github/awesome-copilot --skill java-springboot --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.