Individual skill
java-coding-standards
Spring Boot 服务的 Java 编码规范:命名、不可变性、Optional 使用、流(streams)、异常、泛型以及项目布局。
skills/java-coding-standards/SKILL.md
Source commit dfbf9467b90dfd29bffa842c4e0a6977112900e2
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Local scripts
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 2,024
- Repository last updated
- Mar 5, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-agents Repository topic
- anthropic Repository topic
- claude Repository topic
- claude-code Repository topic
- developer-tools Repository topic
- llm Repository topic
- mcp Repository topic
- productivity Repository topic
- everything-claude-code Repository topic
- oneskill Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 4,548 bytes
Read excerpt
# Java 编码规范 (Java Coding Standards)
适用于 Spring Boot 服务中可读、可维护的 Java (17+) 代码规范。
## 何时激活 (When to Activate)
- 在 Spring Boot 项目中编写或评审 Java 代码时
- 强制执行命名、不可变性(immutability)或异常处理约定时
- 使用 records、密封类(sealed classes)或模式匹配(pattern matching)(Java 17+)时
- 评审 Optional、流(streams)或泛型(generics)的使用时
- 规划包结构和项目布局时
## 核心原则 (Core Principles)