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.
- Estrellas en GitHub
- 102
- Archivos
- 1
- Último commit
- 6 nov 2026
- Licencia
- MIT
- Herramientas permitidas
- —
¿Qué hace la 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.
Cómo instalar la skill test-data
Cada comando copia la carpeta de la skill al directorio de skills del cliente. Reinicia el cliente o inicia una nueva sesión para cargarla.Instalar la skill test-data en Plugin
/plugin marketplace add DataWithBaraa/claude-code-data-engineering-skills /plugin install data-engineering@data-with-baraa
Instalar la skill test-data en Claude Code
~/.claude/skills/test-data/SKILL.md
$ npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/test-data ~/.claude/skills/test-dataInstalar la skill test-data en Claude Code (project)
.claude/skills/test-data/SKILL.md
$ npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/test-data .claude/skills/test-dataInstalar la skill test-data en Codex
~/.agents/skills/test-data/SKILL.md
$ npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/test-data ~/.agents/skills/test-dataInstalar la skill test-data en Gemini CLI
~/.gemini/skills/test-data/SKILL.md
$ npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/test-data ~/.gemini/skills/test-dataInstalar la skill test-data en Claude.ai
npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/test-data test-data && zip -r test-data.zip test-data # claude.ai → Customize → Skills → + → Create skill → Upload a skill → test-data.zip
SKILL.md
Ver en GitHubTest 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.
Archivos de esta skill
1Preguntas sobre la skill test-data
¿Cómo instalo la skill test-data en Claude Code?
Ejecuta npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/test-data ~/.claude/skills/test-data. Claude Code carga las skills desde ~/.claude/skills (todos los proyectos) o .claude/skills (un proyecto) y usa una skill cuando su descripción coincide con la tarea.
¿Qué clientes pueden usar la skill test-data?
Cualquier cliente que lea el formato Agent Skills: Claude Code, Codex, Gemini CLI y claude.ai (subir como ZIP). Los scripts de la skill se ejecutan solo donde el cliente permite la ejecución de código.