github-workflow
Installation
SKILL.md
GitHub Workflow
Use this skill for GitHub operations in repositories that have the gh CLI available.
Workflow
- Inspect repository remote, current branch, and GitHub authentication before mutating remote state.
- Use
gh pr,gh issue,gh run,gh workflow, andgh apifor GitHub operations. - For review-bot feedback, fetch inline comments and review bodies, then fix only actionable issues.
- For CI failures, inspect failed run logs before changing code.
- For merges, confirm branch status, required checks, and review state.
Safety
- Avoid admin merges unless the user explicitly permits them.
- Preserve unrelated local changes.
- Prefer non-interactive
ghcommands with explicit flags.