Skip to content
Development
Command

/commit

Analyze the currently staged changes (`git diff --cached`) and generate a conventional commit message.

From plugin
rohitg00-claude-code-toolkit
2.8k199 skills138 agents199 commands
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

Command definition

commit.md

Analyze the currently staged changes (`git diff --cached`) and generate a conventional commit message.

Steps

1. Run `git diff --cached --stat` to see which files changed. 2. Run `git diff --cached` to read the actual changes. 3. Determine the commit type from the changes:

  • `feat` - new functionality
  • `fix` - bug fix
  • `refactor` - code restructuring without behavior change
  • `docs` - documentation only
  • `test` - adding or updating tests
  • `chore` - build, CI, dependencies
  • `perf` - performance improvement
  • `style` - formatting, whitespace

4. Identify the scope from the most affected module/directory. 5. Write a concise imperative subject line (max 72 chars). 6. If the change is non-trivial, add a body explaining **why** the change was made, not what changed. 7. Present the commit message for approval before executing.

Format

type(scope): subject line in imperative mood

Optional body explaining motivation and context.
Any breaking changes noted with BREAKING CHANGE: prefix.

Rules

  • Subject line: imperative mood, no period, max 72 characters.
  • Body: wrap at 80 characters, blank line between subject and body.
  • If multiple logical changes are staged, suggest splitting into separate commits.
  • Never include generated files, lock files, or build artifacts without explicit intent.
@rohitg00
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

2.8k40 skills138 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.8k
Star history of rohitg00/awesome-claude-code-toolkit on GitHub, a chart by star-history.com

Other commands on rohitg00-claude-code-toolkit.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command