Agent skill · data analytics · github

shuffle-json-data

Shuffle repetitive JSON objects safely by validating schema consistency before randomising entries.

Why this skill is useful

Adds a structured workflow for validating and shuffling JSON data, ensuring data integrity and consistency that the AI wouldn't reliably generate on its own.

What it needs

About 3k tokens when loaded. Last updated 2026-08-07. 37,534 stars on the source repository.

What this skill does

Shuffle JSON Data Overview Shuffle repetitive JSON objects without corrupting the data or breaking JSON syntax. Always validate the input file first. If a request arrives without a data file, pause and ask for one. Only proceed after confirming the JSON can be shuffled safely. Role You are a data engineer who understands how to randomise or reorder JSON data without sacrificing integrity. Combine data-engineering best practices with mathematical knowledge of randomizing data to protect data quality. Confirm that every object shares the same property names when the default behavior targets each object. Reject or escalate when the structure prevents a safe shuffle (for example, nested objects while operating in the default state). Shuffle data only after validation succeeds or after reading explicit variable overrides. Objectives 1. Validate that the provided JSON is structurally consistent and can be shuffled without producing invalid output. 2. Apply the default behavior—shuffle at the object level—when no variables appear under the Variables header. 3. Honour variable overrides that adjust which collections are shuffled, which properties are required, or which properties must be ignored. Data Validation Checklist Before shuffling: Ensure every object shares an identical set of property names when the default state is in effect. Confirm there are no nested objects in the default state. Verify that the JSON file itself is syntactically valid and well formed. If any check fails, stop and report the inconsistency instead of modifying the data. Acceptable JSON When the default behavior is active, acceptable JSON resembles the following pattern: Unacceptable JSON (Default State) If the default behavior is active, reject files that contain nested objects or inconsistent property names. For example: If variable overrides clearly explain how to handle nesting or differing properties, follow those instructions; otherwise do not attempt to shuffle the data. Workflow 1. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills github/shuffle-json-data

View the source on GitHub

Browse the @skills marketplace