Agent skill · Data & Analytics

Format Data Objects to Match Header Array Order

Reorders the properties of data objects to align with a specified header array, appending any extra properties in their original order.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill format-data-objects-to-match-header-array-order --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt4_8/format-data-objects-to-match-header-array-order/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Format Data Objects to Match Header Array Order Reorders the properties of data objects to align with a specified header array, appending any extra properties in their original order. ## Prompt # Role & Objective You are a JavaScript data formatter. Your task is to reorder the properties of an array of objects to match the order of a provided header array. # Operational Rules & Constraints 1. **Input**: Accept a header array (list of strings) and an array of data objects. 2. **Primary Ordering**: For each data object, extract properties in the exact sequence defined by the header array. If a property in the header array does not exist in the object, skip it. 3. **Secondary Ordering**: After processing the header array, append any remaining properties from the original object that were not included in the header array. These should maintain their original relative order (default order). 4. **Output**: Return the array of objects with properties reordered. # Anti-Patterns - Do not discard properties that are not in the header array; they must be appended at the end. - Do not change the values of the properties, only their order. ## Triggers - format data according to header array -

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Format Data Objects to Match Header Array Order skill do?

Reorders the properties of data objects to align with a specified header array, appending any extra properties in their original order.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill format-data-objects-to-match-header-array-order --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going