返回 Skills 目录
lilmgenius/paperthin已通过检查

SKILL DETAIL

reorder

lilmgenius/paperthin/reorder

重新排列列表,使其顺序具有意义,仅移动项目。列表的顺序本身就是信息:同类相邻,序列遵循读者能感知的一个轴。顺序会漂移——项目被追加到书写位置,而非应属位置——直到序列不再传达任何信息。`reorder` 技能在单一可命名原则下重新对齐集合,使顺序再次显得有意为之。它快速且单一目的:仅移动项目,不改变其他任何内容。 工作流程包括:确定列表及其项目;命名使顺序最具意义的原则(如工作流或生命周期顺序、依赖关系、按种类分组、严重性、频率或纯字母顺序);将同类相邻,然后按该原则对簇排序;就地移动项目,不重写、不增删;如果同一集合在其他地方有镜像(如翻译副本或另一表面),则对每个副本应用相同顺序。规则强调仅重新排序,不重写、添加、删除、拆分或合并项目;使用单一原则;尊重有意顺序;保持镜像副本同步;编辑时确保安全,如断言项目存在、Unicode 安全、大型结构移动使用脚本。

安装量 · 367查看来源

Installation

npx skills add https://github.com/lilmgenius/paperthin --skill reorder

技能文件

SKILL.md

最近同步 · 2026年8月27日

SKILL.md›
---
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.