About config-git
config-git is a skill for initializing git-agent configuration and generating a project-specific `.claude/git.local.md`. It checks Git identity settings and validates scopes before creating the file.
Key features
- 01Checks Git user name and email
- 02Initializes git-agent scopes
- 03Validates and abbreviates scope names
- 04Generates `.claude/git.local.md`
Use cases
- 01Setting up git-agent in a repository
- 02Creating local Git guidance for configured scopes
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ fradser/ dotclaude --skill config-gitAfter installing, type/config-gitin Claude Code to confirm it loaded.
Details
From the project README- Verify
git config user.nameanduser.email; prompt if missing git-agent init --scope --force- 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)
- Create
.claude/git.local.mdfrom${CLAUDE_PLUGIN_ROOT}/examples/git.local.mdwith validated scopes
CLI reference: ${CLAUDE_PLUGIN_ROOT}/references/cli.md
Comments
Markdown supported