Skip to content
Data
Skill

/test-data

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.

From plugin
data-engineering
10216 skills

Claude Code

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

SKILL.md

test-data.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.
@datawithbaraa
Ships withdata-engineering

16 Claude Code skills for the work of a data engineer beyond writing code: profiling a new source, investigating a failed pipeline, building the metadata, reviewing changes, documenting, and keeping the platform clean.

Stars on GitHub

Momentum

stars in total
102
Star history of DataWithBaraa/claude-code-data-engineering-skills on GitHub, a chart by star-history.com

Other skills on data-engineering.

docs

docs

Use after a change or a release, to write and refresh the runbook and the how-to guides of the project, so the runbook and the…

impact

impact

Use before you change a table, a column or a function, to see what it is built from, what depends on it, who reads it, which…

More skills from other plugins.

paddleocr-doc-parsing

paddleocr-doc-parsing

Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…

paddleocr2mo93k
@paddlepaddle@paddlepaddleInstall Skill
context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem012d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog2w41k
@posthog@posthogInstall Skill

Questions about test-data.

Which coding agents can use test-data?
test-data installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.