Command
/commit
Create a well-crafted commit after running pro-workflow quality checks.
One command from pro-workflow.
shell
$ npx -y skills add rohitg00/pro-workflow --agent claude-codeShips with pro-workflow. Installing the plugin gets this command.
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/commit
Context preview
What this command does when you run it.
Create a well-crafted commit after running pro-workflow quality checks.
Stats
Stars2,638
Forks255
LanguageJavaScript
Command definition
commit.md
# /commit - Smart Commit with Quality Gates Create a well-crafted commit after running pro-workflow quality checks. ## Process ### 1. Pre-Commit Checks ```bash git status git diff --stat ``` - Any unstaged changes to include? - Any files that shouldn't be committed (.env, credentials, large binaries)? ### 2. Quality Gates ```bash npm run lint 2>&1 | tail -5 npm run typecheck 2>&1 | tail -5 npm test -- --changed --passWithNoTests 2>&1 | tail -10 ``` - All checks passing? If not, fix before committing. - Skip only if user explicitly says to. ### 3. Code Review Scan staged changes for: - `console.log` / `debugger` statements - TODO/FIXME/HACK comments without tickets - Hardcoded secrets or API keys - Leftover test-only code Flag any issues before proceeding. ### 4. Commit Message Draft a commit message based on the staged diff: ``` <type>(<scope>): <short summary> <body - what changed and why>
