organize-elixir-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.
- To see ALL changes made on the branch, always check:
- committed branch-only changes:
git diff --name-status "$(git merge-base HEAD main)"...HEAD - all working tree changes:
git status --short
- committed branch-only changes:
- To see ALL changes made on the branch, always check:
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) - place candidate functions using this skill's ordering rules (see Ordering Rules below), not ad hoc file habits
- do not keep candidate functions anchored near the edit area if that conflicts with proper placement
- 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
Related skills
More from jasonharmongit/jh-skills
doctor
Runs pre-PR formatting, checking and testing.
30walkthrough-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.
24create-skill
>-
23solutionize
Plan-only workflow with a human partner; no implementation while this skill governs the turn
22implement-next-phase
Prepare to implement the next pending todo phase from a solutionize sketch plan (frontmatter todos); implementation only after explicit user approval.
8approach-problem
Produce named strategic options with file/line estimates and pros/cons
7