faker-data

Generate and roll back test data for Frappe/ERPNext DocTypes.

2|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/wreckage0907/frappe_faker --skill faker-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: faker-data
Source: https://github.com/wreckage0907/frappe_faker/tree/main/.claude/skills/faker-data
Command: npx skills add https://github.com/wreckage0907/frappe_faker --skill faker-data

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill solves the problem of generating realistic, correctly-linked test data for any Frappe/ERPNext DocType quickly and securely, with the option to roll back changes in one click.

Core Features & Use Cases

  • Quick Test Data Generation: Automates the generation of test data with dependencies, linked records, and foreign key management.
  • AI-Driven Data Creation: Uses AI to generate realistic data for specific DocTypes based on user instructions.
  • Batch Tracking and Rollback: Tracks all data generation in batches and allows for easy rollback of all changes in one operation.
  • Use Case: Perfect for testing API integrations, demos, or local environments where real data is needed.

Quick Start

Generate 5 Sales Orders and their dependencies using Frappe Faker with the following command: bench --site mysite faker generate --doctype "Sales Order" --count 5

Frequently Asked Questions about faker-data

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

FAQPage Schema
How do I generate test data for Frappe and ERPnext DocTypes?

To generate test data for Frappe and ERPnext, use the bench faker generate command, specifying the target DocType and desired count. The Skill uses AI to create realistic records while handling complex dependencies and foreign keys.

Can I rollback generated ERPnext test records in one click?

Yes, you can rollback generated ERPnext test records easily. The Skill tracks all data generation in batches, allowing you to undo and rollback all inserted changes in one operation to keep your environment clean.

Do I need to install any dependencies to create realistic test data in Frappe?

Yes, you need to install the Frappe Faker app as a required dependency to create realistic test data in Frappe. This app provides the underlying functionality for the AI to generate and link records for your DocTypes.

What is the best way to create linked Frappe records for API integration testing?

The best way to create linked Frappe records for API integration testing is using an AI-driven batch generation tool. It automatically maps foreign keys and dependencies, enabling you to populate a local environment with accurate, related demo data.

How does AI handle foreign keys when generating ERPnext test data?

AI handles foreign keys by automatically resolving complex dependencies when generating ERPnext test data. It analyzes DocType relationships to create correctly linked records, ensuring referential integrity without manual mapping.