coding-java SKILL.md skillA

coding-java from savant0x/savant-code is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add savant0x/savant-code/coding-java@v0.1.0

Pins v0.1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
savant0x/savant-code
Path
.agents/skills/coding-java/SKILL.md
Versions recorded
3
Latest version
v0.1.0, committed Oct 16, 2026
First version recorded
Jul 19, 2026
Size
2,793 bytes
Repository stars
11
License
Apache-2.0

Java naming conventions, exception hierarchy, import patterns, and quality overrides for ECHO Protocol.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Java Coding Standards

<!-- Load this when protocol.config.yaml has language: "java" -->

## Naming Conventions

| Element | Convention | Example |
|---------|-----------|---------|
| Classes | PascalCase | `UserProfile`, `GameState` |
| Interfaces | PascalCase | `Serializable`, `Renderable` |
| Methods | camelCase | `calculateDistance`, `spawnUnit` |
| Variables | camelCase | `playerCount`, `isValid` |
| Constants | UPPER_SNAKE_CASE | `MAX_PLAYERS`, `TILE_SIZE` |
| Enums | PascalCase (class), UPPER_SNAKE_CASE (values) | `TileType.GRASSLAND` |
| Packages | lowercase, reversed domain | `com.example.gameengine` |
| Files | PascalCase.java (match class name) | `UserProfile.java` |

## Patterns

### Error Handling

- Use custom exception hierarchy extending `Exception`
- Catch specific exceptions, never bare `Exception`
- Use try-with-resources for AutoCloseable
- Log at catch points with context

### Concurrency

- Prefer `ExecutorService` over raw threads
- Use `synchronized` or `ReentrantLock` for shared state
- Immutable objects preferred over synchronization
- Use `CompletableFuture` for async composition

### Imports

- Group: java → javax → external → internal
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add savant0x/savant-code/coding-java@sha256:5aefca809f54a768

The line at the top of this page pins the label v0.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_b2uhy6cjqqciz2a3.svg)](https://markdownregistry.com/a/art_b2uhy6cjqqciz2a3)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Jul 19, 2026 and Oct 16, 2026, about one every 45 days.

versioncommittedcommitsizeaudit
v0.1.0 latest2026-10-16 e93106f 2,793 BA view · diff
v0.1.02026-10-16 001e36c 2,536 BA view · diff
git:20260719.d6bc5a12026-07-19 d6bc5a1 2,521 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2793 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

savant0x/savant-code · 11 stars · license Apache-2.0 · pushed 2026-10-31 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_b2uhy6cjqqciz2a3
GET https://markdownregistry.com/api/v1/resolve?ref=savant0x/savant-code/coding-java
GET https://markdownregistry.com/api/v1/blob/5aefca809f54a76832da90af55009b23ed93d53da619bd2a9330adc3c4b59c23

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from savant0x/savant-code

coding-csharp SKILL.md skill
savant0x/savant-code · .agents/skills/coding-csharp/SKILL.md · C# naming conventions, async/await patterns, interface conventions, and quality overrides for ECHO Protocol.
v0.1.0 · audit A · 11 stars
coding-go SKILL.md skill
savant0x/savant-code · .agents/skills/coding-go/SKILL.md · Go naming conventions, concurrency patterns, error handling, and quality overrides for ECHO Protocol.
v0.1.0 · audit A · 11 stars
coding-python SKILL.md skill
savant0x/savant-code · .agents/skills/coding-python/SKILL.md · Python naming conventions, type hints, import patterns, and quality overrides for ECHO Protocol.
v0.1.0 · audit A · 11 stars
coding-rust SKILL.md skill
savant0x/savant-code · .agents/skills/coding-rust/SKILL.md · Rust naming conventions, ownership patterns, error handling, and quality overrides for ECHO Protocol.
v0.1.0 · audit A · 11 stars
coding-typescript SKILL.md skill
savant0x/savant-code · .agents/skills/coding-typescript/SKILL.md · TypeScript naming conventions, patterns, anti-patterns, and quality overrides for ECHO Protocol.
v0.1.0 · audit A · 11 stars
fid-gates-unfenced-parser-contract SKILL.md skill
savant0x/savant-code · .agents/skills/fid-gates-unfenced-parser-contract/SKILL.md · FID gate parser strips fences; declare bare - gate: lines
v0.1.1 · audit A · 11 stars
fid-gates-unfenced-parser-contract SKILL.md skill
savant0x/savant-code · .agents/skills/fid-gates-unfenced-parser-contract/versions/v1/SKILL.md · FID gate parser strips fences; declare bare - gate: lines
v0.1.0 · audit A · 11 stars
library-complete-needs-a-named-consumer SKILL.md skill
savant0x/savant-code · .agents/skills/library-complete-needs-a-named-consumer/SKILL.md · library complete needs a named consumer
v0.1.0 · audit A · 11 stars
library-complete-needs-a-named-consumer SKILL.md skill
savant0x/savant-code · .agents/skills/library-complete-needs-a-named-consumer/versions/v1/SKILL.md · Incomplete arguments for tool read_files; retry the tool cal
v0.1.0 · audit A · 11 stars
minisign-pubkey-vs-secret-key SKILL.md skill
savant0x/savant-code · .agents/skills/minisign-pubkey-vs-secret-key/SKILL.md · Decode the base64 comment line to pick the shareable key
v0.1.1 · audit A · 11 stars
minisign-pubkey-vs-secret-key SKILL.md skill
savant0x/savant-code · .agents/skills/minisign-pubkey-vs-secret-key/versions/v1/SKILL.md · Decode the base64 comment line to pick the shareable key
v0.1.0 · audit A · 11 stars
release-workflow SKILL.md skill
savant0x/savant-code · .agents/skills/release-workflow/SKILL.md · Release cycle conventions for Savant-Code pipeline releases
v0.3.0 · audit A · 11 stars

Every file in savant0x/savant-code

Browse by kind, by grade A, or by owner.