# Config Git

> Configures git setup for user identity and project conventions. This skill should be used when the user asks to "configure git", "setup git", "set commit scopes", or needs project-specific Git settings.

- Skill: `tuyv/config-git` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add tuyv/config-git`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tuyv/config-git/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tuyv (https://skillmd.com/u/tuyv)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tuyv/config-git

---


1. Verify `git config user.name` and `user.email`; prompt if missing
2. `git-agent init --scope --force`
3. Read scopes from `.git-agent/config.yml`, validate naming:
   - Single words: use as-is
   - Multi-word: abbreviate to first letters (e.g., `multi-word` -> `mw`)
4. Create `.claude/git.local.md` from `${CLAUDE_PLUGIN_ROOT}/examples/git.local.md` with validated scopes

CLI reference: `${CLAUDE_PLUGIN_ROOT}/references/cli.md`

