nandofarias

Jj Submit — Git skill for Claude Code

Git community

Submit the entire stack: push all bookmarks and create/update GitHub PRs with correct base branches.

How to install Jj Submit

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

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

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

What Jj Submit does

Submit the entire stack: push all bookmarks and create/update GitHub PRs with correct base branches.

Options from arguments: $ARGUMENTS

  • --draft: Create new PRs as drafts
  • --dry-run: Show what would happen without making changes

Steps

1. Get the ordered stack with bookmarks

jj log -r '(trunk()..@) ~ trunk()' --no-graph --reversed -T 'change_id.shortest(8) ++ "\t" ++ bookmarks.join(",") ++ "\t" ++ description.first_line() ++ "\n"'

This lists changes from bottom (clos

Alternatives in Git

  • Fullstack Dev Skills — by jeffallan - A comprehensive Claude Code plugin with 65 specialized skills covering full-stack development a 7k ★
  • Container Use — by dagger - Development environments for coding agents 3.6k ★
  • GitHub Review PR — Use when a PR needs full review — resolves merge conflicts with the base first, then fixes CI failures, then a 1.5k ★

Full documentation available on GitHub

View Source Repository