com um clique
commit
// Create a git commit with a well-crafted message. Use when the user asks to "commit", "create a commit", "save changes", or says "/commit". Optionally push and create a PR.
// Create a git commit with a well-crafted message. Use when the user asks to "commit", "create a commit", "save changes", or says "/commit". Optionally push and create a PR.
Answer any question about AIRIS Code usage, features, configuration, and troubleshooting by referencing the official user documentation. Also helps users view or modify their settings.json. Invoke with `/qc-helper` followed by a question, e.g. `/qc-helper how do I configure MCP servers?` or `/qc-helper change approval mode to yolo`.
Review changed code for correctness, security, code quality, and performance. Use when the user asks to review code changes, a PR, or specific files. Invoke with `/review`, `/review <pr-number>`, `/review <file-path>`, or `/review <pr-number> --comment` to post inline comments on the PR.
| name | commit |
| description | Create a git commit with a well-crafted message. Use when the user asks to "commit", "create a commit", "save changes", or says "/commit". Optionally push and create a PR. |
| allowedTools | ["run_shell_command","read_file","grep_search","glob"] |
Create a well-crafted git commit following conventional commit format.
Run these commands in parallel:
git status — see all changed files (never use -uall)git diff --cached and git diff — see staged and unstaged changesgit log --oneline -5 — see recent commit message stylegit add <file> over git add -A).env, credentials, tokens)Analyze all staged changes and draft a commit message:
type(scope): descriptionfeat, fix, docs, refactor, test, chore, perf, ciUse a HEREDOC to pass the message:
git commit -m "$(cat <<'EOF'
type(scope): short description
- Detail 1
- Detail 2
EOF
)"
Run git status after committing to verify success.
--no-verify to skip hooksgh pr create