test-data skill
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.
- GitHubスター
- 102
- ファイル
- 1
- 最終コミット
- 2026年11月6日
- ライセンス
- MIT
- 許可されたツール
- —
test-data skillは何をしますか
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.
test-data skillのインストール方法
各コマンドはskillフォルダをクライアントのskillsディレクトリにコピーします。読み込むには、クライアントを再起動するか新しいセッションを開始してください。プラグインにtest-data skillをインストールする
/plugin marketplace add DataWithBaraa/claude-code-data-engineering-skills /plugin install data-engineering@data-with-baraa
Claude Codeにtest-data skillをインストールする
~/.claude/skills/test-data/SKILL.md
$ npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/test-data ~/.claude/skills/test-dataClaude Code (project)にtest-data skillをインストールする
.claude/skills/test-data/SKILL.md
$ npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/test-data .claude/skills/test-dataCodexにtest-data skillをインストールする
~/.agents/skills/test-data/SKILL.md
$ npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/test-data ~/.agents/skills/test-dataGemini CLIにtest-data skillをインストールする
~/.gemini/skills/test-data/SKILL.md
$ npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/test-data ~/.gemini/skills/test-dataClaude.aiにtest-data skillをインストールする
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
GitHubで表示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.
このスキルのファイル
1test-data skillに関する質問
Claude Codeにtest-data skillをインストールするには
npx degit DataWithBaraa/claude-code-data-engineering-skills/skills/test-data ~/.claude/skills/test-dataを実行してください。Claude Codeは~/.claude/skills(すべてのプロジェクト)または.claude/skills(単一プロジェクト)からskillsを読み込み、説明がタスクに一致する場合にskillを使用します。
test-data skillはどのクライアントで使用できますか
Agent Skills形式を読み込むすべてのクライアントで使用できます: Claude Code、Codex、Gemini CLI、claude.ai(ZIPとしてアップロード)。skill内のスクリプトは、クライアントがコード実行を許可した場合にのみ実行されます。