From frontend-skills
Analyzes git changes, groups files into conventional commit types (feat, fix, refactor, etc.), creates commits, and pushes. Verifies prerequisite review skills have been run before allowing push.
How this skill is triggered — by the user, by Claude, or both
Slash command
/frontend-skills:commit-pushThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run these Bash commands before proceed:
Run these Bash commands before proceed:
git status -sb -- worktree stategit diff HEAD -- staged + unstaged changesgit branch --show-current -- current branchgh repo view --json defaultBranchRef -q '.defaultBranchRef.name' -- default branchgit log --oneline -5 -- recent commits for stylegit remote -v -- if none, stop + explainRun full commit-and-push flow below in one response.
/simplify -- small fixes/tweaks/improve-codebase-architecture -- refactors (prefer this; /request-refactor-plan is deprecated)/improve-codebase-architecture -- cleanup (oversized files, shallow modules, tangled deps)/prototype -- redesign module or layout (prefer this; /design-an-interface is deprecated)/visual-review -- browser-based review for frontend/visual diffs/visual-review has not run: run /visual-review or record explicit skip reason before pushing./simplify for small changes, /improve-codebase-architecture for cleanup, /visual-review for frontend changes."git add -Atype/description (e.g. feat/add-commit-push-command) + switchgh pr list --head $(git branch --show-current) --json number,url --jq '.[0]' -- if PR exist, tell user (push update it)Analyze changed files, group by purpose into conventional commit types:
| Type | Matches |
|---|---|
docs | *.md, SKILL.md, REFERENCE.md, comments-only changes |
test | *.test.ts, *.test.tsx, *.spec.ts, EVAL.ts, agent-evals/ |
refactor | restructure without behavior change |
style | formatting, whitespace, lint-only fixes |
fix | bug fixes, error corrections |
feat | new features, components, endpoints |
chore | config, deps, build scripts, tooling |
perf | perf improvements |
ci | CI/CD pipeline changes |
build | build system changes |
Each category with files:
git add <file1> <file2> ... -- never git add -A or git add .type(scope): terse description
Co-Authored-By trailerFile fit multiple categories -> pick most specific.
git log --oneline origin/<branch>..HEAD 2>/dev/null || git log --oneline -5git push -u origin $(git branch --show-current)--force-with-lease OK when needed (after rebase)git status + git diff to confirm clean worktree--force-with-lease OK when needed (after rebase)npx claudepluginhub redpanda-data/ui-harness --plugin frontend-skillsAnalyzes git changes, creates categorized conventional commits, pushes, and opens a PR with CI monitoring. Useful for automating the full commit-to-PR workflow.
Stages all changes, creates a conventional commit, and pushes to the remote branch in one step.
Commits all local git changes following Conventional Commits format with type, scope, and body, then pushes to remote. Analyzes diffs and logs for accurate messages.