commit-message-generator

Commit Message Generator

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "commit-message-generator" with this command: npx skills add aig787/agpm/aig787-agpm-commit-message-generator

Commit Message Generator

Instructions

When generating commit messages, follow these guidelines:

  1. Analyze the Git Diff
  • Examine all staged and unstaged changes

  • Identify the main purpose of the changes

  • Look for breaking changes, new features, or bug fixes

  1. Choose the Appropriate Type

Use one of these conventional commit types:

  • feat : New feature or enhancement

  • fix : Bug fix or regression

  • docs : Documentation changes only

  • style : Code style changes (formatting, missing semicolons, etc.)

  • refactor : Code refactoring without functional changes

  • test : Adding or updating tests

  • chore : Maintenance tasks, dependency updates, etc.

  • perf : Performance improvements

  • ci : CI/CD configuration changes

  • build : Build system or dependency changes

  1. Format the Commit Message

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

Rules:

  • Keep the description under 72 characters

  • Use imperative mood ("add" not "added" or "adds")

  • Include scope if the change affects a specific module/component

  • Add "BREAKING CHANGE:" footer for breaking API changes

  • Reference issues with "Closes #123" or "Resolves #456"

  1. Examples

Simple Feature

feat(cli): add --verbose flag for detailed output

Adds a new verbose flag that displays detailed progress information during installation and update operations.

Bug Fix

fix(cache): resolve worktree cleanup issue on Windows

The worktree cleanup logic was failing on Windows due to path separator mismatches. This fix ensures proper path normalization.

Closes #123

Breaking Change

feat(api): change dependency resolution return type

The resolve_dependencies function now returns a Result<Dependencies> instead of (Dependencies, Warnings) for better error handling.

BREAKING CHANGE: This changes the function signature and requires callers to handle the Result type.

  1. Special Cases
  • For multiple unrelated changes, create multiple commits

  • For WIP (work in progress), use "WIP:" prefix

  • For revert commits, use "revert: "

  • For merge commits, use "Merge branch 'feature-branch'"

Usage

  • Stage your changes with git add

  • Run this skill to analyze the changes

  • Review and edit the generated commit message if needed

  • Commit with git commit -m "<message>"

Tips

  • Focus on what the change does, not how it was implemented

  • Be specific but concise in the description

  • Consider future readers when writing the message

  • Link to related documentation or issues when relevant

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

pdf-processor

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-reviewer

No summary provided by upstream source.

Repository SourceNeeds Review
Security

csv-data-auditor

No summary provided by upstream source.

Repository SourceNeeds Review