Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

synthetic-data-toolkit

БесплатноБез исполняемых скриптовНе проверен

Use whenever someone asks for test factories or a FactoryBot setup, even a quick one: factories with traits and associations (Ruby, Rails), Mimesis bulk data…

testlandот testland★ 18 звёзд на GitHub

Об этом скилле

synthetic-data-toolkit

Overview

Synthetic-data generation has the same conceptual job in every language: produce realistic field values, optionally compose them into typed object graphs. But the canonical library differs per language. This umbrella routes the team to the right one, shows side-by-side equivalents so a reviewer recognizes the patterns regardless of language, and carries the full per-tool workflows (install, authoring, seeding, anti-patterns) in references/.

When to use

  • Starting test-data work on a new project; the team is choosing a library.
  • The project needs typed factory orchestration (FactoryBot / Bogus) or a .NET / mimesis-specific workflow.
  • A polyglot codebase needs equivalent fixture patterns across multiple languages.
  • An RFC or onboarding doc needs "here's how we do test data, in one page."

If the project just needs plain field values in Python / JS / Ruby, defer to faker-data - the default of the family. The per-tool workflows this umbrella carries:

Dispatch by language

Project language?
├── Python
│   ├── Need typed-dict / schema-based bulk generation?
│   │   └── Yes → references/mimesis.md (faster + typed schema-Field pattern)
│   └── No  → faker-data (Python `faker`, larger ecosystem)
├── JavaScript / TypeScript
│   ├── Browser or Node?  → faker-data (`@faker-js/faker`)
│   └── Need factory orchestration with referential integrity?
│       └── Hand-rolled with Faker as the engine; no canonical factory library yet.
├── Ruby
│   ├── Need factory orchestration?  → references/factory-bot.md (FactoryBot + Faker as engine)
│   └── Just values?                  → faker-data (`faker-ruby` gem)
├── .NET (C# / F# / VB.NET)
│   └── references/bogus.md (only canonical option in the ecosystem)
└── JVM (Java / Kotlin / Scala)
    └── Multiple options (datafaker, easy-random, instancio); not covered here.

Dispatch by job

Job Tool
Random field value (one name, one email) Faker (any language) or mimesis (Python).
Typed-object factory with referential integrity FactoryBot (Ruby) / Bogus (.NET) / hand-roll (Python+factory_boy, JS+fishery).
Locale-aware data (Japanese names, German addresses) mimesis (Python; 46 locales) or Faker (any; 70+ locales).
Bulk generation (10k+ rows for DB seeding) mimesis Schema/Field (Python) or Bogus GenerateLazy (.NET).
Realistic but deterministic (seed-driven for repro) All four - every library supports a seed; pin the version.
Adversarial / security payloads None of these - use malicious-payload-bank.
Realistic-but-fake PII for non-prod synthetic-pii-generator (sibling skill that wraps Faker / mimesis).

Per-tool workflow overview

Each tool's full workflow (install, authoring, test-framework integration, anti-patterns, limitations) lives in its reference page; the shape at a glance:

FactoryBot (Ruby) - references/factory-bot.md

The canonical Ruby fixture-factory library (factory_bot-readme). Define one base factory per model, add trait blocks for variants, wire Faker into attribute blocks for values, and pick the weakest build strategy that still tests what you need (build_stubbed >> build >> create):

FactoryBot.define do
  factory :user do
    name  { Faker::Name.name }
    trait :admin do role { "admin" } end
  end
end
user = create(:user, :admin)

Mimesis (Python) - references/mimesis.md

Fast, type-hinted, 46-locale Python generator (mimesis-readme). Use Generic for multi-provider fixtures and the Schema / Field pattern for typed-dict bulk generation (10k+ rows):

from mimesis import Generic, Locale
g = Generic(Locale.EN, seed=42)
user = {"name": g.person.full_name(), "email": g.person.email()}

Bogus (.NET) - references/bogus.md

The canonical .NET generator (bogus-readme): typed Faker<T> builders with fluent .RuleFor per property. Always use .StrictMode(true) (fa

Полный SKILL.md на GitHub

Установить synthetic-data-toolkit в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.tessl-plugin/plugin.jsonreferences/bogus.mdreferences/factory-bot.mdreferences/language-variants.mdreferences/mimesis.md

FAQ

Что делает скилл synthetic-data-toolkit?

Use whenever someone asks for test factories or a FactoryBot setup, even a quick one: factories with traits and associations (Ruby, Rails), Mimesis bulk data (Python), Bogus Faker<T> builders (.NET), or which generator fits. Same fixture in each tool; plain fake values stay with faker-data.

Как установить скилл synthetic-data-toolkit?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл synthetic-data-toolkit запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить synthetic-data-toolkit с