Skip to content

Base Java + Codex integration template. Includes SLF4J/Logback logging, Javadoc and inline comment conventions, Spotless + Checkstyle automation, and Codex agent scaffolding for documentation and quality enforcement.

Notifications You must be signed in to change notification settings

eddocg/codex-java-template

Repository files navigation

Codex Java Template

Java + Gradle starter with:

  • SLF4J API + Logback for logging
  • Javadoc and inline comment/TODO conventions
  • Codex agents to manage docs and code quality
  • Spotless and Checkstyle

Requirements

  • JDK 17+
  • Gradle 8+ (wrapper included)

Quick start

./gradlew run
./gradlew spotlessApply check

Project layout

.
├── codex/                 # Agents, conventions, prompts
├── src/main/java/         # Source
├── src/test/java/         # Tests
├── build.gradle           # Build
└── config/                # Tooling configs (checkstyle, etc.)

Git hook (optional)

# Install pre-commit to format and run checks locally
chmod +x scripts/pre-commit
ln -sf ../../scripts/pre-commit .git/hooks/pre-commit

git clone https://github.com/<your-username>/codex-java-template my-new-project

Notes

  • Use @DocGuardian in your Codex workflow to scan and fix Javadoc.
  • Use @CodeGuardian to enforce style and run spotless + checkstyle automatically.

About

Base Java + Codex integration template. Includes SLF4J/Logback logging, Javadoc and inline comment conventions, Spotless + Checkstyle automation, and Codex agent scaffolding for documentation and quality enforcement.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published