Reusable AI development infrastructure for Java projects, optimized for Claude Code This project is not affiliated with Anthropic.
$ npx -y skills add decebals/claude-code-java --agent claude-code
Run the curl in your terminal, the rest in Claude Code.
What's inside
Reusable AI development infrastructure for Java projects, optimized for Claude Code
This project is not affiliated with Anthropic.
A collection of reusable components for 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.
AI-powered development workflows with focus on:
git clone https://github.com/decebals/claude-code-java.git ~/projects/claude-code-java
cd ~/projects/claude-code-java
chmod +x scripts/*.sh
./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/
cd ~/projects/your-java-project
claude
# Skills load automatically based on context, or invoke directly:
> /git-commit
> /java-code-review
Skills are automatically loaded by Claude Code based on context.
| 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" |
| 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 | "check performance", "find slow code" |
| test-quality | "add tests", "improve coverage" |
| maven-dependency-audit | "check dependencies", "audit deps" |
| security-audit | "security review", "check OWASP", "vulnerabilities" |
| Skill | Trigger Examples |
|---|---|
| architecture-review | "review architecture", "check package structure" |
| solid-principles | "check SOLID", "single responsibility" |
| design-patterns | "use factory pattern", "implement strategy" |
| clean-code | "clean this code", "refactor" |
| Skill | Trigger Examples |
|---|---|
| spring-boot-patterns | "create controller", "Spring Boot help" |
| java-migration | "upgrade to Java 21", "migrate from Java 8" |
| jpa-patterns | "N+1 problem", "LazyInitializationException" |
| logging-patterns | "add logging", "debug this flow", "analyze logs" |
See .claude/skills/README.md for full documentation and docs/SCRIPTS.md for setup script options.
claude-code-java/
โโโ README.md # This file
โโโ LICENSE # MIT license
โโโ .gitignore # Git ignore rules
โโโ .claude/
โ โโโ skills/ # 18 reusable skills (see Available Skills above)
โโโ docs/ # Guidelines and best practices
โ โโโ DESIGN_PRINCIPLES.md # Core philosophy
โ โโโ RED_FLAGS.md # Warning signs to watch for
โ โโโ SAFE_WORKFLOWS.md # Step-by-step safe workflows
โ โโโ SCRIPTS.md # Scripts documentation
โ โโโ SKILL_GUIDELINES.md # How to create new skills
โ โโโ TESTING.md # Testing strategy
โโโ templates/
โ โโโ CLAUDE.md.template # Template for projects
โ โโโ mcp-config.json.template # MCP configuration template
โ โโโ MCP_CONFIG.md.template # MCP documentation template
โ โโโ settings.json.template # Claude Code settings (pre-approved commands)
โโโ scripts/
โโโ setup-project.sh # Full project setup (orchestrator)
โโโ link-skills.sh # Symlink skills to project
โโโ generate-claude-md.sh # Generate CLAUDE.md
โโโ configure-mcp.sh # Configure MCP servers
โโโ test-all.sh # Run all tests
Track these to validate effectiveness:
These skills are not just for code generation โ they are also used as the single source of truth for automated code review via skill-review, a reusable GitHub Actions workflow that evaluates pull requests against the same skills that Claude Code uses during development.
Same skills. From generation to review. See skill-review-sandbox for a working example.
Skills are evolving based on real-world usage. Try them, open issues, share what works.
See docs/ for detailed guides:
MIT License - Use freely, modify as needed.
.claude/
skills/
api-contract-review/
README.md
SKILL.md
architecture-review/
README.md
SKILL.md
changelog-generator/
README.md
SKILL.md
clean-code/
README.md
SKILL.md
concurrency-review/
README.md
SKILL.md
design-patterns/
README.md
SKILL.md
git-commit/
README.md
SKILL.md
issue-triage/
README.md
SKILL.md
java-code-review/
README.md
SKILL.md
java-migration/
README.md
SKILL.md
jpa-patterns/
README.md
SKILL.md
logging-patterns/
README.md
SKILL.md
maven-dependency-audit/
README.md
SKILL.md
performance-smell-detection/
README.md
SKILL.md
README.md
security-audit/
README.md
SKILL.md
solid-principles/
README.md
SKILL.md
spring-boot-patterns/
README.md
SKILL.md
test-quality/
README.md
SKILL.md
.github/
workflows/
skill-review.yml
.gitignore
docs/
DESIGN_PRINCIPLES.md
RED_FLAGS.md
SAFE_WORKFLOWS.md
SCRIPTS.md
SKILL_GUIDELINES.md
TESTING.md
LICENSE
README.md
scripts/
configure-mcp.sh
configure-settings.sh
generate-claude-md.sh
link-skills.sh
setup-project.sh
test-all.sh
templates/
CLAUDE.md.template
MCP_CONFIG.md.template
mcp-config.json.template
settings.json.templateFAQ
claude-code-java is a Claude Code plugin with 18 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes api-contract-review, architecture-review, changelog-generator. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.