docs-code-samples

Installation
SKILL.md

docs-code-samples

Overview

This skill documents the workflow for moving inline code samples from LangChain documentation into standalone, testable files that this repo extracts into snippets for use in MDX using Mintlify.

When to use

  • Migrating inline Python, TypeScript/JavaScript, or Java code blocks from MDX to external files
  • Creating runnable, testable code samples for documentation
  • Setting up snippet extraction and Mintlify snippet includes

Directory structure

Code samples live under src/code-samples/ in folders that match the product:

Installs
5
GitHub Stars
384
First Seen
Jul 2, 2026
docs-code-samples — langchain-ai/docs