
Duo LLM feature engineering
Makes an LLM feature hold its quality over thousands of calls, not just in a demo
Duo LLM feature engineering is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 10
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Duo LLM feature engineering
This skill gives an AI coding agent a set of design patterns for building LLM and agent features that keep working in production. It covers how to structure a prompt as a fixed constraint section plus per-call slots, how to split a long conversation into one narrow prompt per step, and how to isolate high-stakes generation into its own call. It also covers quality control at volume: over-generating candidates, scoring them against named criteria, and preferring curated in-domain examples over adding more instructions.
The guidance is organized as linked reference notes grouped by prompt structure, decomposition, quality bars, and bounding model behaviour, with sibling skills pointing to related topics such as agent infrastructure, reliability, rules and experimentation. The skill itself is written as guidance rather than executable tooling; it ships no scripts.
It is intended for someone who is already building an LLM feature and is seeing drift, rambling conversations or degraded output as rules are added. The patterns are distilled from public engineering writing and are meant to be applied to the reader's own product.
When your agent uses it
Make an LLM or agent feature survive its ten-thousandth call — split the prompt into a fixed constraint zone and per-instance slots, decompose a long interaction into one narrow prompt per move, isolate the high-stakes generation into its own call, over-generate and let expert-owned evaluators hold the quality bar, prefer examples from your own corpus over more instructions, and carry memory as extracted facts not replayed transcripts. Use when a prompt works in a demo but drifts in production, when output gets worse as you add rules, when an AI conversation rambles or never ends, or when scaling generated content without losing the bar. Triggers on phrases like prompt template, prompt engineering, my prompt got worse, LLM feature quality, AI content pipeline, agent memory, LLM as a judge, generate variations, hallucination guardrails, chatbot ignores the user.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 11 files (46 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the duolingo plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add HKTITAN/duolingo
/plugin install duolingo@duolingoOr copy only this skill to ~/.claude/skills/duo-llm-feature-engineering:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/HKTITAN/duolingo.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/duo-llm-feature-engineering &&
cp -R "$tmp/skills/duo-llm-feature-engineering" ~/.claude/skills/duo-llm-feature-engineering &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/duo-llm-feature-engineering inside it instead.
Copy the skill folder to ~/.agents/skills/duo-llm-feature-engineering to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/HKTITAN/duolingo.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/duo-llm-feature-engineering &&
cp -R "$tmp/skills/duo-llm-feature-engineering" ~/.agents/skills/duo-llm-feature-engineering &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/duo-llm-feature-engineering inside it instead.
Copy the skill folder to ~/.cursor/skills/duo-llm-feature-engineering to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/HKTITAN/duolingo.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/duo-llm-feature-engineering &&
cp -R "$tmp/skills/duo-llm-feature-engineering" ~/.cursor/skills/duo-llm-feature-engineering &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/duo-llm-feature-engineering inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/HKTITAN/duolingo.git --path skills/duo-llm-feature-engineeringOr copy the folder to ~/.gemini/skills/duo-llm-feature-engineering yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/duo-llm-feature-engineering:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/HKTITAN/duolingo.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/duo-llm-feature-engineering &&
cp -R "$tmp/skills/duo-llm-feature-engineering" ~/.copilot/skills/duo-llm-feature-engineering &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/duo-llm-feature-engineering inside it instead.
Get the folder:
git clone --depth 1 https://github.com/HKTITAN/duolingo.gitThen copy duolingo/skills/duo-llm-feature-engineering into your agent's skills folder as duo-llm-feature-engineering. Agents that support SKILL.md read one folder per skill.
What it does
- Prompt template structure
- Separates fixed constraints from per-instance slots so operators supply judgement rather than format.
- Conversation decomposition
- Breaks a long interaction into a small state machine with one narrow prompt per move and a programmed ending.
- Isolated high-stakes generation
- Moves critical outputs into their own model call so competing rules do not sacrifice the key constraint.
- Over-generate and filter
- Generates many candidates, scores them against named criteria, and reuses rejects as hard negatives.
- Memory as extracted facts
- Stores a bounded, typed list of facts at session boundaries instead of replaying full transcripts.
- Example-led prompt tuning
- Favours curated in-domain examples over additional rules when output quality is poor.
Good for
- Fix a prompt that works in testing but drifts in production
- Stop a chatbot from ignoring what the user said
- Make an AI conversation end cleanly instead of rambling
- Set up an LLM-as-a-judge step to score generated content
- Scale generated variations without losing quality
- Add memory to an agent without replaying whole transcripts
Duo LLM feature engineering FAQ
What does Duo LLM feature engineering change in my project?
It provides guidance and linked reference notes on structuring prompts, decomposing conversations and holding quality at volume. It does not include scripts that edit code.
When does Duo LLM feature engineering trigger?
It is meant to apply when a prompt works in a demo but drifts in production, when output worsens as rules are added, when a conversation rambles, or when scaling generated content, and on phrases such as prompt template, prompt engineering and LLM as a judge.
Does Duo LLM feature engineering need any tools or scripts?
The skill lists no scripts and does not set allowed tools.
What is the license?
The skill is released under the MIT license.
How do I install Duo LLM feature engineering in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/duo-llm-feature-engineering to use it in all your projects, or to .claude/skills/duo-llm-feature-engineering in one project. Or install the duolingo plugin, which includes it: /plugin marketplace add HKTITAN/duolingo, then /plugin install duolingo@duolingo.
Does Duo LLM feature engineering run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Duo LLM feature engineering?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Duo LLM feature engineering?
The closest alternatives to Duo LLM feature engineering are Duo AI agent platform, Duo ML in production, LLM evals, Skill creator and Agentic eval.
Where this comes from
- Description: from the skill's own SKILL.md.
More from HKTITAN/duolingo

Helps an agent set exercise difficulty to a target band and audit whether an adaptive
- Open source
- 10 GitHub stars
- Education and exam prep

Guides growth planning for acquisition, referrals and brand-led marketing without hurting
- Open source
- 10 GitHub stars
- Marketing and SEO

Helps keep learners attempting tasks they think they are bad at
- Open source
- 10 GitHub stars
- Education and exam prep

Guides an agent through localizing a product for new languages, scripts and markets
- Open source
- 10 GitHub stars
- Developer tools

Guides segmenting product users by their declared reason for being there
- Open source
- 10 GitHub stars
- Analytics and data

Guides product teams on progress numbers, unit length and honest timelines that keep users
- Open source
- 10 GitHub stars
- Education and exam prep



