langchain-debug-bundle

Featured

Collect LangChain debug evidence for troubleshooting and bug reports. Use when preparing GitHub issues, collecting LangSmith traces, or gathering diagnostic info for complex LangChain failures. Trigger: "langchain debug bundle", "langchain diagnostics", "langchain support info", "collect langchain logs", "langchain trace".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# LangChain Debug Bundle ## Current State !`node --version 2>/dev/null || echo 'N/A'` !`python3 --version 2>/dev/null || echo 'N/A'` ## Overview Collect comprehensive diagnostic information for LangChain issues: environment info, dependency versions, chain execution traces, and minimal reproduction scripts. ## Step 1: Environment Snapshot ```typescript import { execSync } from "child_process"; import * as fs from "fs"; function collectEnvironment() { const env: Record<string, string> = {}; env.nodeVersion = process.version; env.platform = `${process.platform} ${process.arch}`; // Get @langchain/* versions try { const pkg = JSON.parse(fs.readFileSync("package.json", "utf-8")); const deps = { ...pkg.dependencies, ...pkg.devDependencies }; for (const [name, version] of Object.entries(deps)) { if (name.startsWith("@langchain") || name === "langchain") { env[name] = version as string; } } } catch {} // Check env vars (redacted) env.OPENAI_API_KEY = process.env.OPENAI_API_KEY ? "set (redacted)" : "NOT SET"; env.ANTHROPIC_API_KEY = process.env.ANTHROPIC_API_KEY ? "set (redacted)" : "NOT SET"; env.LANGSMITH_TRACING = process.env.LANGSMITH_TRACING ?? "NOT SET"; return env; } ``` ## Step 2: Trace Callback for Evidence Collection ```typescript import { BaseCallbackHandler } from "@langchain/core/callbacks/base"; interface TraceEvent { timestamp: string; event: string; data: Record<string, any>; } class DebugT...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

langfuse-debug-bundle

Collect Langfuse debug evidence for support tickets and troubleshooting. Use when encountering persistent issues, preparing support tickets, or collecting diagnostic information for Langfuse problems. Trigger with phrases like "langfuse debug", "langfuse support bundle", "collect langfuse logs", "langfuse diagnostic", "langfuse troubleshoot".

2,266 Updated today
jeremylongshore
AI & Automation Featured

abridge-debug-bundle

Collect Abridge debug evidence for support tickets and troubleshooting. Use when filing Abridge support tickets, collecting diagnostic data, or preparing evidence for escalation to Abridge engineering. Trigger: "abridge debug bundle", "abridge support ticket", "abridge diagnostics", "collect abridge evidence".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langchain-observability

Set up comprehensive observability for LangChain applications with LangSmith tracing, OpenTelemetry, Prometheus metrics, and alerts. Trigger: "langchain monitoring", "langchain metrics", "langchain observability", "langchain tracing", "LangSmith", "langchain alerts".

2,266 Updated today
jeremylongshore
AI & Automation Featured

apollo-debug-bundle

Collect Apollo.io debug evidence for support. Use when preparing support tickets, documenting issues, or gathering diagnostic information for Apollo problems. Trigger with phrases like "apollo debug", "apollo support bundle", "collect apollo diagnostics", "apollo troubleshooting info".

2,266 Updated today
jeremylongshore
AI & Automation Featured

lokalise-debug-bundle

Collect Lokalise debug evidence for support tickets and troubleshooting. Use when encountering persistent issues, preparing support tickets, or collecting diagnostic information for Lokalise problems. Trigger with phrases like "lokalise debug", "lokalise support bundle", "collect lokalise logs", "lokalise diagnostic".

2,266 Updated today
jeremylongshore