Slash Command

/commit

Create a git commit with conventional commit format

From majestic-engineer
Install
1
Run in your terminal
$
npx claudepluginhub majesticlabs-dev/majestic-marketplace --plugin majestic-engineer
Details
Modelsonnet
Namespacegit/
Allowed Tools
Bash(git add:*)Bash(git status:*)Bash(git commit:*)Bash(git diff:*)Bash(git show:*)ReadGrepEdit
Command Content

Context

  • Current git status: !git status
  • Staged changes: !git diff --cached
  • Unstaged changes: !git diff
  • Current branch: !git branch --show-current
  • Recent commits: !git log --oneline -5 2>/dev/null || echo "(no commits yet)"

Workflow

Create a git commit using conventional commit format:

<type>(<scope>): <description>

Types: feat, fix, docs, style, refactor, test, chore

Stage changes if needed, then commit. Use HEREDOC for multi-line messages:

git commit -m "$(cat <<'EOF'
type(scope): description

optional body
EOF
)"

If $ARGUMENTS is provided, use it as hint for the commit message.

Stats
Parent Repo Stars30
Parent Repo Forks6
Last CommitMar 21, 2026