
Smart Commit
This wraps your git commits in a full quality pipeline. It runs lints, type checks, and tests before letting you commit, scans your staged changes for console.logs and hardcoded secrets, then drafts a proper conventional commit message from the diff. The review scan is thoughtfully tuned to skip noisy false positives like config changes and import reordering. It's opinionated about staging files individually and never accepting vague commit messages. If you're on a team that cares about commit hygiene or you just want to stop forgetting to remove debug statements, this enforces the discipline without making you think about it every time.
- skills.sh installs
- 190
- GitHub stars
- 2.9K
- last updated
- Jun 8, 2026
Install
$ npx -y skills add rohitg00/pro-workflow --skill smart-commit --agent claude-codeInstalls into .claude/skills of the current project.
Files
Smart Commit
Trigger
Use when saying "commit", "save changes", or ready to commit after making changes.
Workflow
- Check current state and identify what to commit.
- Run quality gates (lint, typecheck, tests on affected files).
- Scan staged changes for issues.
- Draft a conventional commit message from the diff.
- Stage specific files, create the commit.
- Prompt for learnings from this change.
Commands
git status
git diff --stat
npm run lint 2>&1 | tail -5
npm run typecheck 2>&1 | tail -5
npm test -- --changed --passWithNoTests 2>&1 | tail -10
git add <specific files>
git commit -m "<type>(<scope>): <summary>"
Code Review Scan
Before committing, check staged changes in production code (not test files) for:
console.log/debuggerstatements (suppressed in test files — see Review Suppressions)- TODO/FIXME/HACK comments without ticket references (e.g.,
TODO(JIRA-123)is fine) - Hardcoded secrets or API keys
- Leftover test-only code
Flag any issues before proceeding.
Commit Message Format
<type>(<scope>): <short summary>
<body - what changed and why>
Sponsors
Details
- Repository
- github.com/rohitg00/pro-workflow
- Categories
- Git & Pull Requests, Code Review & Quality, Automation & Workflows
- First seen
- Jun 11, 2026
More from rohitg00/pro-workflow
All 35- Compact Guard189
- Insights186
- Replay Learnings184
- Parallel Worktrees180
- Llm Council175
- Cost Tracker172
- Context Engineering171
- Mcp Audit169
- Orchestrate167
- Thoroughness Scoring166
- Auto Setup165
- File Watcher165
- Safe Mode164
- Plan Interrogate163
- Batch Orchestration162
- Bug Capture162
- Agent Teams161
- Permission Tuner161
- Sprint Status159
- Llm Gate158
- Wiki Query157
- Wiki Builder156
- Survey Generator154
- Wiki Research Loop154