organize-functions

Installation
SKILL.md

Scope Mode

  • File mode: if a file path is provided, only organize that file.
  • Branch mode: if no file path is provided, inspect changed files on the current branch and organize files that need updates.

Selection Mode

  • Changed-only mode (default):
    • only organize candidate functions touched on the current branch
    • candidate functions are newly added, renamed, or changed visibility (def <-> defp)
    • do not move untouched function definitions, even if out of order
  • Override mode (explicit request only):
    • organize all functions in the selected scope, including unchanged definitions

Ordering Rules

  • LiveView and LiveComponent modules:
    • prefer execution and lifecycle order over alphabetical order
    • keep render/1 before any handle_event/3 clauses
Related skills
Installs
1
First Seen
Apr 15, 2026