一键导入
github-workflow
Complete GitHub workflow automation - push, create branch/PR, monitor Actions with pre-existing issue detection, auto-merge/rebase when checks pass.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Complete GitHub workflow automation - push, create branch/PR, monitor Actions with pre-existing issue detection, auto-merge/rebase when checks pass.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Orchestrate static analysis using Codacy. Required PR check on this repo. Use for querying PR analysis, triaging issues, fixing (not suppressing) findings, and local analysis. See SKILL.md for fix patterns and the required-check policy.
Build localized, accessible, premium reader/admin UI with 2026 design standards. Features OKLCH colors, View Transitions, scroll-aware components, and mutual exclusivity panels.
Create AGENTS.md files with production-ready best practices. Activate when creating new AGENTS.md or implementing quality gates.
Comprehensive GitHub PR review and automated fix pipeline. Takes a PR number or auto-detects from current branch, runs code review, static analysis, security audit, and quality checks, then produces a structured report and auto-fixes must-fix issues. Activate for "review PR", "fix PR issues", "PR quality check", "review and fix PR #123".
Invoke for complex multi-step tasks requiring intelligent planning and multi-agent coordination. Use when tasks need decomposition, dependency mapping, parallel/sequential/swarm execution strategies, or coordination of multiple specialized agents with quality gates.
Break down complex tasks into atomic, executable goals. Activate for multi-step feature planning, agent coordination, or request decomposition.
| version | 1.0.0 |
| name | github-workflow |
| description | Complete GitHub workflow automation - push, create branch/PR, monitor Actions with pre-existing issue detection, auto-merge/rebase when checks pass. |
| category | workflow |
| allowed-tools | Read Write Edit Glob Grep Bash |
| license | MIT |
Complete GitHub workflow automation for the full development lifecycle.
gh) installed and authenticated# Stage, commit, and push in one command
gh auth status
git add -A
git commit -m "type(scope): description"
git push -u origin HEAD
# Create branch from current state
gh branch create feature/my-feature
# Or create PR directly
gh pr create --title "feat(scope): description" --body "Description"
# List recent workflow runs
gh run list --limit 10
# Watch specific run
gh run watch <run-id>
# Get run status
gh run view <run-id> --log
# Enable auto-merge
gh pr merge <pr-number> --admin --auto
# Check for pre-existing failures in main
gh run list --branch main --limit 5
# Look for known issue labels
gh issue list --label "bug" --state open
./scripts/quality_gate.sh# Wait for CI to complete
gh run watch <run-id> --exit-zero
# Check for failures
gh run list --branch <branch> --status failure
# 1. Update main
git checkout main
git pull origin main
# 2. Create feature branch
git checkout -b feature/my-feature
# 3. Work and commit
git add -A
git commit -m "feat(scope): add new feature"
# 4. Push and create PR
git push -u origin HEAD
gh pr create --fill
# 5. Wait for checks
gh pr checks <pr-number>
# 6. Merge when ready
gh pr merge <pr-number> --squash --delete-branch
# 1. Create hotfix from main
git checkout main
git pull
git checkout -b hotfix/critical-fix
# 2. Fix and commit
git add -A
git commit -m "fix(scope): critical fix"
# 3. Push with priority
git push -u origin HEAD
# 4. Create PR with label
gh pr create --title "hotfix: critical fix" --label "hotfix"
# 5. Auto-merge if approved
gh pr merge <pr-number> --admin --auto
# Fetch latest
git fetch origin
# Rebase on main
git rebase origin/main
# Force push (only for your own branch)
git push --force-with-lease
# Check status
gh auth status
# Login
gh auth login
# List PRs
gh pr list
# View PR details
gh pr view <number>
# Review PR
gh pr review <number> --approve --body "LGTM"
| Error | Solution |
|---|---|
| Permission denied | Check gh auth, repo access |
| Branch conflict | Rebase or merge main first |
| Actions failing | Check logs, fix locally |
| Auto-merge disabled | Enable in repo settings |
| PR not mergeable | Rebase or resolve conflicts |
main requires PR + CI passingGitHub workflow automation streamlines the entire development process from local changes to merged code.