Test Data Generator

Test Data Generator is a skill for Claude Code, Codex from anhtester/ClaudeCode_Playwright_Demo. It costs 32 tokens per session (1,511 once invoked), scanned A, a copy of Test Data Generator, MIT.

A structured test-data generator for automated tests. Test data is the sample information tests submit or check, such as accounts, form values, and API request bodies.

In plain words
What is it for?
Use it to prepare positive, negative, boundary, and edge-case data for forms, logins, registrations, searches, uploads, and API payloads.
Why use it?
It helps tests use data that is unique, repeatable when needed, and traceable to the test that created it, including unusual and boundary values.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/anhtester/claudecode_playwright_demo/test_data_generator
Any agent
npx skills add anhtester/ClaudeCode_Playwright_Demo --skill test_data_generator
Clone the repo
git clone --depth 1 https://github.com/anhtester/ClaudeCode_Playwright_Demo

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Test Data Generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/anhtester/claudecode_playwright_demo/test_data_generator.svg)](https://agentmods.dev/skills/anhtester/claudecode_playwright_demo/test_data_generator)
Your own site
<a href="https://agentmods.dev/skills/anhtester/claudecode_playwright_demo/test_data_generator"><img src="https://agentmods.dev/badge/skills/anhtester/claudecode_playwright_demo/test_data_generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,511 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00032 $0.01511
Opus 5 $0.00016 $0.00756
Sonnet 5 $0.00006 $0.00302
Haiku 4.5 $0.00003 $0.00151

Measured 4d ago against content hash 940829dc7c9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Test Data Generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to Test Data Generator — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/test_data_generator/SKILL.md · 249 lines

How it starts

The opening of the file, as written. The whole thing — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Test Data Generator

Purpose: Generate reliable test data for automation tests.


When to Use

Use this skill when:

  • Creating test data for new test cases
  • Generating boundary and edge case data
  • Setting up data-driven tests
  • Creating API request payloads

Responsibilities

Generate test data for:

  • Registration forms
  • Login credentials
  • Form submissions
  • API payloads
  • Search queries
  • File uploads

Data Rules

All generated data must be:

  • Unique — No duplication within test suite
  • Deterministic — Same seed produces same data (when needed)
  • Traceable — Can identify which test generated it

Unique Data Pattern

Recommended format:

<prefix>_<testName>_<timestamp>

Examples:

auto_register_20260402133000
test_login_1712024100

Common Data Types

Email

auto_<testName>_<timestamp>@test.com

Example: [email protected]

Username

user_<testName>_<timestamp>

Example: user_login_20260402133000

Phone

Random 10-digit number starting with valid prefix

Example: 0912345678

Password

Mix of uppercase, lowercase, digits, special chars

Example: Test@12345


Data Categories

Positive Data (Happy Path)

  • Valid format, within constraints
  • All required fields filled
  • Standard business values

Negative Data

  • Missing required fields
  • Invalid format (wrong email, short password)
  • Invalid characters
  • Already existing values (duplicate check)

Boundary Values

  • Minimum length (e.g., 1 character)
  • Maximum length (e.g., 255 characters)
  • Min + 1, Max - 1
  • Empty string vs null
  • Zero, negative numbers

Edge Cases

  • Unicode / special characters
  • Very long strings
  • SQL injection patterns (for security testing)
  • HTML tags in text fields
  • Leading/trailing whitespace

Constraints

Test data must:

  • Respect field validation rules (from DOM inspection)
  • Match input format (date format, phone format)
  • Avoid duplication across test runs
  • Not contain real PII (personal data)

Read the full file on GitHub · 249 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 249 lines · 32 tokens per session scan A 940829dc7c9d

Subscribe to this mod's changes

Test Data Generator is a skill published in the GitHub repository anhtester/ClaudeCode_Playwright_Demo (2 stars, last pushed 3mo ago), licensed MIT. It adds 32 tokens to every session and 1,511 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to Test Data Generator, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

playwright-best-practices

Use when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking APIs, handling authentication or OAuth, testing accessibility (axe-core), file uploads/downloads, date/time mocking, WebSockets, geolocation, permissions…

currents-dev/playwright-best-practices-skill · 214 tokens

RBT Manual Testing

Skill sinh manual test cases với 2 modes — QUICK (sinh nhanh từ requirements) và FULL RBT (quy trình AI-RBT 6 bước có đánh giá rủi ro). Master skill cho mọi tác vụ manual test case.

anhtester/antigravity-testing-kit · 55 tokens

Framework Architect

Skill thiết kế và scaffold automation framework hoàn chỉnh cho Playwright, Selenium, và Appium — bao gồm project structure, base classes, config management, reporting, và CI/CD integration.

anhtester/antigravity-testing-kit · 40 tokens

UI Debug Agent

Skill inspect web/mobile applications bằng browser tools, phân tích DOM elements, xác định locators ổn định, debug UI automation failures, và hỗ trợ sinh Page Object classes.

anhtester/antigravity-testing-kit · 39 tokens

jira_integration

Skill tích hợp Jira/Xray — lấy requirements từ Jira, xác thực Xray, và đẩy kết quả test lên Xray Cloud/Server.

anhtester/antigravity-testing-kit · 34 tokens

Test Data Generator

Skill sinh test data có cấu trúc, unique, traceable cho automation tests, bao gồm positive, negative, boundary và edge cases.

anhtester/antigravity-testing-kit · 32 tokens