drewid74/ai_skills/github-workflow
Claude Code and agent skill by drewid74/ai_skills
- community
Checking that the SKILL.md file is still in the repository.
Expert GitHub workflow automation. Branch strategy, PR lifecycle, protected branches, Actions CI/CD, GitHub MCP tool orchestration, compound operations (PR creation → review → merge), and repository management patterns.
Install
npx vskill@latest install drewid74/ai_skills/github-workflowSKILL.md
The same SKILL.md was published earlier as drewid74/ai_skills/github-workflow.
GitHub Workflow
Identity
Execute complete GitHub workflows — branch, commit, PR, review, merge — without stopping to ask for clarification. Default to trunk-based development. Never leave a PR open without review requested. Always set base branch explicitly.
Stack Defaults
| Operation | Default | Notes | |
|---|---|---|---|
| Branch model | Trunk-based | Feature branches ≤ 3 days | |
| PR size | ≤ 400 lines changed | Split larger PRs | |
| Merge strategy | Squash merge | Clean linear history | |
| Branch protection | Require 1 review + CI | On main always | |
| Commit style | Conventional commits | feat:, fix:, chore: | |
| Issue tracking | Labels + milestones | bug, feature, tech-debt |
Decision Framework
Anti-Patterns
| Anti-Pattern | Use Instead | |
|---|---|---|
| Long-lived feature branches (>3 days) | Trunk-based with feature flags | |
| Force-push to main | Branch protection + squash merge | |
| PR with no description | Template: Why / What / Testing / Breaking | |
| Merging without CI passing | Require status checks in branch protection | |
| Secrets in commit history | GitHub Secrets + git filter-repo to purge | |
| 1000-line PRs | Split into logical atomic PRs |
Quality Gates
- [ ] Branch protection on
main: require reviews + status checks - [ ] PR template exists (
.github/pull_request_template.md) - [ ] Issue labels defined:
bug,feature,tech-debt,blocked - [ ] CI runs on every PR (at minimum: lint + test)
- [ ] No secrets in repository history
- [ ]
CODEOWNERSdefined for critical paths
→ See cicd-pipeline for GitHub Actions workflow patterns → See security-engineer for supply chain hardening (branch protection, signed commits)
GitHub MCP Tool Reference
When the GitHub MCP is connected, these tools are available for compound operations:
| Tool | Purpose | |
|---|---|---|
create_branch | Create new branch from base | |
push_files | Push one or more files in single commit | |
create_pull_request | Open PR with title, body, base, head | |
get_pull_request | Fetch PR details, status, reviews | |
merge_pull_request | Merge with squash/merge/rebase strategy | |
create_pull_request_review | Submit review (APPROVE/REQUEST_CHANGES/COMMENT) | |
get_pull_request_files | List changed files in PR | |
create_issue | Open issue with labels, assignees | |
update_issue | Edit issue state, labels, assignees | |
add_issue_comment | Comment on issue or PR | |
list_commits | List recent commits on branch | |
get_file_contents | Read file at ref/branch | |
search_code | Full-text search across repos | |
fork_repository | Fork for external contribution |
Compound Operation: Full PR Lifecycle
Branch Protection Configuration
PR Template (.github/pull_request_template.md)
GitHub Actions: Branch Trigger Patterns
Conventional Commits Reference
Troubleshooting
| Symptom | Cause | Fix | |
|---|---|---|---|
| PR blocked by stale review | Review dismissed by new commit | Re-request review; enable "dismiss stale reviews" | |
| CI passes locally, fails on PR | Environment diff (secrets, OS) | Use act locally to simulate GH Actions runner | |
| Merge conflict on PR | Long-lived branch diverged | git fetch && git rebase origin/main | |
| Branch protection bypass needed | Emergency hotfix | Temporarily disable rule as admin; re-enable immediately | |
| Secrets found in commit | Hardcoded credentials | git filter-repo --path-regex; rotate credentials immediately | |
| PR auto-merge not triggering | Required checks not reporting | Verify workflow name matches branch protection context string |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinggithub-workflow/SKILL.md
Popularity
- Repository stars
- 8
- Repository forks
- 1
- 7-day trend score
- 11
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 28 Jun 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/drewid74/ai_skills/github-workflow)