Skip to content
Agentmart
Submit a tool

ai-skills-conventions-java

Apply the default Java conventions by orchestrating the Java-specific leaf skills and the remaining Java baseline rules.

Skill by fabian-barney

IndexedApache-2.0★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/fabian-barney-ai-skills-conventions-java

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Apply the default Java conventions by orchestrating the Java-specific leaf skills and the remaining Java baseline rules.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ai-skills-conventions-java

What's inside

Skill name
ai-skills-conventions-java
Description
Apply the default Java conventions by orchestrating the Java-specific leaf skills and the remaining Java baseline rules.
License
Apache-2.0
Instructions
92 lines in SKILL.md · view on GitHub

Files (3)

  • SKILL.md
  • java-string-format.md · examples/
  • java-convention-defaults.md · references/

SKILL.md (first lines)

<!-- markdownlint-disable MD025 -->

# Purpose

Apply the default Java conventions for a bounded Java change by orchestrating
the existing Java convention skills and the remaining Java-only defaults that
are still kept in this bundle.

# When to Use

- use when implementing or reviewing Java code and a single umbrella skill is
  preferred over invoking multiple Java convention skills manually
- use when the bounded Java change touches null contracts, control flow,
  boilerplate, or string construction
- use skill `ai-skills-conventions-null` when null contracts and collection
  semantics need focused enforcement
- use skill `ai-skills-conventions-lombok` when Java boilerplate can be removed
  safely with Lombok
- use skill `ai-skills-conventions-early-return` and
  skill `ai-skills-conventions-ternary` when Java control flow or expression-shaped
  branching should be simplified
- use `references/java-convention-defaults.md` for the remaining Java defaults
  that are not split into separate leaf skills
- use `examples/java-string-format.md` when showing the expected string-format
  refactor shape

# Inputs

- the bounded Java files, tests, and build configuration in scope
- whether Lombok is already available, would need to be added, or is forbidden
- whether public APIs, collection semantics, or nullness tooling are in scope
- whether control-flow blocks or ternary candidates need simplification
- whether string construction uses literal templates with variable data
- `references/java-convention-defaults.md`

# Workflow

1. Confirm that the bounded change is primarily Java and identify which Java
   convention areas are relevant.
2. When null contracts, collections, or Java nullness tooling are in scope,
   apply skill `ai-skills-conventions-null`.
3. When the change contains Java boilerplate that Lombok would remove safely,
   apply skill `ai-skills-conventions-lombok`; only add Lombok when it materially
   improves the bounded change and there is no explicit instruction or project
   rule against it.
4. When Java control flow is overly nested, apply
   skill `ai-skills-conventions-early-return` and
   skill `ai-skills-conventions-ternary` as appropriate.
5. Apply the remaining Java defaults from
   `references/java-convention-defaults.md`, especially:
   prefer `String.format(...)` over literal-template `+` concatenation, prefer
   `StringBuilder` in hot loops or append-heavy paths, and keep `Optional`
   restricted to meaningful Java return-value absence.
6. Aggregate the resulting refactors or findings into one Java-convention
   result without duplicating the child-skill guardrails.
7. Use `examples/java-string-format.md` when communicating the expected
   Java-specific string-format refactor.

# Outputs

- a bounded Java convention result covering the relevant Java convention areas
- child-skill findings or refactors for null, Lombok, early-return, and
  ternary usage when applicable
- Java-specific findings or refactors for string construction and `Optional`
  usage that are not already covered by the child skills

# Guardrails

- do not weaken or override the guardrails of skill `ai-skills-conventions-null`,
  skill `ai-skills-conventions-lombok`, skill `ai-skills-conventions-early-return`, or skill `ai-skills-conventions-ternary`
- do not add Lombok when the user or project explicitly forbids it, or when
  the bounded Java change does not materially benefit from it
- do not use `Optional` for Java fields, method parameters, or serialization
  models unless there is a strong documented reason
- do not keep literal-template string concatenation with `+` when
  `String.format(...)` is the clearer Java default
- do not replace hot-loop or append-heavy string construction with
  `String.format(...)` when `StringBuilder` is the better Java choice

# Exit Checks

- every relevant Java convention area was either handled through a child skill
  or explicitly skipped as not applicable
- any Lombok addition or omission is explicitly justified for the bounded Java
  change
- Java literal-template strings use `String.format(...)` unless a hot-loop or
  append-heavy exception justifies `StringBuilder`
- `Optional` usage stays limited to meaningful Java return-value absence unless
  a strong documented reason justifies a bounded exception
- the final result preserves the child-skill guardrails rather than replacing
  them

From fabian-barney/ai-skills, Apache-2.0.

More from fabian-barney/ai-skills

Signals

Stars
1
Forks
0
Open issues
2
Last commit (this folder)
May 17, 2026 (5 months ago)
Last release
Jun 2, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from fabian-barney

Cite this page

ai-skills-conventions-java. Agent Mart. https://agentmart.dev/skills/fabian-barney-ai-skills-conventions-java (last updated 2026-10-24)