build-langchain-ts-app
Build LangChain TypeScript App
Build LangChain.js v1 and LangGraph.js applications in TypeScript. Choose one implementation path before coding, keep the spine small, and load only the bundled references the chosen path needs.
When to use this skill
- Building a tool-calling assistant with
createAgentfromlangchainand Zod-typed tools. - Wiring a RAG pipeline with a
Documentloader, splitter, embeddings, vector store, and retriever. - Authoring a raw
StateGraphfrom@langchain/langgraphwith explicit state, routing, fan-out/fan-in, or interrupts. - Adding structured output via
withStructuredOutput,responseFormat,toolStrategy, orproviderStrategy. - Streaming tokens, events, or graph updates back to a UI/API and handling cancellation.
- Persisting agent/graph state with checkpointers, stores, or
thread_id-keyed memory. - Connecting MCP servers as namespaced tools through
@langchain/mcp-adapters. - Composing supervisor/router/handoff multi-agent or knowledge-domain agents in TypeScript.
Do not use this skill when:
- The codebase is Python LangChain / LangGraph — TypeScript-only patterns here will mislead.
- A simple single-provider chat call (e.g.,
openai.chat.completions.create) is enough — pull in the provider SDK directly.
More from yigitkonur/skills-by-yigitkonur
run-research
Use skill if you are answering one technical research question with current web evidence, Reddit practitioner experience, and source-backed synthesis, optionally fanned out across parallel subagents.
42run-agent-browser
Use skill if you are driving the agent-browser CLI for ad hoc browser automation — @ref snapshots, sessions, forms, extraction, screenshots, headed/stealth, or provider runs.
38publish-npm-package
Use skill if you are publishing to npm via GitHub Actions release workflow with trusted publishing, NPM_TOKEN, provenance, semantic-release, changesets, release-please, or fixing npm publish CI.
35init-agent-config
Use skill if you are creating, auditing, or migrating CLAUDE.md, AGENTS.md, or REVIEW.md instruction files, folder-scoped agent guidance, or cross-agent companion entrypoints.
34build-mcp-use-server
Use skill if you are building TypeScript MCP servers with mcp-use/server — server.tool, response helpers, ctx.auth, sessions, transports, widgets, Inspector, deploy.
34build-skills
Use skill if you are creating or substantially revising a Claude skill and need workspace-first evidence, remote comparison, and repo-fit synthesis before writing SKILL.md.
32