# Github Automation

> GitHub workflow automation, PR management, issue tracking, and code review coordination. Integrates with GitHub Actions and repository management. Use when: PR creation, code review, issue management, release automation, workflow setup. Skip when: local-only changes, non-GitHub repositories.

- Skill: `majiayu000/github-automation-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/github-automation-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/github-automation-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/github-automation-2

---


# GitHub Automation Skill

## Purpose
GitHub workflow automation, PR management, and repository coordination.

## When to Trigger
- Creating pull requests
- Managing issues
- Setting up CI/CD workflows
- Code review automation
- Release management

## Commands

### Create Pull Request
```bash
gh pr create --title "feat: description" --body "## Summary\n..."
```

### Review Code
```bash
npx claude-flow github review --pr 123
```

### Manage Issues
```bash
npx claude-flow github issues list --state open
npx claude-flow github issues create --title "Bug: ..."
```

### Setup Workflow
```bash
npx claude-flow workflow create --template ci
```

### Release Management
```bash
npx claude-flow deployment release --version 1.0.0
```

## Agent Types

| Agent | Role |
|-------|------|
| `pr-manager` | Pull request lifecycle |
| `code-review-swarm` | Automated code review |
| `issue-tracker` | Issue management |
| `release-manager` | Release automation |
| `workflow-automation` | GitHub Actions |

## Best Practices
1. Use conventional commits
2. Require reviews before merge
3. Run CI on all PRs
4. Automate release notes

