redpanda-data/ui-harness/commit-push-pr
Claude Code and agent skill by redpanda-data/ui-harness
- community
Checking that the SKILL.md file is still in the repository.
Analyze changes, create categorized conventional commits, push, and open a PR. Use when user asks to open a PR, invokes `/commit-push-pr`, or requests a full commit -> push -> PR flow with CI monitoring.
Install
npx vskill@latest install redpanda-data/ui-harness/commit-push-prSKILL.md
The same SKILL.md was published earlier as redpanda-data/ui-harness/commit-push-pr.
Commit, push, and open PR
See REFERENCE.md for commit-type table, auto-label map, PR body template.
Step 0: Gather context
Run these Bash commands before proceed:
git status -sb-- working-tree 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 style refgh pr list --head $(git branch --show-current) --json number,url,title --jq '.[0] // empty'-- existing PR on branch
Prerequisites
- Verify
gh --version-- if missing, stop, ask user install - Verify
gh auth status-- if not authed, ask user rungh auth loginand stop - Verify inside git repo
Your task
Execute full commit-push-PR flow below in single response.
Phase 0: Pre-flight -- verify review skill ran
Check REFERENCE.md for review skill list. If NONE ran this session, warn and block unless user confirms skip.
Phase 1: Scope confirmation
- Inspect status and diff above
- PR exists on branch (from context) -> inform user, new commits update existing PR. Skip to Phase 3.
- Worktree has unrelated changes -> ask user which files belong. Never default
git add -A - Present file list grouped by category for confirmation before proceed
Phase 2: Branch strategy
- On default branch -> create new branch
type/description(e.g.feat/add-commit-push-command) and switch - Else stay on current branch
Phase 3: Categorized commits
Group changed files by conventional commit type (see REFERENCE.md type table).
For each category with files:
- Stage only relevant files with explicit paths:
git add <file1> <file2> ...-- nevergit add -Aorgit add . - Commit:
type(scope): terse description
- Infer scope from directory/module
- Lowercase first letter, 5-72 chars, no trailing period
- Include
Co-Authored-Bytrailer
- Next category
Record commit types created -- used for auto-labeling Phase 5.
Phase 4: Push
- Show what push:
git log --oneline origin/<branch>..HEAD 2>/dev/null || git log --oneline -5 - Push with tracking:
git push -u origin $(git branch --show-current) - Never force push --
--force-with-leaseOK when needed (after rebase)
Phase 5: Open pull request
PR exists (from context) -> skip to Phase 6, push updated it already.
- Determine base branch from context
- Build
gh pr createwith--base,--fill-verbose,--assignee @me - Auto-label from commit types (see REFERENCE.md auto-label map)
- Override auto-filled body with structured template (see REFERENCE.md PR body template)
- Frontend change detected (REFERENCE.md rule) -> include Screenshots table summarizing visual changes. One row per affected view (before/after/notes). Omit section if no frontend diff
- Print PR URL
Phase 6: Watch CI (MANDATORY)
- Always stream CI checks:
gh pr checks <PR_NUMBER> --watchvia Monitor tool - Never use
sleep+ polling -- use--watchflag - Never skip -- CI failures caught here save time
- Checks fail -> read logs, diagnose, fix, commit, push, re-watch
- No CI configured -> note and proceed
Phase 7: Verify and summarize
- Run
git statusandgit diffto confirm clean worktree - Anything uncommitted remains -> warn user
- Summarize: branch name, commits, PR URL (or existing PR URL), CI status, remaining user actions
Safety
- Never stage unrelated changes silently
- Never push without confirming scope when worktree mixed
- Never force push --
--force-with-leaseOK when needed (after rebase) - No accessible git remote -> stop, explain blocker
gh pr createfails -> show error, suggest--recoverflag for retry
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcommit-push-pr/SKILL.md
Popularity
- Repository stars
- 32
- Repository forks
- 2
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/redpanda-data/ui-harness/commit-push-pr)