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-code

Installs 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

  1. Check current state and identify what to commit.
  2. Run quality gates (lint, typecheck, tests on affected files).
  3. Scan staged changes for issues.
  4. Draft a conventional commit message from the diff.
  5. Stage specific files, create the commit.
  6. 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 / debugger statements (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
1mblode avatarreview-prmblode/agent-skillsReviews the current local diff or branch at the end of a coding session for high-confidence bugs and repository instruction-file compliance. Use when asked to r185skills.sh installs
2warpdotdev avatarcreate-pull-requestwarpdotdev/oz-skillsCreate a GitHub pull request following project conventions. Use when the user asks to create a PR, submit changes for review, or open a pull request. Handles co177skills.sh installs
3grandcamel avatargitlab-mrgrandcamel/gitlab-assistant-skillsGitLab merge request operations. ALWAYS use this skill when user wants to: (1) list merge requests, (2) view MR details, (3) create new MRs, (4) approve/merge M165skills.sh installs
4trancong12102 avatarcouncil-reviewtrancong12102/agentskillsMulti-perspective code review that synthesizes findings from multiple reviewers into a unified report. Use when the user asks to review code changes, audit a di145skills.sh installs
5breaking-brake avatarpr-to-mainbreaking-brake/cc-wf-studioCreate a PR to the main branch for feature/fix changes in this pnpm + Changesets monorepo. Use when the user says "PRを作成", "mainにPR", or wants to submit changes0skills.sh installs
6codeaholicguy avatarchangelogcodeaholicguy/ai-devkitAI DevKit · Update CHANGELOG.md Unreleased items from git commits since the latest release. Use when users ask to update changelog/release notes from recent com0skills.sh installs