Jj Submit — Git skill for Claude Code
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
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 RepositoryRelated Skills
Stack Link
Retroactively register the parent of the current branch in the stacked-PRs system. Use this when you have an e
Stack List
Show the current stack — the chain of branches from the current branch up to main, plus any descendants below
Submit PR
Commit changes to a new branch, push to GitHub, and open a PR with project template
J Create PR
Automate PR workflow — stage, commit, branch, push, and open a GitHub PR. Use when ready to submit changes for
Stale PRs
Find open PRs that have gone quiet or drifted off the base branch; triage, comment, and optionally refresh fro
Self Reflect
Extract learnings from recent PR reviews, conversations, and session patterns to update the knowledge base
Related Agents
GitHub Keeper
Gestiona el repo de git/GitHub. Úsalo para commits, branches, resolver conflictos, limpiar historial, manejar
GitHub
GitHub issue and PR workflow. Create/list/update issues, manage labels, create PRs, create branches. Use for a
Merger
Reviews, validates, and merges arc-agents PRs. Sole authority for destructive git ops (rebase, push, merge, br