Skip to content
Back to skills

Test Data

ASecurity

Use when a new function or a new table needs tests, to write test data with the edge cases and the expected result written first, never from production data.

  • 81 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
ai-agents

Security analysis

A100/100

Scanned November 6, 2026

npx -y skills add DataWithBaraa/claude-code-data-engineering-skills --skill test-data --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test Data?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Test Data
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/datawithbaraa-test-data/badge)](https://www.skillsdirectory.com/skills/datawithbaraa-test-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: test-data
description: Use when a new function or a new table needs tests, to write test data with the edge cases and the expected result written first, never from production data.
argument-hint: "[function or table]"
---

# Test data

The job: small test files with the edge cases, and the expected result decided first.

Input: the function or the table under test.

## Steps

1. Name the function or the table under test, and what it must do with each edge case.
2. Synthetic rows from the metadata, in the source's own format. Never real data.
3. The expected result first: what the output must hold, written before the code.
4. Injected faults, each with its expected result: a broken line, a new column, broken bytes, a child row before its parent.
5. A second delivery with drift: a renamed column that the schema check must stop.
6. The fixtures beside the tests, never in the data folders.
7. Run the tests and report which passed.

## Output

The test files beside the tests: the input rows, the injected faults, the expected result written first, and the test that compares them.

## Reads

- the metadata of the table, the file parsers of the source's format

## Writes

- the fixtures of the test, and the test

## Never

- Never reads production data for a test.
- Never writes under the data folders.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.