github-contribution-workflowlisted
Install: claude install-skill wei18/apple-dev-skills
# GitHub Contribution Workflow
The `gh`-CLI contribution loop for an agent acting on a GitHub repo: branch โ
commit โ PR โ CI โ merge, plus issues, GitHub-side file ops, repo secrets, and
contribution-flow repo settings. Encodes conventions that keep an agent's
contributions reviewable and consistent. Tool-agnostic in spirit; concrete
commands are `gh` + `git`.
## When to invoke
- Opening or merging a PR; opening or commenting on an issue.
- Creating or editing a file *through GitHub* (API / web flow) rather than a local clone.
- Setting a repo secret or configuring contribution-flow repo settings.
- Checking CI status before a merge; bumping a submodule pin.
- User says "open a PR / issue", "merge this", "set the secret", "configure the repo".
## Scope โ what this does NOT own (route to sibling)
- **Verifying the diff matches the commit's claims** before push/PR โ `pr-diff-verification`.
- **Security repo settings** (Secret Scanning, push protection, gitleaks, `.gitignore` baseline) โ `apple-public-repo-security`.
- **Parallel-session / submodule worktree conflicts** โ `subagent-conflict-detection`.
- **Distributing or installing skill plugins** (marketplace, depth-1 rule) โ `claude-skill-plugin-packaging`.
- **Pure local git** with no GitHub surface โ out of scope.
## Intent โ command
| Intent | Command |
|---|---|
| Open a PR | `gh pr create --title "<conventional title>" --body "<body + ๐ค footer>"` |
| Check CI before merge | `gh pr checks <n> --repo <o/r>` ; `gh