From smooth-ai-review
Commit current changes with conventional commits format, append the /ai-review trigger to the final commit, and push to remote repository. Use when committing and pushing changes so the pushed PR gets a full AI review.
How this skill is triggered — by the user, by Claude, or both
Slash command
/smooth-ai-review:git-commit-review-pushThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Commit current changes using conventional commits format, embed the `/ai-review` full-review trigger in the last commit, and push to the remote repository.
Commit current changes using conventional commits format, embed the /ai-review full-review trigger in the last commit, and push to the remote repository.
Check if there are any changes to commit using git status --porcelain
If there are changes, analyze the diff and group it into logical units of work (chunks). Commit each chunk separately with a Conventional Commits message — <type>[optional scope]: <description> with type one of feat/fix/chore/docs/refactor/test/ci/perf/build; subject lowercase, imperative, no trailing period, ≤ 72 chars:
Review trigger (mandatory): the last chunk commit — or the only commit when there is a single chunk — MUST end with /ai-review as the final line of the commit message body. The review gate (pipeline-code-review-report.yml) greps PR commit messages for /ai-review and forces a full PR review when found. Keep the subject line clean; the trigger goes in the body:
feat(auth): add user authentication system
/ai-review
Earlier chunk commits must NOT carry the trigger — only the final one.
If there are no changes to commit, skip to step 5
If --issue <number> was passed — rename the local branch before pushing (see Branch Rename below)
Push to remote repository using git push (use git push --set-upstream origin <new-branch> if the branch was renamed)
If there's nothing to commit or push, report this to the user and continue gracefully (this is not an error)
Note: This command ONLY commits and pushes. It does not create or update PRs.
--issue <number> is passed)This step enforces the branch naming convention (same type vocabulary as Conventional Commits):
<type>/<issue>-short-description
How to derive the new branch name:
<type> — take the type from the conventional commit just made (e.g. feat, fix, chore). If the branch already has a conforming name with the correct type, use that type.<issue> — the number passed via --issue.short-description — generate a concise, lowercase, hyphen-separated description (3–6 words) that summarises what was changed. Derive it from the commit message subject or the staged diff — do not reuse the current branch name verbatim.Execution:
git branch -m <new-branch-name> # rename local branch
Then push with upstream tracking:
git push --set-upstream origin <new-branch-name>
Constraints:
<type>/<issue>-* for the given issue number.feat/42-add-auth), skip the rename and push normally./ai-review trigger line is appended to the final commit regardless of whether the message was provided or generated.--issue <number> — renames the local branch to <type>/<number>-short-description before pushing, ensuring branch naming consistency/git-commit-review-push
/git-commit-review-push feat: add user authentication system
/git-commit-review-push --issue 42
/git-commit-review-push --issue 42 feat: add user authentication system
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub generic-automation-and-it/smooth-ai-report-review --plugin smooth-ai-review