Commit message

From sunnykgupta/AI-Helpers · View interactive version

Commit message is an AI agent skill from the GitHub repository sunnykgupta/AI-Helpers. Use when the user wants to write a git commit message — including 'write a commit message', 'commit this', or when they paste a diff / staged changes and ask what to commit it as. Follows Conventional Commits. Do NOT use for PR descriptions (use pr-description skill).

How to use this skill

Skill file

Commit Message Writer

Write commit messages that follow Conventional Commits.

Format

<type>(<scope>): <subject>

<body>

<footer>

Rules

Workflow

  1. Ask for the diff or git status output if not provided.
  2. Determine type from the nature of the change (new feature -> feat, bugfix -> fix, etc.).
  3. Pick a scope from the most-touched directory or module.
  4. Write subject, then body only if context is non-obvious.
  5. Add BREAKING CHANGE: footer if applicable.

Examples

feat(auth): add OAuth login via GitHub

Users can now sign in with their GitHub account. Uses the standard
OAuth2 flow; tokens are stored in httpOnly cookies.

Closes #142
fix(parser): handle empty input without crashing
refactor(api)!: rename /users endpoint to /accounts

BREAKING CHANGE: /users is removed. Update clients to use /accounts.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.