agentsclimarketplace

Workflow git commit

Skill kensaurus/cursor-kenji/skills/workflow-git-commit

🦖Curated Cursor AI agent skills, slash commands, MCP configs, subagents & rules for full-stack dev — React 19, Next.js 15, Supabase, Tailwind v4, TypeScript

Install
npx -y skills add kensaurus/cursor-kenji --skill workflow-git-commit

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Generate clear, descriptive commit messages following conventional commits format. Use when committing code, writing commit messages, or when the user asks for help with git commits.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

3.9 KB, 921 tokens by cl100k_base, as published. Nobody here has run it

Git Commit Message Generator

Generate clear, meaningful commit messages following best practices.

Commit Format

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

<body>

<footer>

Types

TypeWhen to Use
featNew feature
fixBug fix
docsDocumentation only
styleFormatting, no code change
refactorCode change that neither fixes nor adds
perfPerformance improvement
testAdding/updating tests
choreBuild, tooling, deps
ciCI/CD changes

Scope (Optional)

Component or area affected:

feat(auth): add OAuth2 support
fix(api): handle rate limit errors
docs(readme): update installation steps

Process

1. Analyze Changes

# View staged changes
git diff --staged

# View changed files
git status

2. Identify Type and Scope

  • What kind of change? (feat/fix/refactor/etc.)
  • What component is affected?

3. Write Subject Line

Rules:

  • Max 50 characters
  • Imperative mood ("add" not "added")
  • No period at end
  • Lowercase after type

Good:

feat(cart): add quantity selector to items
fix(auth): prevent session timeout during checkout
refactor(utils): extract date formatting logic

Bad:

Fixed the bug. # Vague, past tense
feat(cart): Added new feature # Past tense, vague
Update stuff # No type, vague

4. Write Body (If Needed)

When to include:

  • Complex changes
  • Non-obvious reasoning
  • Breaking changes

Format:

feat(payments): add Stripe webhook handler

Implement webhook endpoint to process payment events.
Handles succeeded, failed, and refunded events.

Closes #123

Examples

Simple Feature

feat(dashboard): add dark mode toggle

Bug Fix with Context

fix(api): handle null response from external service

The third-party API occasionally returns null instead of
an empty array. Add null check to prevent TypeError.

Fixes #456

Refactoring

refactor(hooks): extract useDebounce from search component

Move debounce logic to reusable hook for consistency
across search inputs throughout the app.

Breaking Change

feat(api)!: change response format for user endpoint

BREAKING CHANGE: The /api/users endpoint now returns
{ data: [...], meta: {...} } instead of a plain array.

Migration: Update clients to access users via response.data

Multiple Changes (Avoid!)

If you need to describe multiple things, consider splitting into separate commits:

# Instead of:
"fix(auth): fix login and add logout button and update styles"

# Do:
git commit -m "fix(auth): handle expired token error"
git commit -m "feat(auth): add logout button to header"
git commit -m "style(auth): update login form spacing"

Quick Reference

# Stage and commit
git add .
git commit -m "feat(scope): description"

# Amend last commit message
git commit --amend -m "new message"

# Interactive staging
git add -p

# View commit history
git log --oneline -10

Commit Message Template

Create ~/.gitmessage:

# <type>(<scope>): <subject>
# |<---- Using a Maximum Of 50 Characters ---->|

# Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|

# Provide links or keys to any relevant tickets, articles or other resources
# Example: Fixes #23

# --- COMMIT END ---
# Type can be:
# feat (new feature)
# fix (bug fix)
# refactor (refactoring code)
# style (formatting, missing semi colons, etc)
# docs (changes to documentation)
# test (adding or refactoring tests)
# chore (updating grunt tasks etc)
# --------------------

Set as default:

git config --global commit.template ~/.gitmessage

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.