What problem does it solve?
This skill explains how to reorganize large file collections into hierarchical shards so that every directory in the output tree respects maximum item counts and file size limits, enabling scalable storage and reliable reconstruction.
Core Features & Use Cases
- Hierarchical constraint planning: Calculate shards, groups, and nesting depth required when a per-directory item limit applies recursively to root, intermediate, and leaf directories.
- File splitting and distribution: Guidance for splitting oversized files into chunks, evenly distributing files/chunks across shards, and tracking mappings.
- Integrity and reconstruction: Generate .metadata.json with original path mappings, chunk order, and checksums to enable round-trip reconstruction and verification.
- Use Case: Redistribute a 10k-file dataset into shards with a 30-item-per-directory cap by computing required shard and group counts, splitting oversized files, and producing verification metadata.
Quick Start
Use the resharding guidance to split oversized files, compute the required shard/group nesting, distribute files to meet per-directory limits, and emit reconstruction metadata with checksums.