mcpField
C
config-git

config-git

github.com/fradserDevelopment59698 installsUpdated 5w ago
Repository

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

  1. 01Checks Git user name and email
  2. 02Initializes git-agent scopes
  3. 03Validates and abbreviates scope names
  4. 04Generates `.claude/git.local.md`

Use cases

  1. 01Setting up git-agent in a repository
  2. 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-git

After installing, type/config-gitin Claude Code to confirm it loaded.

Details

From the project README
  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

Comments

Markdown supported