GitHub Workflow Adaptation Plan
Description
**Project**: Claude Code Skills Factory **Blueprint Source**: `/Users/rezarezvani/projects/claudecode-github-bluprint` **Date**: November 12, 2025 **Status**: Planning Phase ---
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
Repository README
This is the README for alirezarezvani/claude-code-skill-factory, shared by 13 entries
in this directory. It describes the repository, not this entry specifically.
GitHub Workflow Adaptation Plan
**Project**: Claude Code Skills Factory **Blueprint Source**: `/Users/rezarezvani/projects/claudecode-github-bluprint` **Date**: November 12, 2025 **Status**: Planning Phase
๐ฏ Objective
Adapt the GitHub workflow blueprint to create an automated, Claude Code-integrated branching and PR workflow for the Skills Factory repository that:
- โ Enforces clear branch naming conventions
- โ
Prevents direct pushes to
main - โ
Routes all PRs through
devbranch - โ Auto-creates branches from issues
- โ Integrates Claude Code reviews (@claude)
- โ Auto-merges and cleans up after approval
- โ
Auto-switches back to
devbefore next task
๐ Current State vs. Desired State
Current Workflow Problems
| Issue | Impact | Example |
|---|---|---|
| No branch naming convention | Inconsistent branches | fix/psychology-advisor-link (unclear) |
| Direct pushes to main | Bypasses review process | Recent commits went straight to main |
| No automated branch creation | Manual git commands needed | Developer creates branches manually |
| No PR automation | Manual PR creation and cleanup | No auto-merge, no auto-delete |
| No Claude Code review integration | Missing automated reviews | Reviews done manually |
| Manual branch management | Forgot to switch back to dev | Stayed on feature branch |
Desired Workflow (Blueprint-Based)
1. Create GitHub Issue
โ
2. Label with 'claude-code' + 'status:ready'
โ
3. **AUTO**: Branch created (feature/issue-123-clear-name)
โ
4. Developer works on branch
โ
5. /commit-smart (quality checks + secrets scan)
โ
6. /create-pr (auto-links issue, adds labels)
โ
7. **AUTO**: PR validation (branch name, title, quality gates)
โ
8. Tag @claude for review
โ
9. **AUTO**: Claude Code review posted
โ
10. After approval โ **AUTO**: Merge to dev
โ
11. **AUTO**: Delete source branch
โ
12. **AUTO**: Switch to dev branch
โ
13. Ready for next task
๐๏ธ Blueprint Patterns to Adopt
Pattern 1: Branch Naming Convention
**From Blueprint**: `{type}/issue-{number}-{slug}`
**Types**:
feature/- New features (default)fix/- Bug fixeshotfix/- Critical production fixesrefactor/- Code refactoringtest/- Test additionsdocs/- Documentation changes
**Example**:
Issue #42: "Add AWS Solution Architect Skill"
Branch: feature/issue-42-add-aws-solution-architect-skill
**Enforcement**:
- โ
pr-into-dev.ymlvalidates branch names - โ PRs with invalid names are rejected
- ๐ Helpful error message shows correct format
Pattern 2: Branching Strategy
**Blueprint Strategy**: `feature โ dev โ main`
**Rules**:
- Base Branch: All feature branches created from
dev - PR Target: All feature PRs target
dev(notmain) - Release Flow: Only
devcan merge tomain - Hotfix Exception:
hotfix/*can merge tomaindirectly (emergency only)
**Cur
Related Skills
Epic Sync
Sync epic issue bodies, labels, and local coordination snapshots from GitHub.
Git ไฝฟ็จ Git Worktrees
ๅๅปบๅญค็ซ็ Git worktrees๏ผๅธฆๆๆบ่ฝ็ฎๅฝ้ๆฉไธๅฎๅ จ้ช่ฏใ
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git