Comprehensive GitHub workflow orchestration with skills for issues, branches, PRs, and CI management
Provides complete GitHub workflow automation for Claude Code sessions. Combines automatic hooks for session context with 4 specialized skills and a coordinating agent for complex multi-step workflows. Supports issue management, smart branch naming, CI orchestration, and PR lifecycle automation.
| Hook | Event | Purpose |
|---|---|---|
| install-github | SessionStart | Installs GitHub CLI on remote environments |
| add-github-context | SessionStart | Displays linked issue, branch sync status, outstanding issues |
| create-issue-on-prompt | UserPromptSubmit | Creates GitHub issue on first user prompt |
| sync-plan-to-issue | PostToolUse[Write|Edit] | Creates/updates GitHub issues from plan files |
| enhance-commit-context | PostToolUse[Bash] | Enriches git commits with task context |
| await-pr-status | PostToolUse[Bash] | Detects PR creation, suggests CI check |
| commit-session-await-ci-status | Stop | Validates git state, reports PR status (blocking) |
| Skill | Purpose |
|---|---|
| issue-management | Create, update, label, and link GitHub issues with templates |
| branch-orchestration | Smart branch naming ({issue}-{type}/{name}), lifecycle management |
| ci-orchestration | CI/CD monitoring with fail-fast patterns and preview URL extraction |
| pr-workflow | PR lifecycle with auto-generated descriptions from commits |
| Agent | Purpose |
|---|---|
| github-orchestrator | Coordinates complex multi-step workflows across issues, branches, PRs, and CI |
# Using issue-management skill
gh issue create \
--title "Safari auth failure" \
--label "bug,priority:high" \
--body "$(getBugTemplate | renderTemplate '{description: "Auth fails on Safari 17.2", ...}')"# Using branch-orchestration skill
BRANCH=$(generateBranchName 42 "feature" "Add dark mode")
# Returns: "42-feature/add-dark-mode"
git checkout -b "$BRANCH"
git push -u origin "$BRANCH"# Using ci-orchestration skill
# Wait for CI with fail-fast (10min timeout)
awaitCIWithFailFast "$PWD" 42 10
# Extract preview URLs
URLS=$(extractPreviewUrls "$(gh pr view 42 --json statusCheckRollup)")# Using pr-workflow skill
COMMITS=$(git log main..HEAD --oneline)
ISSUE=$(extractIssueNumber "$(git branch --show-current)")
DESC=$(generatePRDescription "$COMMITS" "$ISSUE")
gh pr create --body "$DESC"# Using github-orchestrator agent
# 1. Create epic issue
# 2. Create branches with smart naming
# 3. Create PRs with auto-descriptions
# 4. Monitor CI and extract previews
# 5. Merge and close issuesThe plugin maintains workflow state in .claude/logs/:
plan-issues.json- Plan → Issue mappingbranch-issues.json- Branch → Issue mappingsession-config.json- Session configurationsession-stops.json- Session stop state trackingtask-calls.json- Task tool context coordination
Format: {issueNumber}-{workType}/{kebab-case-title}
Work Types: feature | fix | chore | docs | refactor
Examples:
42-feature/add-dark-mode123-fix/safari-auth-bug7-docs/update-readme
claude plugin install github-orchestration@constellosThis plugin replaces github-context with expanded capabilities. All existing hooks remain unchanged. New skills and agent provide explicit control over workflows.
What's New in v0.2.0:
- 4 specialized skills for explicit GitHub operations
- github-orchestrator agent for complex workflows
- Extracted utilities (work-type-detector, branch-naming, issue-templates, pr-templates)
- Enhanced CI orchestration with preview URL extraction
- Auto-generated PR descriptions from commits
Breaking Changes: None - all hooks remain backward compatible
MIT © constellos