git-assistant

Generate conventional commit messages, branch names, and PR descriptions from git diff --staged.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/luxunxiansheng/skills2026 --skill git-assistant
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-assistant
Source: https://github.com/luxunxiansheng/skills2026/tree/main/git-assistant
Command: npx skills add https://github.com/luxunxiansheng/skills2026 --skill git-assistant

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers often struggle to craft clear, consistent commit messages, generate meaningful branch names, and compose concise PR descriptions from a set of changes. Automating these tasks saves time and improves project hygiene.

Core Features & Use Cases

  • Conventional commits compliance: Generate commit messages that adhere to the Conventional Commits specification for the current changes.
  • Branch name generation: Propose descriptive branch names derived from the changes and scope.
  • Use Case: When you're ready to commit, branch, and open a PR, the skill outputs a Conventional Commits message, a branch name, and a PR description in one go.

Quick Start

Generate a conventional commit message for the staged changes, propose a branch name, and draft a PR description.

Frequently Asked Questions about git-assistant

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

FAQPage Schema
How do I generate conventional commit messages from staged changes?

To generate conventional commit messages, the skill analyzes your `git diff --staged` output and automatically proposes a compliant commit message based on the current changes. This ensures your project history follows the Conventional Commits specification without manual formatting effort.

Can I automatically generate branch names and PR descriptions from my git diff?

Yes, you can automatically generate branch names and PR descriptions by analyzing the git diff. The skill evaluates your staged changes to propose a descriptive branch name and draft a concise PR description alongside the commit message in a single output.

What is the best way to automate changelog generation for software projects?

Automating changelog generation relies on consistently formatted commit messages. By using this skill to enforce Conventional Commits during commit preparation, you establish the structured message history required to automatically compile accurate changelogs.

Do I need any external dependencies to draft PR descriptions from git changes?

No external dependencies are required to draft PR descriptions from git changes. The skill operates independently by analyzing your staged git diff to output the proposed commit message, branch name, and PR description directly.

Why should I use Conventional Commits for my commit messages and branch names?

Using Conventional Commits for your commit messages and branch names improves project hygiene and saves time. It enforces a consistent format that makes automated changelog generation possible and clarifies the scope of changes for team collaboration.

When should I not use automated conventional commit generation?

Automated conventional commit generation may not suit highly complex or nuanced changes where manual context is required. The skill proposes messages by analyzing `git diff --staged`, so manual review is recommended for changes with hidden architectural impacts.