一键导入
springboot-solid-principles
Use this skill when designing or refactoring Spring Boot applications to enforce SOLID principles within a Clean Architecture context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use this skill when designing or refactoring Spring Boot applications to enforce SOLID principles within a Clean Architecture context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use this skill when building, optimizing, or deploying Docker images for Spring Boot applications.
Use this skill when designing, structuring, or refactoring Spring Boot applications using Clean Architecture principles.
Use this skill when managing database transactions in Spring Boot applications to ensure data consistency, integrity, and correct transactional boundaries.
Use this skill when designing or refactoring data transfer and mapping in Spring Boot applications to ensure separation between API, domain, and infrastructure models.
Use this skill when handling, structuring, or refactoring error management in Spring Boot applications to ensure consistency, clarity, and separation of concerns.
Use this skill when implementing authentication and authorization in Spring Boot applications using JWT in a secure and scalable way.
| name | springboot-solid-principles |
| description | Use this skill when designing or refactoring Spring Boot applications to enforce SOLID principles within a Clean Architecture context. |
When applying SOLID principles in Spring Boot:
Enforce Single Responsibility Principle (SRP):
Enforce Open/Closed Principle (OCP):
Enforce Liskov Substitution Principle (LSP):
Enforce Interface Segregation Principle (ISP):
Enforce Dependency Inversion Principle (DIP):
Apply SOLID across layers:
Controllers:
Use-cases:
Repositories:
Avoid:
Refactor by:
Ensure:
If a class mixes responsibilities, depends on concrete implementations, or cannot be replaced without breaking behavior, it violates this skill.