commit

Creates jj commits with conventional messages and records results on crosslink issues.

1.4k|335|Updated Jun 10, 2014
One-click install
npx skills add https://github.com/openwpm/OpenWPM --skill commit-openwpm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/openwpm/OpenWPM/tree/main/.claude/skills/commit
Command: npx skills add https://github.com/openwpm/OpenWPM --skill commit-openwpm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Committing work in a jj (Jujutsu) repository while keeping an audit trail on a crosslink-tracked issue requires manual, error-prone steps. This Skill automates the full flow: reviewing the diff, writing a conventional commit message, committing, and posting a result comment to the active crosslink issue. ## Core Features & Use Cases - Automated jj commits: Reviews jj diff --stat, writes a conventional-style message, and commits with jj commit -m without opening an editor. - Crosslink audit trail: After a successful commit, posts a --kind result comment to the active crosslink issue so the work log closes automatically. - Commitlint compatibility: Keeps issue references out of the commit header to avoid conflicts with conventional-commit hooks like the one in OpenWPM. - Use Case: You finish a unit of work in a crosslink-tracked repo and say "commit my changes" — the Skill reviews the diff, commits with a proper message, and logs the result on issue CL-5 in one pass. ## Quick Start Ask the assistant to commit your current changes and it will review the diff, create a conventional jj commit, and record the result on the active crosslink issue.

Frequently Asked Questions about commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I commit changes in a jj repository?

Run `jj commit -m "message"` after reviewing changes with `jj diff --stat`. jj has no staging area and auto-snapshots the working copy, so there is no equivalent of `git add`. Always pass `-m` to avoid opening an editor.

How do I write conventional commit messages with jj?

Write a type-prefixed message like `feat: add typed comment support` and pass it via `jj commit -m`. If the repo enforces commitlint via a commit-msg hook, keep issue references like `[CL-5]` out of the header and put them in the body instead.

Does jj have a staging area like git?

No, jj automatically snapshots the working copy, so there is no staging area and no `git add` step. Everything in the working copy is included when you run `jj commit`.

What happens if a pre-commit hook fails in jj?

The commit fails and no commit is created. Fix the underlying issue reported by the hook and retry the commit; a result comment should only be recorded after a successful commit.

Can I commit without an active crosslink issue?

Yes, the commit proceeds normally. The crosslink result comment is skipped silently when `crosslink session status` shows no active session or issue.