Spring Boot Architecture
Use when the user asks about Spring Boot project structure, package-by-feature, hexagonal Spring, Spring WebFlux vs MVC, Spring Data repositories or Spring profiles. Produces a Spring Boot 3/4 service layout. Not for @Transactional, AOP, security or testing recipes (use spring-boot-patterns).
Install
npx skills add j4flmao/agent-skills --skill spring-boot-architecturegit clone --depth 1 https://github.com/j4flmao/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/backend/spring-boot/architecture ~/.claude/skills/spring-boot-architecturePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Spring Boot Architecture
## Purpose
Structure Spring Boot applications with package-by-feature and hexagonal architecture. Domain has zero Spring imports. Annotations only in infrastructure and presentation.
## Agent Protocol
### Trigger
Exact user phrases: "Spring Boot structure", "Spring architecture", "Spring Boot clean arch", "Spring layered", "Spring hexagonal", "Spring WebFlux", "Spring Data", "Spring Boot folder", "Spring project layout".
### Input Context
Before activating, verify:
- pom.xml or build.gradle has spring-boot-starter dependency.
- The feature or module being created is known.
### Output Artifact
No file output. Produces folder structure and code examples as text.
### Response Format
Folder structure:
```
src/main/java/com/project/{feature}/
domain/
application/
infrastructure/
presentation/
```
Code: Java class-level only. Package declaration omitted.
No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.
### Completion Criteria
- [ ] Package-by-feature (com.project.orders, com.project.users), not by layer (com.project.controllers, com.project.services).
- [ ] Domain package has zero Spring imports (@Entity is the sole exception, but prefer pure POJOs).
- [ ] Interfaces (ports) in domain/, implementations (adapters) in infrastructure/.
- [ ] Constructor injection used everywhere. No @Autowired on fields.Details
- Skill name
spring-boot-architecture- Repository
- j4flmao/agent-skills
- Path
skills/backend/spring-boot/architecture/SKILL.md- License
- MIT
- Repo updated
- 17 November 2026
FAQ
What does the Spring Boot Architecture skill do?
Use when the user asks about Spring Boot project structure, package-by-feature, hexagonal Spring, Spring WebFlux vs MVC, Spring Data repositories or Spring profiles. Produces a Spring Boot 3/4 service layout. Not for @Transactional, AOP, security or testing recipes (use spring-boot-patterns).
How do I install the Spring Boot Architecture skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add j4flmao/agent-skills --skill spring-boot-architecture. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Spring Boot Architecture popular?
It lives in j4flmao/agent-skills, which has 45 GitHub stars and 6 forks.
Related skills
Agent Observability
45j4flmao/agent-skills
Use when the user asks about agent observability, tracing agent reasoning, debugging an agent loop, OpenTelemetry GenAI spans for LLM calls, LLM cost tracking per agent, agent audit logs or hallucination/eval monitoring in production. Produces instrumentation config, trace schema, dashboards, alerts and cost attribution. Not for generic service tracing without LLMs (use devops-opentelemetry).
AI Agent Architectures
45j4flmao/agent-skills
Use when the user asks to build an AI agent, design an agent that calls tools and keeps memory, write an agent system prompt or pick an agent framework (Claude Agent SDK, OpenAI Agents SDK, LangGraph). Produces an architecture brief covering loop, tools, memory, guardrails and evals, routing depth to child skills. Not for workflow patterns (use ai-agentic-workflows).
AI Agent Core Loop
45j4flmao/agent-skills
Use when the user asks about the agent loop, ReAct vs plan-and-solve, re-planning, Reflexion, an agent stuck in a loop, max iterations or termination conditions. Produces a loop spec or patch with state, success predicate, caps and no-progress detection. Not for overall agent design (use ai-agent-architectures) or tool schemas (use tool-calling-principles).
Spring Boot Patterns
45j4flmao/agent-skills
Use when the user asks about Spring Boot service layer and transaction boundaries, @Transactional, constructor injection, Spring AOP, Spring Security filter chain or @DataJpaTest/@WebMvcTest. Produces Spring Boot pattern code. Not for package layout (use spring-boot-architecture).
Scaling Architecture
45j4flmao/agent-skills
Use when the user asks about game server scaling, shards, zone servers, Agones, game server fleet autoscaling or game backend capacity. Produces fleet, persistence and region design with capacity math. Not for a single server tick loop (use authoritative-server) or generic web autoscaling (use devops-kubernetes-autoscaling).
Symfony Backend
45j4flmao/agent-skills
Use when the user asks about Symfony, Doctrine ORM entities, Symfony Messenger, autowiring, security voters, Flex recipes or WebTestCase. Produces Symfony 7 services, entities and tests. Not for Laravel (use php-laravel) or Laminas (use php-zend).
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.