Data preparation

From lza6/Armor-piercing-system-prompts · View interactive version

Data preparation is an AI agent skill from the GitHub repository lza6/Armor-piercing-system-prompts. Prepare nnU-Net v2-compatible datasets, path variables, dataset.json metadata, conversions, inference input naming, labels/regions/ignore-label conventions, and validation troubleshooting.

How to use this skill

Skill file

data-preparation

Use this sub-skill when the task is to make data acceptable to nnU-Net v2 before planning/preprocessing.

Route here for

Do not handle here

Start with these references

Bundled helper

Run the lightweight validator before planning/preprocessing:

python sub-skills/data-preparation/scripts/validate_dataset_json.py /path/to/nnUNet_raw/Dataset123_MyDataset

Add --check-files to verify that imagesTr and labelsTr filenames match dataset.json channel count and file ending. The helper checks metadata and names only; it does not inspect image geometry or label voxel values.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.