From majestic-engineer
Stages unstaged changes if needed and creates a git commit with conventional commit format (feat, fix, docs, etc.). Uses arguments as optional message hint.
How this command is triggered — by the user, by Claude, or both
Slash command
/majestic-engineer:commitsonnetgit/This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
## 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: **Types:** `feat`, `fix`, `docs`, `style`, `refactor`, `test`, `chore` Stage changes if needed, then commit. Use HEREDOC for multi-line messages: If `$ARGUMENTS` is provided, use it as hint for the commit message.
git statusgit diff --cachedgit diffgit branch --show-currentgit log --oneline -5 2>/dev/null || echo "(no commits yet)"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.
npx claudepluginhub majesticlabs-dev/majestic-marketplace --plugin majestic-engineer/commitCreates a conventional git commit by analyzing staged changes and auto-generating a message in 'type(scope): description' format. Optional scope or message hint.
/commitStages unstaged changes based on git status and diff analysis, then creates a commit with a generated message. Uses current branch and recent commit history for context.
/createCreates a single git commit based on current repository changes, using git status, diff, branch, and recent commits for context.
/commitAnalyzes staged git changes, generates a conventional commit message, seeks user approval, and executes the commit without trailers.
/commit-generatorGenerates a conventional commit message for staged changes, shows it for approval, commits, and optionally pushes to remote.