After analyzing the latest LangChain documentation (v1, 2025) and the existing plugin structure:
- Rename plugin from
langgraph→langchain-ai - Add RAG skill with comprehensive vector store coverage
- Add LCEL/Chains skill for non-agent workflows (summarization, extraction)
- Plugin Name:
langchain-ai(broader scope, discoverable) - Vector Stores: All major stores (FAISS, Chroma, pgvector, Pinecone, Qdrant, Weaviate)
- Scope: RAG + Advanced Chains (LCEL patterns beyond agents)
The 2025 LangChain documentation reveals a fundamental architectural change:
LangChain (high-level) → built on → LangGraph (low-level)
create_agentis now LangChain's primary API (replaces oldcreateReactAgent)- LangChain agents use LangGraph under the hood for execution
- Legacy chains moved to
langchain_classic
Implication: Your plugin already covers the core LangChain agent API (create_agent) because it's fundamentally a LangGraph construct.
| Area | Coverage | Notes |
|---|---|---|
create_agent (LangChain) |
✅ Complete | High-level agent API |
StateGraph (LangGraph) |
✅ Complete | Low-level control |
| Tools & Tool Binding | ✅ Complete | Both APIs |
| State Management | ✅ Complete | TypedDict, reducers |
| HITL | ✅ Complete | Interrupts, approvals |
| Streaming | ✅ Complete | All modes |
| Error Prevention | ✅ Complete | Comprehensive |
RAG (Retrieval-Augmented Generation) is the major gap:
# RAG Pipeline (NOT covered)
documents = loader.load() # Document loading
chunks = splitter.split_documents(documents) # Text splitting
vectorstore.add_documents(chunks) # Embedding & storing
retriever = vectorstore.as_retriever() # Retrieval
chain = retriever | prompt | llm | parser # GenerationThis is a different mental model:
- Agents: Autonomous decision-making with tools
- RAG: Data pipeline for context augmentation
Pros:
- Single plugin for Python AI development
- Skills auto-select based on task ("build RAG" vs "build agent")
- Shared components (models, prompts) documented once
- Reflects that RAG + Agents are often combined
Cons:
- Plugin scope expands (but focused on same ecosystem)
- Plugin name "langgraph" becomes slightly misleading
Verdict: RECOMMENDED - This is how users actually work.
Pros:
- Clear separation of concerns
- Each plugin stays focused
Cons:
- Users need two plugins for common workflows (RAG agent)
- Duplicated content (model init, prompts)
- Goes against "LangChain is built on LangGraph" relationship
Verdict: Not recommended - Creates artificial separation.
Pros:
- Accurate scope representation
- Room for future expansion
Cons:
- Loses "langgraph" brand recognition
- Breaking change for existing users
- "ai-python" is too generic
Verdict: Optional enhancement - Could rename, but not required.
Challenge: Is RAG complex enough to warrant a skill?
Counter-evidence (yes, it is):
- Chunking is hard: Strategy selection (recursive, semantic, sentence)
- Retrieval quality: k value, score thresholds, re-ranking
- Many gotchas: Embedding dimension mismatches, document metadata loss
- Vector store variance: Each has different setup patterns
- Hybrid patterns: RAG + agents, multi-query retrieval
Verdict: RAG deserves structured guidance, not just code snippets.
langchainSkills/ # Directory stays same
├── .claude-plugin/
│ └── plugin.json # RENAME plugin to 'langchain-ai'
├── skills/
│ ├── langgraph/ # EXISTING - Keep as-is (agents)
│ │ ├── SKILL.md
│ │ └── references/
│ ├── langchain-rag/ # NEW - RAG pipelines
│ │ ├── SKILL.md
│ │ └── references/
│ │ ├── document-loaders.md
│ │ ├── text-splitters.md
│ │ ├── vector-stores.md # All 6 stores
│ │ ├── retriever-patterns.md
│ │ └── common-errors.md
│ └── langchain-chains/ # NEW - LCEL & chains
│ ├── SKILL.md
│ └── references/
│ ├── lcel-fundamentals.md
│ ├── summarization.md
│ ├── extraction.md
│ └── output-parsers.md
├── commands/
│ ├── new-agent.md # EXISTING
│ ├── add-tool.md # EXISTING
│ ├── new-rag.md # NEW - Scaffold RAG
│ └── new-chain.md # NEW - Scaffold chains
└── agents/
├── langgraph-reviewer.md # EXISTING
└── rag-reviewer.md # NEW - Review RAG code
Rename to langchain-ai because:
- Broader scope now includes RAG + LCEL chains
- More discoverable for LangChain users
- Reflects the full ecosystem coverage
Trigger phrases:
- "Build a RAG pipeline"
- "Load documents from..."
- "Create a retrieval chain"
- "Set up vector store"
- "Chunk documents"
Content outline:
- Quick decision: Which vector store?
- Document loading patterns
- Text splitting strategies
- Vector store setup (FAISS, Chroma, Pinecone, pgvector, Qdrant, Weaviate)
- Retriever configuration
- RAG chain composition (LCEL)
- Common errors & fixes
Scaffold a complete RAG pipeline with:
- Document loader selection
- Text splitter configuration
- Vector store initialization
- Retriever setup
- Chain composition
Checks for:
- Missing metadata preservation
- Suboptimal chunk sizes
- Retriever k values
- Embedding dimension mismatches
- Missing error handling for empty retrievals
Trigger phrases:
- "Create a summarization chain"
- "Build an extraction pipeline"
- "Use LCEL to..."
- "Chain multiple prompts"
- "Create a data pipeline"
Content outline:
- LCEL fundamentals (pipe operator, RunnablePassthrough)
- Summarization patterns (stuff, map-reduce, refine)
- Extraction patterns (structured output, Pydantic)
- Prompt chaining (multi-step reasoning)
- Parallel execution (RunnableParallel)
- Fallbacks and retries
- Output parsing patterns
Scaffold common chain patterns:
- Summarization chain
- Extraction chain
- Multi-step reasoning chain
- Update
.claude-plugin/plugin.json:- Change
namefrom "langgraph" to "langchain-ai" - Update description: "Build AI applications with LangChain and LangGraph. Agents, RAG pipelines, and LCEL chains with best practices."
- Add keywords: "langchain", "rag", "retrieval", "vector", "lcel", "chains"
- Change
-
Create
skills/langchain-rag/SKILL.mdwith:- Quick start RAG example
- Decision matrix for vector stores (all 6)
- Critical rules and gotchas
- Links to reference docs
-
Create reference docs:
document-loaders.md- PDF, web, CSV, JSON patternstext-splitters.md- Recursive, semantic, sentence strategiesvector-stores.md- FAISS, Chroma, pgvector, Pinecone, Qdrant, Weaviateretriever-patterns.md- Hybrid, multi-query, contextual compressioncommon-errors.md- RAG-specific error catalog
-
Create
skills/langchain-chains/SKILL.mdwith:- LCEL quick start
- When to use chains vs agents
- Common patterns overview
-
Create reference docs:
lcel-fundamentals.md- Pipe operator, RunnablePassthrough, RunnableParallelsummarization.md- Stuff, map-reduce, refine strategiesextraction.md- Structured output, Pydantic modelsoutput-parsers.md- StrOutputParser, JsonOutputParser, PydanticOutputParser
-
Create
commands/new-rag.md:- Ask vector store preference
- Generate complete RAG scaffold
- Include best practices
-
Create
commands/new-chain.md:- Ask chain type (summarization, extraction, custom)
- Generate appropriate template
- Create
agents/rag-reviewer.md:- Check chunk sizes, overlap
- Check retriever configuration
- Check embedding consistency
- Check error handling
- Document all three skills (agents, RAG, chains)
- Show when to use each
- Installation and usage examples
After implementation:
- Skill triggers:
- "Help me build a RAG pipeline" → langchain-rag skill
- "Create a summarization chain" → langchain-chains skill
- "Build an agent with tools" → langgraph skill (existing)
- Commands:
/langchain-ai:new-ragscaffolds RAG pipeline/langchain-ai:new-chainscaffolds LCEL chain/langchain-ai:new-agentstill works (existing)
- Reviewer:
- Write sample RAG code with issues → rag-reviewer catches them
- No regressions:
- Existing langgraph skill triggers correctly
- Existing commands work with new plugin name
.claude-plugin/plugin.json- Rename to langchain-ai, update description/keywordsREADME.md- Document all three skills
langchain-rag skill (6 files):
skills/langchain-rag/SKILL.mdskills/langchain-rag/references/document-loaders.mdskills/langchain-rag/references/text-splitters.mdskills/langchain-rag/references/vector-stores.mdskills/langchain-rag/references/retriever-patterns.mdskills/langchain-rag/references/common-errors.md
langchain-chains skill (5 files):
skills/langchain-chains/SKILL.mdskills/langchain-chains/references/lcel-fundamentals.mdskills/langchain-chains/references/summarization.mdskills/langchain-chains/references/extraction.mdskills/langchain-chains/references/output-parsers.md
Commands (2 files):
commands/new-rag.mdcommands/new-chain.md
Agents (1 file):
agents/rag-reviewer.md
| Phase | Files | Complexity |
|---|---|---|
| 1. Rename plugin | 1 | Low |
| 2. RAG skill | 6 | High (most content) |
| 3. Chains skill | 5 | Medium |
| 4. Commands | 2 | Medium |
| 5. Agent | 1 | Low |
| 6. README | 1 | Low |
Total: 16 files (2 modified, 14 new)