code-splitter-adapter

Community

Standardize code splitting across multiple languages with LangChain and LlamaIndex.

Authorbettercallfan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a standardized approach to code splitting, facilitating the integration of multiple programming languages across diverse projects.

Core Features & Use Cases

  • Unified Interface: Offers a consistent split_code method, abstracting the underlying differences between LangChain and LlamaIndex implementations.
  • Multiple Strategies: Supports both LangChain and LlamaIndex code splitting strategies for flexible application.
  • Multi-Language Support: Handles code splitting for a variety of programming languages.
  • Error Handling: Provides friendly error messages for LlamaIndex parsing failures.
  • Metadata Support: Allows for additional metadata to be appended to split code fragments.
  • Use Case: For developers looking to modularize their codebase across different languages, this Skill can help streamline the process of splitting and managing code snippets.

Quick Start

To split Python code using the code-splitter-adapter, simply call the split_code method with the appropriate parameters.

Dependency Matrix

Required Modules

langchain-text-splittersllama-indextree-sitter

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: code-splitter-adapter
Download link: https://github.com/bettercallfan/deerflow/archive/main.zip#code-splitter-adapter

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.