← スキル一覧に戻る

git-workflow
by pkuppens
Duolingo successor. Learn a foreign language in a conversational way, with adaptive difficulty.
⭐ 1🍴 2📅 2026年1月25日
SKILL.md
name: git-workflow description: Git branch management and pull request workflows. Use when creating feature branches, pushing changes, creating PRs, or managing git operations for issue implementation. allowed-tools: Bash(git:), Bash(gh:)
Git Workflow Management
Branch Naming
Format: feature/<issue-number>-<short-description>
Examples: feature/123-add-user-auth, feature/45-fix-login-bug
Branch Operations
# Check current branch
git branch --show-current
# Create feature branch from main
git checkout main && git pull origin main
git checkout -b feature/<issue>-<description>
# Check for existing branch
git branch -a | grep -i "feature/<issue>"
Commit Convention
Format: #<issue>: <type>: <description>
Types: feat, fix, docs, test, refactor, chore
# Simple commit
git commit -m "#123: feat: add user authentication endpoint"
# Multi-line commit
git commit -m "$(cat <<'EOF'
#123: feat: add user authentication
- Implement JWT token generation
- Add password hashing
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
Pull Request
# Push branch
git push -u origin feature/<issue>-<description>
# Create PR
gh pr create --title "#<issue>: <title>" --body "$(cat <<'EOF'
## Summary
[Brief description]
Closes #<issue>
## Changes
- [Change 1]
## Testing
- [How tested]
---
Generated with Claude Code
EOF
)" --reviewer <reviewer>
Pre-commit
pre-commit run --all-files
# If hooks auto-fix files
git add -A && git commit -m "#<issue>: chore: apply pre-commit fixes"
Safety Rules
- NEVER commit directly to
main - NEVER force push to shared branches
- NEVER skip pre-commit hooks without approval
- Always create PRs for code review
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です