trainer-synthesize

Generate evals.json manifests and APO train/val JSONL datasets from grounded source data.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/Tyler-R-Kendrick/copilot-auto-training --skill trainer-synthesize-tyler-r-kendrick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trainer-synthesize
Source: https://github.com/Tyler-R-Kendrick/copilot-auto-training/tree/main/skills/trainer-synthesize
Command: npx skills add https://github.com/Tyler-R-Kendrick/copilot-auto-training --skill trainer-synthesize-tyler-r-kendrick

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Turning raw source material like CSV rows, tables, schemas, and business rules into high-quality evaluation cases and training datasets is error-prone, especially when expected outputs must be computed rather than copied. This Skill structures that conversion so eval manifests and APO datasets stay separate, verified, and leakage-free. ## Core Features & Use Cases - Eval manifest authoring: Produces official evals/evals.json cases with realistic prompts, expected outputs, optional files, and objective assertions. - APO dataset generation: Writes explicit datasets/train.jsonl and datasets/val.jsonl files with evaluator-facing fields kept out of the prompt-visible input path. - Verifier-backed synthesis: Computes derived outputs with explicit transforms (map, filter, reduce, joins, rule evaluation) and independently verifies synthetic rows before keeping them. - Use Case: Given grounded support-ticket examples and a prompt file, generate the eval manifest plus train/validation splits with a defensible holdout strategy for a downstream optimizer. ## Quick Start Use the trainer-synthesize skill to build evals/evals.json plus train.jsonl and val.jsonl datasets from my grounded CSV rows for the prompt at prompts/classify_support.md.

Frequently Asked Questions about trainer-synthesize

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

FAQPage Schema
How do I create evals.json and train.jsonl datasets for prompt optimization?

Provide the prompt file, task description, scoring rule, and grounded source rows. The skill derives the canonical evals/evals.json path and datasets directory, computes expected outputs with explicit transforms, and writes train.jsonl and val.jsonl with a defensible holdout split.

How to generate synthetic training data for APO without leaking answers?

Use verifier-backed generation: draft candidate rows, then independently check them with deterministic rules or derived ground truth before keeping them. Keep evaluator-only fields like expected_json and scoring outside the prompt-visible input path.

What is the difference between evals.json and train.jsonl in this workflow?

evals/evals.json holds realistic human-review cases with prompts, expected_output, and assertions. train.jsonl and val.jsonl hold evaluator-facing APO rows with fields like input, expected, criteria, and scoring, and the two must never be blurred together.

When should I not synthesize eval datasets from source data?

Do not synthesize when label taxonomies, normalization rules, scoring modes, or source material are missing or fuzzy. The skill elicits those inputs first rather than inventing hidden labels, thresholds, or tie-breakers.

How are train and validation splits handled with small datasets?

The skill keeps at least one grounded or verified row in both splits and explicitly flags weak or noisy split quality when the source set is small. It never emits empty splits and explains the split rationale in a provenance note.