Analyze And Reorganize

Use when reorganizing a disk. First a very simple plan, then wait for “yes”. Look inside folders before grouping. Logs in LOG/. Never delete.

Chakhdz Updated

File contents

Analyze and reorganize

One flow: simple plan → wait for explicit yes → execute → undo from the log.

0. Plan first (required)

Carlos’s rule: “dime tu plan y luego te confirmo.”

Before any mv, mkdir that changes the tree, rename, or copy:

  1. Write a very simple plan: what moves, from where, to where, what stays, how to undo.
  2. Stop. Do not run.
  3. Only after an explicit yes execute with mv -n.
  4. If they change the plan, rewrite the short plan and wait again.

NEVER DELETE ANYTHING. Do not overwrite an existing destination.

Logs in LOG/ at the disk root (BOTSI-undo-log.jsonl). Never move LOG to para borrar.

Look inside folders before grouping by name. First level first. mv -n one at a time. If destination exists, stop.

Chakhdz/agent-skills/tree/main/analyze-and-reorganize commit be95b77e71

Frequently asked questions

npx skillmds@latest add chakhdz/analyze-and-reorganize