← Back to list

git-repo-setup
by Liam-Deacon
Reusable OpenSkills-compatible skills for AI agents (Claude Code, Cursor, Windsurf, Aider)
⭐ 0🍴 0📅 Jan 15, 2026
SKILL.md
name: git-repo-setup description: Personal checklist for setting up new git repositories. Always configure local git identity to avoid commits with incorrect email.
Git Repo Setup
Use this skill when creating or cloning a new repository.
Required: Set local git identity
Every new repo must have explicit git config for name and email:
git config user.name "Liam Deacon"
git config user.email "<appropriate-email>"
Email selection
| Repo org | |
|---|---|
| AntarcticaAM | liam@antarcticaam.com |
| Personal / Other | liam.m.deacon@gmail.com |
Why this matters
Without explicit config, git falls back to global config or auto-detected values (e.g., liam@mac.home), which:
- Breaks GitHub contribution attribution
- Looks unprofessional in commit history
- May leak machine hostnames
Quick setup for new repos
New AntarcticaAM repo
gh auth switch --user LiamDeaconAntarcticaAM
gh repo create AntarcticaAM/repo-name --private
cd repo-name
git config user.name "Liam Deacon"
git config user.email "liam@antarcticaam.com"
New personal repo
gh auth switch --user Liam-Deacon
gh repo create repo-name --private
cd repo-name
git config user.name "Liam Deacon"
git config user.email "liam.m.deacon@gmail.com"
Fixing incorrect commits
If commits were made with wrong email:
git commit --amend --reset-author --no-edit
git push --force # Only if already pushed
Score
Total Score
45/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
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon