Skip to main content
skill CX Codex

dummy-dataset — Claude Code skill: what it does, how to install

Generates realistic mock datasets with custom columns, business rules, and formats. Helpful for database seeding and product demos.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add phuryn/pm-skills --skill dummy-dataset -a claude-code
Open on GitHub

What dummy-dataset does

This skill builds mock datasets or runnable generators directly from field definitions. It takes the target domain, requested columns, row counts, and output preferences. You can request CSV spreadsheets, JSON objects, SQL INSERT statements, or a standalone Python script. The agent structures the schema, injects plausible patterns like valid email domains or recent dates, and verifies the final output.

Custom business logic can shape the data distribution. You can link specific categories to rating ranges or enforce percentage splits across values. By default the skill targets 100 rows, so requesting a Python generation script is safer than asking for raw records when dealing with large tables.

What it helps with

  • generate realistic user profiles and feedback records for staging
  • populate relational databases with structured SQL INSERT statements
  • produce a runnable Python script for custom data generation
  • enforce statistical distributions and field relationships across rows

Example prompts for the agent

  • Generate 150 customer feedback records in CSV format with columns feedback_id, name, email, and rating
  • Create SQL INSERT statements for 100 transactions where failed status only occurs on amounts above 10000
  • Build a Python script that outputs a JSON dataset of user profiles with realistic timestamps and email domains

How to install dummy-dataset

1Skills CLI (Vercel)

npx skills add phuryn/pm-skills --skill dummy-dataset -a claude-code

2Manually: put the files in place

~/.claude/skills/dummy-dataset/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/dummy-dataset/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about dummy-dataset

How to install dummy-dataset in Claude Code?

Run npx skills add phuryn/pm-skills --skill dummy-dataset -a claude-code in your terminal.

Which file formats can dummy-dataset export?

It outputs flat CSV files, structured JSON data, database-ready SQL INSERT statements, or executable Python generation scripts.

How many rows does the skill produce?

The default configuration creates 100 records. You can override this count by specifying the number of rows in your prompt.

Source text

SKILL.md · MIT
---
name: dummy-dataset
description: "Generate realistic dummy datasets for testing with customizable columns, constraints, and output formats (CSV, JSON, SQL, Python script). Use when creating test data, building mock datasets, or generating sample data for development and demos."
---
# Dummy Dataset Generation

Generate realistic dummy datasets for testing with customizable columns, constraints, and output formats (CSV, JSON, SQL, Python script). Creates executable scripts or direct data files for immediate use.

**Use when:** Creating test data, generating sample datasets, building realistic mock data for development, or populating test environments.

**Arguments:**
- `$PRODUCT`: The product or system name
- `$DATASET_TYPE`: Type of data (e.g., customer feedback, transactions, user profiles)
- `$ROWS`: Number of rows to generate (default: 100)
- `$COLUMNS`: Specific columns or fields to include
- `$FORMAT`: Output format (CSV, JSON, SQL, Python script)
- `$CONSTRAINTS`: Additional constraints or business rules

## Step-by-Step Process

1. **Identify dataset type** - Understand the data domain
2. **Define column specifications** - Names, data types, and value ranges
3. **Determine row count** - How many sample records needed
4. **Select output format** - CSV, JSON, SQL INSERT, or Python script
5. **Apply realistic patterns** - Ensure data looks authentic and valid
6. **Add business constraints** - Respect business logic and relationships
7. **Generate or script data** - Create executable output
8. **Validate output** - Ensure data quality and completeness

## Template: Python Script Output

```python
import csv
import json
from datetime import datetime, timedelta
import random

# Configuration
ROWS = $ROWS
FILENAME = "$DATASET_TYPE.csv"

# Column definitions with realistic value generators
columns = {
    "id": "auto-increment",
    "name": "first_last_name",
    "email": "email",
    "created_at": "timestamp",
    # Add more columns...
}

def generate_dataset():
    """Generate realistic dummy dataset"""
    data = []
    for i in range(1, ROWS + 1):
        record = {
            "id": f"U{i:06d}",
            # Generate values based on column definitions
        }
        data.append(record)
    return data

def save_as_csv(data, filename):
    """Save dataset as CSV"""
    with open(filename, 'w', newline='') as f:
        writer = csv.DictWriter(f, fieldnames=data[0].keys())
        writer.writeheader()
        writer.writerows(data)

if __name__ == "__main__":
    dataset = generate_dataset()
    save_as_csv(dataset, FILENAME)
    print(f"Generated {len(dataset)} records in {FILENAME}")
```

## Example Dataset Specification

**Dataset Type:** Customer Feedback

**Columns:**
- feedback_id (auto-increment, U001, U002...)
- customer_name (realistic names)
- email (valid email format)
- feedback_date (dates last 90 days)
- rating (1-5 stars)
- category (Bug, Feature Request, Complaint, Praise)
- text (realistic feedback)
- product (electronics, clothing, home)

**Constraints:**
- Ratings skewed: 40% 5-star, 30% 4-star, 20% 3-star, 10% 1-2 star
- Bug category only with ratings 1-3
- Feature requests only with ratings 3-5
- Email domains realistic (gmail, yahoo, company.com)

## Output Deliverables

- Ready-to-execute Python script OR direct data file
- CSV file with proper headers and formatting
- JSON file with valid structure and types
- SQL INSERT statements for database population
- Data validation and constraint compliance
- Realistic, business-appropriate values
- Documentation of data generation logic
- Quick-start instructions for using the dataset

## Output Formats

**CSV:** Flat tabular format, easy to import into spreadsheets and databases

**JSON:** Nested structure, ideal for APIs and NoSQL databases

**SQL:** INSERT statements, directly executable on relational databases

**Python Script:** Executable generator for custom or large datasets

© phuryn · MIT · phuryn/pm-skills

Similar skills

Everything for Testing and QA →

From the same set69

The whole set →
north-star-metric Helps identify your product's North Star Metric and 3-5 input metrics that drive it. Classifies your business game and validates the metric against seven effectiveness criteria. CX Codex +1 2,900installs retro Facilitates structured sprint retrospectives, analyzes team performance, and turns feedback into prioritized action items with assigned owners and deadlines. CX Codex +1 2,700installs wwas Creates product backlog items in the Why-What-Acceptance format. Use it when splitting a feature into independent work items with testable outcomes. CX Codex +1 2,700installs user-segmentation Turns reviews, interviews and usage logs into at least three behavior-based user segments. Useful when your user base looks like one big blob. CX Codex +1 2,700installs sprint-plan Plans a sprint around team capacity, priorities and dependencies. Use it before choosing stories and committing the sprint scope. CX Codex +1 2,700installs ansoff-matrix This skill maps growth options onto the four Ansoff Matrix quadrants and writes out strategies for each. Useful when the next move is unclear. CX Codex +1 2,700installs gtm-motions Evaluates go-to-market strategies and software stacks across inbound, outbound, and PLG. Helps teams pick distribution channels and plan cross-channel campaigns. CX Codex +1 2,700installs draft-nda This skill drafts a detailed non-disclosure agreement between two parties, covering information types, jurisdiction, and marking sections that require legal review. CX Codex +1 2,600installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor