lg-scaffold

Generate runnable LangGraph TypeScript scaffolds from design documents or one-liners.

4|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/markhazlett/agent-harness --skill lg-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lg-scaffold
Source: https://github.com/markhazlett/agent-harness/tree/main/.claude/skills/lg-scaffold
Command: npx skills add https://github.com/markhazlett/agent-harness --skill lg-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffold LangChain/LangGraph agents in TypeScript quickly from a design doc or one-liner, eliminating boilerplate and setup time.

Core Features & Use Cases

  • Generates runnable LangGraph v1 TypeScript scaffolds from a design doc or one-liner description, selecting the appropriate template (createAgent / raw StateGraph / Deep Agent / multi-agent).
  • Wires LangSmith tracing options and produces a smoke test and a ready-to-run project layout for fast iteration.
  • Hand-offs from /lg-design or standalone quick-mode to scaffold in a reproducible, testable footprint suitable for production-grade agents.

Quick Start

Run /lg-scaffold with a design doc path or a descriptive prompt to generate a ready-to-run LangChain/LangGraph scaffold.

Frequently Asked Questions about lg-scaffold

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a LangChain agent in TypeScript quickly?

Scaffolding a LangChain agent in TypeScript requires a design document or descriptive prompt, which generates a ready-to-run project layout with appropriate templates and tailored dependencies.

What templates are available when scaffolding LangGraph agents?

Available LangGraph agent templates include createAgent, raw StateGraph, Deep Agent, and multi-agent configurations, selected automatically based on the provided design document or prompt.

Can I generate LangGraph scaffolds with LangSmith tracing and smoke tests?

LangGraph scaffolds support optional LangSmith tracing integration and automatic smoke-test generation, enabling quick validation and fast iteration for production-grade agents.

Does the LangGraph scaffold generator analyze my existing TypeScript project?

The scaffold generator analyzes the host TypeScript project to tailor the footprint and dependency needs, ensuring the generated agent integrates reproducibly and testably into the existing environment.

What is the best way to set up a multi-agent LangGraph project in TypeScript?

Setting up a multi-agent LangGraph project in TypeScript is best handled by providing a design doc to a scaffolding tool that automatically selects the multi-agent template, wires dependencies, and generates a smoke test.