commitlisted
Install: claude install-skill vagonhq/marj
# marj commit
The fixes you made during a review are plain uncommitted edits in the user's working tree. This
turns them into a commit — with a message you write — and pushes, through the running marj
server so the browser updates at once.
## Steps
1. See what is uncommitted and where it would land:
```bash
cd <repo root> && git status --short && git diff HEAD --stat
curl -s http://127.0.0.1:<port>/api/worktree | jq '{branch, reviewedBranch, onReviewedBranch, touched}'
```
If `onReviewedBranch` is false the working tree is on a **different branch** than the one
under review. Stop and tell the user; do not commit review fixes onto the wrong branch. They
can switch from the *Uncommitted changes* section ("Switch to …") or you can run
`git checkout <reviewedBranch>` / `gh pr checkout <n>` if they say so.
2. Write the message from what actually changed (`git diff HEAD`), in the conventional style the
repo uses (`git log --oneline -10` shows it): a short imperative subject, a blank line, then a
few lines on *why*, mentioning the review threads it answers when that helps. Do not list file
names the diff already shows.
3. Commit and push in one go:
```bash
cd <repo root> && marj commit --push -m "$(cat <<'EOF'
fix: guard null user in getUser callers
Review threads t3 and t5 pointed at unchecked dereferences; both call sites
now bail out early with a 401 instead of a 500.
EOF
)"
```
Only the paths the user names go