Skip to content
hamelsmu avatar

Generate Synthetic Data

Structured tuple-based test generation that targets anticipated pipeline failures for building LLM eval datasets.

CCM score
75 of 100
skills.sh installs
744
GitHub stars
1.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers a six-step process: define dimensions, draft tuples with the user, generate more tuples, convert them to queries, filter for quality, and run traces
  • Includes prompt templates for tuple generation and query conversion, plus stratified sampling guidance for real user data
  • Enforces separate prompts for tuple and query generation, and a user review of draft tuples before scaling up
  • Designed for bootstrapping eval datasets when real user data is sparse, with a target of about 100 traces

Install

$ npx -y skills add hamelsmu/evals-skills --skill generate-synthetic-data -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Generate Synthetic Data

Generate diverse, realistic test inputs that cover the failure space of an LLM pipeline.

Prerequisites

Before generating synthetic data, identify where the pipeline is likely to fail. Ask the user about known failure-prone areas, review existing user feedback, or form hypotheses from available traces. Dimensions (Step 1) must target anticipated failures, not arbitrary variation.

Core Process

Step 1: Define Dimensions

Dimensions are axes of variation specific to your application. Choose dimensions based on where you expect failures.

Dimension 1: [Name] — [What it captures]
  Values: [value_a, value_b, value_c, ...]

Dimension 2: [Name] — [What it captures]
  Values: [value_a, value_b, value_c, ...]

Dimension 3: [Name] — [What it captures]
  Values: [value_a, value_b, value_c, ...]

Example for a real estate assistant:

Feature: what task the user wants
  Values: [property search, scheduling, email drafting]

Client Persona: who the user serves
  Values: [first-time buyer, investor, luxury buyer]

Scenario Type: query clarity
  Values: [well-specified, ambiguous, out-of-scope]

Details

Repository
github.com/hamelsmu/evals-skills
Categories
AI Agents & LLM Apps, Testing & QA
First seen
Jun 3, 2026

Questions

What does the generate-synthetic-data skill do?

It creates diverse synthetic test inputs for LLM pipeline evaluation using dimension-based tuple generation. It defines axes of variation, drafts tuples of dimension values with the user, and converts each tuple into a realistic natural language query.

When should I use generate-synthetic-data instead of real data?

Use it when bootstrapping an eval dataset, when real user data is sparse, or when stress-testing specific failure hypotheses. Do not use it when you already have 100+ representative real traces, where stratified sampling is the better choice.

How do I install the generate-synthetic-data skill?

Run npx -y skills add hamelsmu/evals-skills --skill generate-synthetic-data -y in a project. The skill then guides your agent through defining dimensions, drafting tuples and generating queries for your pipeline.

Where does generate-synthetic-data stand in the AI Agents & LLM Apps category?

It is listed in the AI Agents & LLM Apps category, alongside microsoft-foundry, azure-ai and several Google agents-cli skills. It is aimed at building eval datasets for LLM pipelines rather than deploying agents.

More from hamelsmu/evals-skills

All 7

Similar to Generate Synthetic Data

More AI Agents & LLM Apps