
This brings Alibaba's Java coding guidelines into your editor as a reviewable standard. It catches the usual suspects like naming, magic values, and SQL injection risks, but also pushes on less obvious stuff like logging context, null handling in public APIs, and MyBatis parameter binding. Works for code generation, refactoring, and reviews across Java, Spring, MyBatis, and SQL. The skill prioritizes mandatory rules over recommendations and warns you when project conventions conflict with the standard. Output is concrete: file, line, severity, risk, and a fix you can actually apply. If you're working on Java backends that need to pass enterprise review or you just want consistent guard rails without memorizing a 100 page handbook, this does the gruntwork.
$ npx -y skills add aiskillstore/marketplace --skill alibaba-java-coding-guidelines-skill --agent claude-codeInstalls into .claude/skills of the current project.
使用本 skill 时,把《阿里巴巴 Java 开发手册》当作 Java 代码生成、重构和审查的默认质量基线。优先处理强制规则,再处理推荐规则;如果项目本地约定和规约冲突,说明冲突点并以用户或项目约定为准。
详细规则摘要见 references/alibaba-java-rules.md。需要精确出处或完整条文时,打开官方页面:https://alibaba.github.io/Alibaba-Java-Coding-Guidelines/。
这是通用 Agent Skill,不绑定单个应用或运行器。Claude Code、Codex 以及其他支持 Agent Skills 目录规范的工具都应只依赖 SKILL.md 和按需读取的 references/ 内容。
agents/openai.yaml 只是 OpenAI/Codex UI 元数据,属于可选增强;不应作为 Claude Code 或其他 agent 使用本 skill 的前提。
校验入口提供 Python、Node.js、Go 三种等价实现:scripts/validate_skill.py、scripts/validate_skill.mjs、scripts/validate_skill.go。使用者可以按本地运行时任选其一;需要验证三者一致时运行 tests/test_validators.sh。
references/alibaba-java-rules.md 中对应小节。Sponsors