nandofarias

Jj Restack — Development skill for Claude Code

Development community

Rebase the stack onto the latest develop.

How to install Jj Restack

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

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

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

What Jj Restack does

Rebase the stack onto the latest develop. This is like jj-sync but without fetching first.

  1. **Rebase the stack:**

    jj rebase -b @ -d 'trunk()'
  2. **Check for conflicts:**

    jj log -r 'trunk()..@ & conflicts()' --no-graph -T 'change_id.shortest(8) ++ " " ++ description.first_line() ++ "\n"'
  3. **Show the updated stack:**

    jj log -r 'trunk()..@'

If the user hasn't fetched recently, suggest running `/jj-sync` instead for the full sync

Alternatives in Development

  • Auto Update — Pull the latest ECC repo changes and reinstall the current managed targets 243.5k ★
  • Contributing To Skill Seeker — First off, thank you for considering contributing to Skill Seeker 11.1k ★
  • Claude Coder — Kodu is an autonomous coding agent that lives in your IDE 5.2k ★

Full documentation available on GitHub

View Source Repository