Quarkus + LangChain4j + AI Stack
Version: 0.25.0
What this repository is
A small, opinionated, distribution-ready artifact for building AI and agent applications on the
Java stack of Quarkus + LangChain4j. It pairs drop-in always-on coding conventions
(CLAUDE.md for Claude, AGENTS.md for Codex, Bob, and Gemini) with three skills that set up the
prerequisites, scaffold new projects and components, and audit existing projects — all from
working templates. The conventions and templates reflect real-world Quarkus + LangChain4j
practice and a baseline of modern Java, so the guidance captures how these systems are actually
built rather than generic boilerplate.
Quick install — any skills-capable agent

The fastest install on any agent that supports the Agent Skills format —
Claude Code, Codex, Gemini CLI, GitHub Copilot, Cursor, Windsurf, opencode, Amp, IBM Bob, and
dozens more:
npx skills add eldermoraes/quarkus-agentic-scaffolding
The skills.sh CLI detects your agents and installs all three skills
(setup-agentic-scaffolding, scaffold-project, audit-project) into each of them — IBM Bob
included, as a first-class agent. Two things it does not set up, which
/setup-agentic-scaffolding (below) handles for you: the always-on conventions file (CLAUDE.md
for Claude, AGENTS.md for everything else) that lands in your project root, and the required MCP
tooling (Quarkus Agents MCP + context7).
The flow
Three skills, run in order the first time and revisited as needed:
/setup-agentic-scaffolding — user-invoked; run once per machine, then re-visit per
project. Verifies the toolchain (JDK 25 / GraalVM, JBang, a container runtime), registers the
Quarkus Agents MCP + context7 for your agent, and drops the conventions file into your project.
/scaffold-project — creates a new Quarkus + LangChain4j project end-to-end, and also
auto-triggers when you ask to add a component (an AI service, tool, agent/workflow, RAG
pipeline, MCP client or server, or guardrail) to an existing project.
/audit-project — user-invoked; points at an existing project and reports how it
conforms to (or is ready to adopt) the conventions, fixing findings only after you confirm.
Two invocation forms. How you installed the skills decides the slash-command name in Claude
Code: a skills-CLI install (the Quick install above) gives bare names —
/setup-agentic-scaffolding, /scaffold-project, /audit-project; a plugin install (the
per-agent sections below) namespaces them by the plugin id — /quarkus-agentic-scaffolding:setup-agentic-scaffolding,
/quarkus-agentic-scaffolding:scaffold-project, /quarkus-agentic-scaffolding:audit-project. Both refer to the same
skills; use whichever your install produced.
Context7 authentication and launch environment
The Context7 API key is optional and raises rate limits. The stdio server reads
CONTEXT7_API_KEY from the environment of the agent that launches it. For a terminal-launched
agent, export the key in that terminal (preferably obtained from a secret manager) before
starting the agent. A GUI/IDE started from the desktop may not inherit shell-profile exports.
For those clients, use a supported secure environment/secret mechanism, or launch the client
from the configured terminal if it supports that route. Fully restart an existing client after
changing its launch environment.
Keep the key out of registration arguments and plaintext configuration. An ${ENV_VAR}
reference is valid only when that client supports expansion; some clients store it literally.
If no secure delivery route is available, use the optional-key server without authentication
and expect its lower limits. A successful MCP connection, or a presence check in an unrelated
terminal/login shell, does not prove the server inherited the key. Never print the key to verify it.
How to use with Claude
Install the skills (plugin). Add this repository as a plugin marketplace and install it:
/plugin marketplace add eldermoraes/quarkus-agentic-scaffolding
/plugin install quarkus-agentic-scaffolding@eldermoraes
All three skills and the scaffold-project templates/ are installed and auto-discovered. (Or
use the Quick install above, which works for Claude
Code too.)
Set up the prerequisites. Run /setup-agentic-scaffolding (or
/quarkus-agentic-scaffolding:setup-agentic-scaffolding on a plugin install) — it verifies the toolchain,
registers the Quarkus Agents MCP and context7 MCP servers, and drops CLAUDE.md into your
project root. CLAUDE.md §1 makes those two MCP servers non-negotiable for this stack, and the
setup skill is what puts them in place.