reorder — Claude Code skill: fix listing order
This skill puts a list, table, catalog, set of sections or enum back into a meaningful sequence. It moves items only and leaves the wording alone.
npx skills add LilMGenius/paperthin --skill reorder -a claude-codeWhat reorder does
Order carries meaning. Items get appended wherever they were written, not where they belong, and the sequence stops telling the reader anything. reorder realigns the set under one principle a reader can name: workflow or lifecycle, dependency, grouping by kind, severity, frequency, or plain alphabetical.
The workflow is short. It pins the listing and its items, names the ordering principle, clusters kin adjacent, then sequences those clusters by that one principle. If the set already has a latent order, the skill finishes it instead of imposing a new one. Items move in place. Nothing is reworded, added or removed. When the same set appears on a second surface or in a translation, both get the identical order.
It reorders and nothing else. Rewording, splitting or merging items belongs to other skills. On a move it asserts each item exists first and reports a miss rather than dropping something silently, and a large structural move gets scripted instead of swept by hand. Worth knowing: if the current sequence already encodes a real principle, the skill completes and tidies it rather than replacing it.
What it helps with
- put list items in workflow order
- cluster related rows in a table
- give document sections one consistent logic
- sort enum values by severity or frequency
- keep a translation and the original in the same order
Example prompts for the agent
- reorder this list by workflow stage, don't touch the wording
- group the table rows by kind, then order the groups by severity
- make the translation follow the same section order as the original
How to install reorder
1Skills CLI (Vercel)
npx skills add LilMGenius/paperthin --skill reorder -a claude-code2Manually: put the files in place
~/.claude/skills/reorder/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/reorder/
1Skills CLI (Vercel)
npx skills add LilMGenius/paperthin --skill reorder -a codex2Manually: put the files in place
.agents/skills/reorder/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add LilMGenius/paperthin --skill reorder -a cursor2Manually: put the files in place
.cursor/skills/reorder/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install LilMGenius/paperthin reorder2Manually: put the files in place
.github/skills/reorder/SKILL.md1Skills CLI (Vercel)
npx skills add LilMGenius/paperthin --skill reorder -a gemini-cli2Platform CLI
gemini skills install https://github.com/LilMGenius/paperthin --path skills/depth/reorderManually: put the files in place
.devin/skills/reorder/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add LilMGenius/paperthin --skill reorder -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about reorder
How do I install reorder in Claude?
Run npx skills add LilMGenius/paperthin --skill reorder -a claude-code. The skill lands at ~/.claude/skills/reorder/SKILL.md.
What does reorder do?
It moves the items of a list, table, catalog, section set or enum into a sequence that follows one stated principle. The item text stays as it was.
Can it rewrite the items while reordering?
No. It only moves items. Rewording, adding and removing are separate reflexes.
Source text
SKILL.md · MIT
--- name: reorder disable-model-invocation: true description: "Realign a listing whose order has gone arbitrary — a list, table, catalog, sections, an enum — into a logical sequence under one stated principle. Move items only: nothing is reworded, added, or removed. Use when the order no longer helps a reader follow the set." --- Put a listing back into an order that carries meaning, moving items only. ## Goal A listing's order is information: kin sit together, and the sequence follows one axis a reader can feel. Order drifts — items get appended where they were written, not where they belong — until the sequence tells the reader nothing. `reorder` realigns the set under a single, nameable principle so the order reads as intentional again. It is fast and single-purpose: it moves items, and changes nothing else. ## Workflow 1. Pin the listing and its items — the ordered set in focus. 2. Name the principle that makes the order carry the most meaning: workflow or lifecycle sequence, dependency, grouping by kind, severity, frequency, or plain alphabetical. If the set already has a latent order, surface and finish it rather than imposing a new one. 3. Cluster kin adjacent, then sequence the clusters by that one principle. 4. Move items into the new order in place. Reword nothing; add and remove nothing. 5. If the same set is mirrored elsewhere — a translated copy, a second surface — apply the identical order to each. ## Rules - Reorder only. Never reword, add, remove, split, or merge an item; those are other reflexes. - One principle, and a reader can name it. Do not blend incompatible sorts into one listing. - Respect a deliberate order. If the current sequence already encodes a real principle, complete and tidy it rather than replacing it; surface the call when it is unclear. - Keep mirrored copies in lockstep — the same set on different surfaces gets the same order. - Mutate with edit-safety: assert each item exists before moving it (report a MISS, never a silent drop), edit unicode-safe, and script a large structural move rather than sweeping by hand. ## Verification 1. A reader can name the ordering principle from the result alone. 2. Every item that was there is still there — only positions changed; nothing reworded, added, or removed. 3. Kin are adjacent and the sequence follows the one principle end to end. 4. Every mirrored copy of the set carries the identical order.
© LilMGenius · MIT · LilMGenius/paperthin