Jj Edit banner
nandofarias nandofarias

Jj Edit

Development community

Description

Jump to a specific change for editing. Target: $ARGUMENTS ## Steps 1. **Parse the target:** - If `$ARGUMENTS` is empty, show the stack and ask which change to edit: ```bash jj log -r 'trunk()..@' --no-graph -T 'change_id.shortest(8) ++ " " ++ if(bookmarks, bookmarks.join(", ") ++ " ", "") ++ description.first_line() ++ "\n"' ``` - The target can be a change ID (short or full), bookmark name, or revset expression. 2. **Record current position** (so user can return with jj-

Installation

Installs to ~/.claude/commands/nandofarias-dotfiles-jj-edit.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/nandofarias/dotfiles/HEAD/.claude/commands/jj-edit.md -o ~/.claude/commands/nandofarias-dotfiles-jj-edit.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository