Agent skill · AI & Agents

langchain4j-ai-services-patterns

Build declarative AI Services with LangChain4j using interface-based patterns, annotations, memory management, tools integration, and advanced application patterns. Use when implementing type-safe AI-powered features with minimal boilerplate code in Java applications.

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill langchain4j-ai-services-patterns --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Version: 1.1.0
Allowed tools: ReadWriteBash
Path: skills/ai-llm/langchain4j-ai-services-patterns/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# LangChain4j AI Services Patterns This skill provides guidance for building declarative AI Services with LangChain4j using interface-based patterns, annotations for system and user messages, memory management, tools integration, and advanced AI application patterns that abstract away low-level LLM interactions. ## When to Use Use this skill when: - Building declarative AI-powered interfaces with minimal boilerplate code - Creating type-safe AI services with Java interfaces and annotations - Implementing conversational AI systems with memory management - Designing AI services that can call external tools and functions - Building multi-agent systems with specialized AI components - Creating AI services with different personas and behaviors - Implementing RAG (Retrieval-Augmented Generation) patterns declaratively - Building production AI applications with proper error handling and validation - Creating AI services that return structured data types (enums, POJOs, lists) - Implementing streaming AI responses with reactive patterns ## Overview LangChain4j AI Services allow you to define AI-powered functionality using plain Java interfaces with annotations, eliminating the need for manu

What's inside
Steps it walks through
  1. When to Use
  2. Overview
  3. Quick Start
  4. Basic AI Service Definition
  5. System Message and Templates
  6. Memory Management
  7. Tool Integration
  8. Examples
  9. API Reference
  10. Best Practices
  11. Dependencies
  12. References
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the langchain4j-ai-services-patterns skill do?

Build declarative AI Services with LangChain4j using interface-based patterns, annotations, memory management, tools integration, and advanced application patterns. Use when implementing type-safe AI-powered features with minimal boilerplate code in Java applications.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill langchain4j-ai-services-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going