langchain-prompt-engineering
Manage LangChain 1.0 prompts like code \u2014 LangSmith prompt hub versioning,\n\ XML-tag conventions for Claude, few-shot example selection, discriminated-union\n\ extraction schemas, and A/B test wiring. Use when taking ad-hoc prompts into\nversion\ \ control, migrating prompts from f-strings to ChatPromptTemplate,\noptimizing prompts\ \ for Claude vs GPT-4o vs Gemini, or A/B testing a prompt\nchange. Trigger with\ \ \"langchain prompt hub\", \"langsmith prompts\",\n\"prompt versioning\", \"claude\ \ xml prompt\", \"few-shot example selector\",\n\"prompt engineering\".\n"
npx skills add jeremylongshore/claude-code-plugins-plus-skills --skill langchain-prompt-engineering --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# LangChain Prompt Engineering (Python) ## Overview A team inherits a LangChain 1.0 codebase with **47 prompt strings** embedded as f-string literals across 12 Python files. Nobody knows which version is live in production. Rollback is git-only — requires a deploy. An A/B test on a single prompt requires shipping code and running two services in parallel. A user pastes a JSON snippet containing `{
What does the langchain-prompt-engineering skill do?
Manage LangChain 1.0 prompts like code \u2014 LangSmith prompt hub versioning,\n\ XML-tag conventions for Claude, few-shot example selection, discriminated-union\n\ extraction schemas, and A/B test wiring. Use when taking ad-hoc prompts into\nversion\ \ control, migrating prompts from f-strings to ChatPromptTemplate,\noptimizing prompts\ \ for Claude vs GPT-4o vs Gemini, or A/B testing a prompt\nchange. Trigger with\ \ \"langchain prompt hub\", \"langsmith prompts\",\n\"prompt versioning\", \"claude\ \ xml prompt\", \"few-shot example selector\",\n\"prompt engineering\".\n"
How do I install it?
Run `npx skills add jeremylongshore/claude-code-plugins-plus-skills --skill langchain-prompt-engineering --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From jeremylongshore/claude-code-plugins-plus-skills, a repository with 2,596 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
