·generate-factory
{}

generate-factory

jmagly/ai-writing-guide

Auto-generate test data factories from schemas, types, or models. Use when creating test data infrastructure, setting up fixtures, or reducing test setup boilerplate.

1Installs·0Trend·@jmagly

Installation

$npx skills add https://github.com/jmagly/ai-writing-guide --skill generate-factory

SKILL.md

Auto-generate test data factories from database schemas, TypeScript interfaces, or model definitions. Factories produce realistic test data using Faker.js patterns, reducing test setup time by 60%.

| Factory Pattern | ThoughtBot | FactoryBot | | Faker.js | Open Source | fakerjs.dev | | Test Data Management | ISTQB | CT-TAS Test Automation Strategy | | Synthetic Data | Tonic.ai | Faker Best Practices |

| "Generate factory for User model" | Create user factory | | "Create test data factories" | Generate factories for all models | | "Add faker to tests" | Integrate faker with existing tests | | "Make test data realistic" | Convert hard-coded to factory | | "Generate fixtures from schema" | Schema-aware factory generation |

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/jmagly/ai-writing-guide --skill generate-factory
Category
{}Data Analysis
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is generate-factory?

Auto-generate test data factories from schemas, types, or models. Use when creating test data infrastructure, setting up fixtures, or reducing test setup boilerplate. Source: jmagly/ai-writing-guide.

How do I install generate-factory?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/jmagly/ai-writing-guide --skill generate-factory Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/jmagly/ai-writing-guide