From hive
GitHub CLI operations for commit, push, PR creation, reviews, and branch housekeeping. Use for git workflows, PR management, branch cleanup, review comments, and GitHub API interactions via `gh` CLI.
npx claudepluginhub skywalking-dev/hiveThis skill uses the workspace's default tool permissions.
Streamline GitHub workflows via `gh` CLI: commits, pushes, PR creation, reviews, and branch cleanup. All scripts assume authenticated `gh` setup.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Streamline GitHub workflows via gh CLI: commits, pushes, PR creation, reviews, and branch cleanup. All scripts assume authenticated gh setup.
For Linear-based workflow:
Format: feature/{issue-id}/{agent}-{YYYYMMDD}
Examples:
feature/SKY-45/kokoro-20250118 → Kokoro working on SKY-45
feature/SKY-45/pixel-20250118 → Pixel working on SKY-45
feature/MIIC-12/aurora-20250118 → Aurora working on MIIC-12
Legacy format (still supported):
feature/SKY-123-whatsapp-button
fix/MIIC-45-cart-bug
Remove local branches marked as [gone] (deleted on remote) + associated worktrees:
./scripts/clean_branches.sh
What it does:
[gone] branches via git branch -vvgit add <files>
git commit -m "{issue-id}: {message}"
git push
Commit message convention:
SKY-45: Add whatsapp_number migration
SKY-45: Implement WhatsAppButton component
gh pr create \
--title "SKY-45: Add WhatsApp button" \
--body "Closes SKY-45
## Summary
- Added migration for whatsapp_number
- Created WhatsAppButton component
- Added E2E tests
## Testing
- [ ] Unit tests pass
- [ ] E2E tests pass
- [ ] Manual QA done"
Common gh commands for PR interactions:
gh pr list # List all PRs
gh pr view <NUMBER> # View PR details
gh pr edit <NUMBER> --title "New" # Edit PR title/body
gh pr close <NUMBER> # Close PR
gh pr merge <NUMBER> # Merge PR
gh pr review <NUMBER> -c -b "feedback" # Add comment review
gh pr merge <NUMBER> --squash # Squash merge
gh pr checks <NUMBER> # View CI status
When multiple agents work on same issue:
# Create worktree for agent
git worktree add ../SKY-45-kokoro feature/SKY-45/kokoro-20250118
# Work in isolated directory
cd ../SKY-45-kokoro
# When done, remove worktree
git worktree remove ../SKY-45-kokoro
# Current branch: feature/SKY-45/kokoro-20250118
git branch --show-current | grep -oE '(SKY|MIIC|[A-Z]+)-[0-9]+'
# Output: SKY-45
Use /review command to:
All scripts in scripts/ are executable:
clean_branches.sh - Remove [gone] branches + worktrees/review after creating PR to sync with Linearclean_branches.sh