Claude Code Java banner
decebals decebals

Claude Code Java

DevOps community intermediate

Description

Reusable AI development infrastructure for Java projects, optimized for Claude Code

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

claude-code-java

Reusable AI development infrastructure for Java projects, optimized for Claude Code

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

*This project is not affiliated with Anthropic.*

What is this?

A collection of reusable components for [Claude Code](https://docs.anthropic.com/en/docs/claude-code) - Anthropic's agentic coding tool. The core of this project is a set of **skills** (structured markdown files that provide Claude with domain knowledge and workflows), but it also includes project templates, MCP server configurations, and setup scripts.

**Who is this for?** Java developers using Claude Code who want consistent, high-quality AI assistance for common tasks like code reviews, testing, commits, and architecture decisions.

Purpose

AI-powered development workflows with focus on:

  • Token efficiency - Designed for fewer iterations and lower token usage
  • Reproducible patterns - Reusable workflows across projects
  • Java ecosystem - Tailored for Java/Maven development
  • Incremental adoption - Start small, expand as needed

Quick Start

1. Clone this workspace

git clone https://github.com/decebals/claude-code-java.git ~/projects/claude-code-java
cd ~/projects/claude-code-java
chmod +x scripts/*.sh

2. Setup your Java project

./scripts/setup-project.sh ~/projects/your-java-project

This creates `.claude/` with symlinked skills, generates `CLAUDE.md`, and configures settings.

**Prefer manual setup?** Just copy or symlink the skills you want:

mkdir -p your-project/.claude/skills

# Copy specific skills
cp -r ~/projects/claude-code-java/.claude/skills/java-code-review your-project/.claude/skills/

# Or symlink all skills
ln -s ~/projects/claude-code-java/.claude/skills/* your-project/.claude/skills/

3. Use with Claude Code

cd ~/projects/your-java-project
claude

# Skills load automatically based on context, or invoke directly:
> /git-commit
> /java-code-review

Available Skills (18)

Skills are automatically loaded by Claude Code based on context.

Workflow

Skill Trigger Examples
**git-commit** "commit these changes", "create commit"
**changelog-generator** "generate changelog", "what changed since release"
**issue-triage** "triage issues", "check open issues"

Code Quality

Skill Trigger Examples
**java-code-review** "review this code", "check this PR"
**api-contract-review** "review API", "check REST endpoints"
**concurrency-review** "check thread safety", "review async code"
**performance-smell-detection**