agoodway

commit

10
1
# Install this skill:
npx skills add agoodway/.claude --skill "commit"

Install specific skill from multi-skill repository

# Description

Generate professional git commit message based on changes

# SKILL.md


name: commit
description: Generate professional git commit message based on changes
allowed-tools: Bash, Grep, Read, Glob, LS, Task
argument-hint: "[optional context]"


Generate a professional git commit message analyzing all changes in the working directory or subdirectory

Usage: /commit or /commit [optional context]

Arguments: Optional additional context about the changes

Context

  • Git status: !git status --porcelain
  • Recent commits for style reference: !git log --oneline -5
  • Current branch: !git branch --show-current

Your task

Analyze the changes and create a git commit message following these guidelines:

  1. Examine all changes by running:
  2. git diff --staged for staged changes
  3. git diff for unstaged changes
  4. Review our conversation history to understand the intent behind changes

  5. Create a commit message with this format:
    ```
    :


  6. ```

  7. Commit type prefixes:

  8. feat: for new features
  9. fix: for bug fixes
  10. refactor: for code restructuring
  11. style: for formatting changes
  12. test: for test additions/changes
  13. docs: for documentation updates
  14. chore: for maintenance tasks

  15. Title guidelines:

  16. Maximum 60 characters total
  17. Imperative mood ("Add feature" not "Added feature")
  18. No period at the end

  19. Change list guidelines:

  20. Simple flat list of bullet points
  21. Each item describes a specific change
  22. Focus on WHAT changed
  23. No section headers or groupings
  24. No sub-bullets
  25. No fluff or filler text

  26. Do NOT:

  27. Mention AI assistance, Claude, or any tooling
  28. Include co-author information
  29. Add section headers like "Frontend:", "Backend:", etc.
  30. Use vague descriptions like "various changes" or "updates"
  31. Mention count of changed files or lines of code

Example Output

feat: Add accounting access for limited/restricted users

- Show Accounting menu for users with fee access or in multi-user orgs
- Hide Assignee column for users who only see their own data
- Hide Qty./Perc. and Rate columns based on fee access permission
- Add key prop to Datagrids to fix column mismatch on permission load
- Add changelog entry for team commission access
fix: Add missing residential fields to property enrichment

- Add residential_ownership_type_id, residential_style_id to valid fields
- Add residential bedroom/bathroom counts and gross living area
- Include batch_data raw API response in property enrichment

$ARGUMENTS

Analyze the actual changes now and generate an appropriate commit message.

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.