| name | github-modes-5-repo-architect |
| description | Sub-skill of github-modes: 5. repo-architect (+2). |
| version | 1.0.0 |
| category | development |
| type | reference |
| scripts_exempt | true |
5. repo-architect (+2)
5. repo-architect
Repository structure and organization
gh repo create my-project --public --description "Project description"
gh repo clone owner/repo -- --depth=1
*See sub-skills for full details.*
**Automated code review and quality assurance**
```bash
gh pr diff 123
gh pr view 123 --json files --jq '.files[].path'
*See sub-skills for full details.*
**Branch management and workflow coordination**
```bash
gh api repos/:owner/:repo/git/refs \
-f ref='refs/heads/feature/new-feature' \
-f sha=$(gh api repos/:owner/:repo/git/refs/heads/main --jq '.object.sha')
gh api repos/:owner/:repo/git/refs/heads/old-branch --method DELETE
*See sub-skills for full details.*