DataWithBaraa/claude-code-data-engineering-skills / skills/test-data
test-data
UnverifiedUse 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.
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
- Name the function or the table under test, and what it must do with each edge case.
- Synthetic rows from the metadata, in the source's own format. Never real data.
- The expected result first: what the output must hold, written before the code.
- Injected faults, each with its expected result: a broken line, a new column, broken bytes, a child row before its parent.
- A second delivery with drift: a renamed column that the schema check must stop.
- The fixtures beside the tests, never in the data folders.
- 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.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 195k | Updated | Claude CodeCodex | Verified | Install |