MCP HubMCP Hub
返回技能列表

generating-test-data

jeremylongshore
更新于 Today
57 次查看
712
74
712
在 GitHub 上查看
aitestingautomationdata

关于

This skill enables Claude to generate realistic test data like users, products, and orders for software development. It's triggered by phrases like "generate test data" or "populate database" and is ideal for creating database fixtures or sample data for testing environments. The skill uses a dedicated plugin to produce data based on custom schemas for comprehensive testing.

快速安装

Claude Code

推荐
插件命令推荐
/plugin add https://github.com/jeremylongshore/claude-code-plugins-plus
Git 克隆备选方式
git clone https://github.com/jeremylongshore/claude-code-plugins-plus.git ~/.claude/skills/generating-test-data

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Overview

This skill empowers Claude to generate realistic and diverse test data, streamlining software testing and development workflows. It leverages the test-data-generator plugin to produce data sets tailored to your specific needs, from user profiles to complex business transactions.

How It Works

  1. Identify Data Requirements: Claude analyzes your request to determine the type and volume of test data required (e.g., users, products, orders, custom schemas).
  2. Generate Data: Claude uses the test-data-generator plugin to create realistic test data based on your specifications.
  3. Present Data: Claude presents the generated data in a suitable format, such as JSON or a data file, ready for use in your testing environment.

When to Use This Skill

This skill activates when you need to:

  • Generate a large number of realistic user profiles for testing authentication and authorization.
  • Create a dataset of products with varying attributes for testing e-commerce functionality.
  • Simulate order placements and transactions for performance testing and load testing.
  • Populate a database with realistic data for demonstration or training purposes.
  • Generate data that adheres to a specific schema or data model.

Examples

Example 1: Generating User Data

User request: "Generate 500 test users with realistic names, emails, and addresses."

The skill will:

  1. Invoke the test-data-generator plugin to create 500 user records.
  2. Populate each record with realistic names, email addresses, and physical addresses.
  3. Provide the generated data in JSON format.

Example 2: Creating Product Data

User request: "Create product test data including name, description, price, and category for 100 different products."

The skill will:

  1. Utilize the test-data-generator plugin to generate 100 product records.
  2. Populate each product with relevant details like name, description, price, and category.
  3. Deliver the data in a structured format suitable for database insertion.

Best Practices

  • Schema Definition: Provide a clear schema or data model when generating custom data to ensure accuracy and consistency.
  • Locale Considerations: Specify the desired locale when generating data that is sensitive to regional variations (e.g., names, addresses, phone numbers).
  • Seed Values: Use seed values for reproducible test data generation, ensuring consistency across multiple runs.

Integration

This skill can be integrated with other plugins, such as database management tools, to directly populate databases with the generated test data. It can also be used in conjunction with API testing tools to generate realistic request payloads.

GitHub 仓库

jeremylongshore/claude-code-plugins-plus
路径: backups/skills-batch-20251204-000554/plugins/testing/test-data-generator/skills/test-data-generator
aiautomationclaude-codedevopsmarketplacemcp

相关推荐技能