test-data-strategy

test-data-strategy is a skill for Claude Code from rpraharaj/forward-deployed-engineer. It costs 109 tokens per session (2,536 once invoked), scanned A, original, MIT.

A plan for creating realistic data for tests when real production data cannot be copied, including made-up, reduced, or masked data and difficult edge cases.

In plain words
What is it for?
Use when tests need unavailable data, environments contain poor sample data, or someone proposes copying production data.
Why use it?
It prevents tests from passing on unrealistic sample rows while failing on real-world names, addresses, old records, or unusually large accounts.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fde-core plugin — 34 skills shipped together

Good fit Use when tests need unavailable data, environments contain poor sample data, or someone proposes copying production data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rpraharaj/forward-deployed-engineer/test-data-strategy
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.

Any agent
npx skills add rpraharaj/forward-deployed-engineer --skill test-data-strategy
Clone the repo
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer

Made for: Claude Code.

Or install fde-core, the plugin that ships this one along with the rest of its 34 skills.

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-strategy

README.md
[![agentmods](https://agentmods.dev/badge/skills/rpraharaj/forward-deployed-engineer/test-data-strategy/github.svg)](https://agentmods.dev/skills/rpraharaj/forward-deployed-engineer/test-data-strategy)
Your own site
<a href="https://agentmods.dev/skills/rpraharaj/forward-deployed-engineer/test-data-strategy"><img src="https://agentmods.dev/badge/skills/rpraharaj/forward-deployed-engineer/test-data-strategy/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for test-data-strategy

Your own site · 80×15
<a href="https://agentmods.dev/skills/rpraharaj/forward-deployed-engineer/test-data-strategy"><img src="https://agentmods.dev/badge/skills/rpraharaj/forward-deployed-engineer/test-data-strategy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,536 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.1 $0.00109 $0.02536
Opus 5.5 $0.00044 $0.01014
Sonnet 5.5 $0.00022 $0.00507
Haiku 4.5 $0.00011 $0.00254

Measured 1mo ago against content hash 96f4fd709722, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-data-strategy 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 1mo 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.

fde-core/skills/test-data-strategy/SKILL.md · 219 lines

How it starts

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

Test data strategy

Getting data you're allowed to have that behaves like data you aren't.

Why this exists

In a regulated organization, production data cannot be copied into a test environment. Not "shouldn't" — cannot, without a legal basis, and often not even then. GDPR, PCI-DSS, HIPAA, and internal data policies all land in the same place: the realistic data you need to verify anything is the data you are least allowed to touch.

The result is a specific and very common failure. Tests run against three hand-written rows containing "Test User" and "123 Test Street." They pass. The change ships. It breaks immediately on a customer whose name contains an apostrophe, an address with no postcode, an order placed before the 2019 migration, or an account with forty thousand transactions.

The data wasn't wrong. It was unrepresentative, which is harder to notice.

This is frequently the real bottleneck to shipping in an enterprise — not the code, and not the tests, but having anything sensible to run them against.

When this applies

  • Tests need data you don't have
  • Verification blocked by an empty or unrealistic environment
  • Someone proposes copying production data
  • A bug reproduces in production and not locally
  • Performance work needing realistic volume

When it doesn't

  • Adequate fixtures already exist — check they're representative, then use them
  • Pure unit tests over in-memory logic with no data shape dependency
  • The blocker is access to an environment rather than data — that's access-and-onboarding

Prerequisites

Resolve <workspace> before reading or writing artifacts: read ../_shared/workspace-conventions.md and follow its location and header rules. All artifact paths below use that resolved workspace. Preserve existing sections when appending.

  • <workspace>/03-requirements.md — the criteria determine what data must exist
  • <workspace>/02-system-map.md — where data lives and what shape it takes
  • Understand the organization's data policy before starting. See ../_shared/enterprise-constraints.md.

Read the full file on GitHub · 219 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. 1mo ago Changed · +3 lines 96f4fd709722
  2. 3mo ago First seen · 216 lines · 109 tokens per session scan A 4daa3f56c938

Subscribe to this mod's changes

test-data-strategy is a skill published in the GitHub repository rpraharaj/forward-deployed-engineer (21 stars, last pushed 1mo ago), licensed MIT. It adds 109 tokens to every session and 2,536 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

test-data-strategy compared with skills from other repositories

test-data-strategy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-data-strategyrpraharaj/forward-deployed-engineerSkill211mo agoMITA109Claude Code
adding-dbt-unit-testdbt-labs/dbt-agent-skillsSkill77727d agoApache-2.0A44Claude Code
blueprint-cloudflare-datareceptron/mulmoterminalSkill284todayMITA18Claude Code, Codex
jpa-persistence-testAI-Unified-Process/marketplaceSkill177yesterdayApache-2.0A222Claude Code
cargo-pgrxyugabyte/yugabyte-dbSkill11ktodaynoneA29Claude Code
phpunit-migration-test-generationshopwareLabs/ai-coding-toolsSkill483d agoMITA141Claude Code
pytest-databaseslitestar-org/litestar-skillsSkill1911d agoMITA161Claude Code