draft-commit-message-ai-kit

Draft Git commit messages with Jira keys and conventional commit types.

Updated May 11, 2026
One-click install
npx skills add https://github.com/ducthang-hub/nw-ai-kit --skill draft-commit-message-ai-kit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: draft-commit-message-ai-kit
Source: https://github.com/ducthang-hub/nw-ai-kit/tree/main/.agents/skills/draft-commit-message-ai-kit
Command: npx skills add https://github.com/ducthang-hub/nw-ai-kit --skill draft-commit-message-ai-kit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the friction of writing consistent, readable Git commit messages that follow Netwealth standards, including correctly formatted Jira issue prefixes and conventional commit types.

Core Features & Use Cases

  • Netwealth-formatted subject line: Produces the required JIRA-NUMBER - type: Brief description structure with an enforceable 72-character subject limit.
  • Conventional commit discipline: Uses the supported conventional commit types (feat, fix, refactor, perf, docs, ci, build, test, deps) and applies imperative mood (for example, “Add” not “Added”).
  • Concise multi-line body drafting: Generates a body that fits within the overall 5-line maximum, using 1–3 lines and bullet points when there are multiple changes.

Quick Start

Ask the AI: “Draft a Netwealth commit message for my staged changes with Jira key ITDEV-12345 and type feat, using imperative mood and keeping the subject under 72 characters.”

Frequently Asked Questions about draft-commit-message-ai-kit

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

FAQPage Schema
How do I format a Git commit message with a Jira ticket number and conventional commit type?

To format a Git commit message with a Jira ticket number and conventional commit type, structure the subject line as `JIRA-NUMBER - type: Brief description`, keeping it under 72 characters. This ensures traceability and aligns with standard conventions.

What conventional commit types can I use for drafting Git commit messages?

When drafting Git commit messages, you can use conventional commit types including feat, fix, refactor, perf, docs, ci, build, test, and deps. These types categorize the nature of your staged changes for better project tracking.

How do I write a multi-line Git commit body using imperative mood?

To write a multi-line Git commit body using imperative mood, insert a blank line after the subject, then add 1–3 lines starting with action verbs like “Add” instead of “Added.” Use bullet points if documenting multiple staged changes.

Does this commit message drafting approach enforce a maximum line limit?

Yes, this commit message drafting approach enforces a strict 5-line maximum limit. This includes the `JIRA-NUMBER - type: description` subject line, a blank separator line, and a concise 1–3 line body to keep Git histories readable.

How do I generate a Netwealth-style commit message for staged Git changes?

To generate a Netwealth-style commit message for staged Git changes, provide the Jira key, conventional commit type, and change details. The output is a properly formatted message with imperative mood and length constraints applied.

What is the best way to keep Git commit subjects under 72 characters while including a branch-based Jira key?

The best way to keep Git commit subjects under 72 characters with a branch-based Jira key is to use the `JIRA-NUMBER - type: Brief description` structure. This format prioritizes the Jira prefix and conventional type while forcing a concise description.