Back to Ruflo

GitHub Automation Skill

.agents/skills/github-automation/SKILL.md

3.6.301.1 KB
Original Source

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

AgentRole
pr-managerPull request lifecycle
code-review-swarmAutomated code review
issue-trackerIssue management
release-managerRelease automation
workflow-automationGitHub Actions

Best Practices

  1. Use conventional commits
  2. Require reviews before merge
  3. Run CI on all PRs
  4. Automate release notes