jj:commit

Create a jj commit with a description generated from diff summary and stat.

1|Updated Feb 4, 2023
One-click install
npx skills add https://github.com/jbott/nix-config --skill jj-commit-jbott
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jj:commit
Source: https://github.com/jbott/nix-config/tree/main/home-manager/programs/claude-code/skills/jj%3Acommit
Command: npx skills add https://github.com/jbott/nix-config --skill jj-commit-jbott

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically converts the current working copy changes into a JJ commit with a concise, auto-generated description, ensuring consistent messaging.

Core Features & Use Cases

  • Generate a one-line, descriptive commit message from diff output produced by jj diff --summary and jj diff --stat.
  • Execute the commit with jj commit -m to finalize changes with minimal manual input.
  • Use when coordinating large workstreams across files to maintain readable history and fast iteration.

Quick Start

Generate a one-line commit message from the current changes and commit with jj.

Frequently Asked Questions about jj:commit

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

FAQPage Schema
How do I auto-generate a jj commit message from my current diff?

To auto-generate a jj commit message, this skill analyzes your current working copy changes using jj diff --summary and jj diff --stat to create a concise one-line description. It then executes jj commit -m to finalize the commit automatically.

Can I create a jj commit with a one-line message for changes across multiple files?

Yes, you can create a jj commit with a one-line message for multiple files. The skill is designed for workflows coordinating changes across multiple files, using diff summaries to maintain readable history and ensure consistent descriptive messaging.

What is the best way to automate jj commits for fast iteration?

The best way to automate jj commits for fast iteration is using a tool that analyzes jj diff --summary and jj diff --stat output to craft a descriptive message, then executes jj commit -m with minimal manual input.

Does the jj commit automation work without manual commit descriptions?

Yes, jj commit automation works without manual descriptions by relying on jj diff --summary and jj diff --stat to automatically extract change data and craft a one-line commit message for you.