Generating JJ Commit Messages

Generate conventional commit messages for JJ repositories.

78|6|Updated May 19, 2017
One-click install
npx skills add https://github.com/edmundmiller/dotfiles --skill generating-jj-commit-messages
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Generating JJ Commit Messages
Source: https://github.com/edmundmiller/dotfiles/tree/main/config/claude/plugins/jj-workflow-plugin/skills/commit-messages
Command: npx skills add https://github.com/edmundmiller/dotfiles --skill generating-jj-commit-messages

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solves? This Skill eliminates the struggle of writing clear, consistent, and conventional commit messages, ensuring a readable and maintainable project history with minimal effort.

Core Features & Use Cases

  • Conventional Commit Formatting: Automatically generates messages following industry-standard type(scope): description formats.
  • Contextual Message Generation: Analyzes your changes to suggest appropriate types (e.g., feat, fix, refactor) and scopes, ensuring accuracy.
  • Use Case: After making changes, simply ask the AI to generate a commit message, and it will provide a well-structured, descriptive message ready for your jj commit, saving you mental overhead.

Quick Start

Generate a conventional commit message for my current changes, focusing on a new feature in the authentication module.

Frequently Asked Questions about Generating JJ Commit Messages

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

FAQPage Schema
How do I write conventional commit messages for JJ repositories?

Conventional commit messages follow the `type(scope): description` format, where type is one of feat, fix, refactor, docs, test, chore, style, perf, ci, or build. The summary line must stay under 72 characters, optionally followed by a body with bullet points and a footer with attribution. This Skill generates these messages automatically based on your changes.

What's the difference between conventional commits and regular commit messages?

Conventional commits enforce a structured format that makes commit history readable and enables automated changelog generation and version bumping. Regular messages lack this consistency. Conventional commits improve project maintainability by standardizing how changes are documented.

Can I use conventional commits with JJ version control?

Yes. JJ supports conventional commit messages just like Git. This Skill generates properly formatted conventional commits for JJ repositories, analyzing your changes to suggest the correct type and scope before you commit.

How do I generate a commit message after making changes?

After modifying files, ask the Skill to generate a commit message and specify the context—such as whether it's a feature, bug fix, or refactor, and which module or component changed. The Skill outputs a formatted message ready for your `jj commit` command.

What commit types does this Skill support?

This Skill supports feat, fix, refactor, docs, test, chore, style, perf, ci, and build types. Each type categorizes the nature of the change, making commit history filterable and meaningful for tracking features, fixes, documentation updates, and infrastructure changes.