CtrlK
BlogDocsLog inGet started
Tessl Logo

langchain4j-rag-implementation-patterns

Implement Retrieval-Augmented Generation (RAG) systems with LangChain4j. Build document ingestion pipelines, embedding stores, vector search strategies, and knowledge-enhanced AI applications. Use when creating question-answering systems over document collections or AI assistants with external knowledge bases.

Install with Tessl CLI

npx tessl i github:giuseppe-trisciuoglio/developer-kit --skill langchain4j-rag-implementation-patterns
What are skills?

Overall
score

84%

Does it follow best practices?

Validation for skill structure

SKILL.md
Review
Evals

Discovery

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

This is a well-crafted skill description that excels across all dimensions. It provides specific concrete actions, includes natural trigger terms that users would actually say, explicitly states both what the skill does and when to use it, and occupies a clear niche that distinguishes it from other skills.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: 'Build document ingestion pipelines, embedding stores, vector search strategies, and knowledge-enhanced AI applications.' These are concrete, actionable capabilities.

3 / 3

Completeness

Clearly answers both what (implement RAG systems, build pipelines, embedding stores, vector search) AND when ('Use when creating question-answering systems over document collections or AI assistants with external knowledge bases').

3 / 3

Trigger Term Quality

Includes strong natural keywords users would say: 'RAG', 'Retrieval-Augmented Generation', 'LangChain4j', 'document ingestion', 'embedding stores', 'vector search', 'question-answering systems', 'knowledge bases', 'AI assistants'.

3 / 3

Distinctiveness Conflict Risk

Very specific niche combining LangChain4j with RAG systems. The combination of 'LangChain4j', 'RAG', 'embedding stores', and 'vector search' creates a distinct trigger profile unlikely to conflict with general document or AI skills.

3 / 3

Total

12

/

12

Passed

Implementation

73%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This is a solid, actionable skill with excellent code examples and good organization. The main weaknesses are verbosity in the introduction section and missing validation/verification steps in the workflow (e.g., verifying embeddings were stored correctly, testing retrieval before production use). The code quality is high and follows Spring Boot conventions well.

Suggestions

Add validation checkpoints after document ingestion (e.g., verify embedding count, test retrieval with known query) to catch silent failures early

Condense the 'When to Use This Skill' section to 3-4 key use cases - Claude can infer related scenarios

Remove the RAG definition in Overview - Claude knows what RAG is; jump straight to implementation details

DimensionReasoningScore

Conciseness

The skill is reasonably efficient but includes some unnecessary explanation (e.g., 'RAG enhances language models by providing relevant context' is something Claude knows). The 'When to Use This Skill' section is overly verbose with 10 bullet points that could be condensed.

2 / 3

Actionability

Provides fully executable Java code examples with proper imports, annotations, and complete method implementations. Code is copy-paste ready with concrete configurations for embedding models, document ingestion, and content retrieval.

3 / 3

Workflow Clarity

Steps are presented in logical order (Initialize → Setup Ingestion → Configure Retrieval → Create Service), but lacks explicit validation checkpoints. No verification steps after document ingestion or before querying, which is important for RAG systems where bad embeddings cause silent failures.

2 / 3

Progressive Disclosure

Well-structured with clear sections progressing from setup to examples to best practices. References to external files (references.md, examples.md) are clearly signaled at the end. Content is appropriately split between overview and detailed patterns.

3 / 3

Total

10

/

12

Passed

Validation

75%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation12 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

metadata_version

'metadata' field is not a dictionary

Warning

license_field

'license' field is missing

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

12

/

16

Passed

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.