← Back to list
When to use
When to use

git-operations
by karote00
Design Tool
⭐ 2🍴 1📅 Jan 24, 2026
SKILL.md
name: git-operations description: Enforce git/gh CLI separation rule for version control operations license: MIT compatibility: opencode metadata: category: version-control workflow: git
Git/gh CLI Separation Rule
Core Principle: Use git CLI for local operations, gh CLI only for GitHub PR operations
When to use git CLI
git add- Stage changesgit commit- Create commitsgit checkout/git switch- Branch operationsgit push/git pull- Remote synchronizationgit status/git log- Status and historygit merge/git rebase- Integration operationsgit diff- View changes
When to use gh CLI
gh pr create- Create pull requestsgh pr list- List pull requestsgh pr view- View pull request detailsgh pr merge- Merge pull requestsgh pr checkout- Checkout PR branchgh issue create/gh issue list- Issue operations
Enforcement Guidelines
- Never use
ghfor: commits, staging, branching, pushing/pulling - Never use
gitfor: PR creation, PR management, issue operations - Always prefer
gitfor core version control operations - Use
ghonly for GitHub-specific web UI operations
Examples
✅ Correct:
git add .
git commit -m "feat: add new feature"
git push origin feature-branch
gh pr create --title "Add new feature" --body "Description here"
❌ Incorrect:
gh repo clone owner/repo # Use git clone instead
gh release create # Use git tag + gh release create is fine
Validation
Before executing any git/gh command, verify:
- Is this a local operation? → Use
git - Is this a PR/web operation? → Use
gh - Am I unsure? → Default to
gitfor core operations
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon