organize-changes
Installation
SKILL.md
Follow skills/organize-file/SKILL.md for Precedence over file conventions, General rules, Specific rules, and Output expectations.
Candidates
- Only move or reorder definitions whose name is new or changed on the branch. Treat each name/arity’s clauses as one unit per General rules in organize-file.
- Do not move other definitions, even if they sit out of order relative to General rules or Specific rules.
- Place each candidate anywhere in that file where organize-file says it belongs (global position among all definitions in the file), not only near the lines you edited; do not leave candidates bunched in the edit region when their correct slot is elsewhere.
Scope
- One file: If a file path is given, only consider candidates in that module or test file.
- Whole branch: If no path is given, scan files changed on the branch; only edit files that contain candidates needing reorder.
- Committed branch-only changes:
git diff --name-status "$(git merge-base HEAD main)"...HEAD - Working tree:
git status --short
- Committed branch-only changes:
Related skills
More from jasonharmongit/jh-skills
walkthrough-process
Writes a deep markdown walkthrough for code understanding - how a function, module, or process fits into the system. Also supports branch-change walkthroughs when the user explicitly asks about PR/branch diffs.
24solutionize
Plan-only workflow with a human partner; no implementation while this skill governs the turn
21create-skill
>-
20implement-next-phase
Prepare to implement the next pending todo phase from a solutionize sketch plan (frontmatter todos); implementation only after explicit user approval.
7approach-problem
Produce named strategic options with file/line estimates and pros/cons
6sketch-solution
Phased implementation-ready sketch with objectives and symbol-level bullets.
6