Skip to main content
在 Manus 中运行任何 Skill
一键导入

java-coding-style

星标14
分支1
更新时间2026年5月20日 03:18

Layer 2 (Coding style) for Java. Daily decisions without opening SKILL.md: - 4 spaces (never tabs); K&R braces; always braces for if/for/while (no single-line). - NO wildcard imports (`import x.*;`). NO `// comment` for structural blocks — use `/** */`. - Every public class/method has Javadoc with @author/@date/@param/@return. - Custom utility class: `public final class` + `private` ctor + all methods `static`. NO business imports. - Discovery-first: prefer cn.hutool / commons / existing *Util before writing a new helper. Open SKILL.md when deciding: In-Memory JOIN generic helper signature, Cursor Batching skeleton for large datasets, Javadoc template details.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly