← スキル一覧に戻る

git-workflow
by oornnery
My custom agent and skills
⭐ 0🍴 0📅 2026年1月16日
SKILL.md
name: git-workflow description: Git branch, commit, and PR management. Use for version control operations and maintaining clean git history.
Git Workflow Skill
Maintain clean git history with consistent conventions.
Branch Naming
Format
<type>/<slug>
Types
| Type | Use For |
|---|---|
feat/ | New features |
fix/ | Bug fixes |
refactor/ | Code improvements |
chore/ | Tooling, deps, CI |
docs/ | Documentation |
test/ | Test additions |
Slug Rules
- kebab-case
- Max 50 characters
- Include ticket ID if available
Examples
feat/add-user-auth
fix/null-pointer-login
feat/ABC-123-payment-flow
refactor/extract-validation
Commit Messages
Format
<type>(<scope>): <summary>
[optional body]
[optional footer]
Types
| Type | Description |
|---|---|
feat | New feature |
fix | Bug fix |
refactor | Code change (no feature/fix) |
docs | Documentation |
test | Test changes |
chore | Build, CI, deps |
perf | Performance |
style | Formatting |
Rules
- Imperative mood ("add" not "added")
- Lowercase first letter
- No period at end
- Max 50 chars for summary
- Body wraps at 72 chars
Examples
feat(auth): add JWT token validation
fix(api): handle null response from service
refactor(db): extract query builder
test(users): add creation edge cases
chore(deps): update ruff to v0.8
Common Operations
Start Feature
git checkout main
git pull --ff-only
git checkout -b feat/my-feature
Save Progress
git add -p # Interactive staging
git commit -m "feat(scope): description"
Update from Main
git fetch origin main
git rebase origin/main
Clean Up Commits
git rebase -i origin/main
# squash fixups, reword messages
Push & PR
git push -u origin feat/my-feature
gh pr create --fill
PR Description
## Summary
- Key change 1
- Key change 2
## Motivation
Why this change exists
## Changes
### Area 1
- Detail
## How to Test
1. Step 1
2. Step 2
## Risk
- Level: Low/Medium/High
- Notes: [any concerns]
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓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
レビュー
💬
レビュー機能は近日公開予定です