Skip to content
Development
Skill

/init

Initializes or optimizes git-agent configuration, regenerates commit scopes from git history, and re-derives .gitignore rules.

BOOST
From plugin
dotclaude
59683 skills7 agents4 commands3 MCP
Install
$ npx -y skills add FradSer/dotclaude --skill init --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/init

Context preview

The summary Claude sees to decide when to auto-load this skill.

Initializes or optimizes git-agent configuration, regenerates commit scopes from git history, and re-derives .gitignore rules.

SKILL.md

init.SKILL.md
name: init
description: Initializes or optimizes git-agent configuration, regenerates commit scopes from git history, and re-derives .gitignore rules.
user-invocable: true
argument-hint: "[--scope | --gitignore]"
allowed-tools: ["Bash(git-agent:*)"]

Execution

Execute initialization or optimization based on `$ARGUMENTS`:

1. **Optimize commit scopes** (regenerate from history):

   git-agent init --scope --force

2. **Re-derive `.gitignore`** (preserve custom rules):

   git-agent init --gitignore

3. **Full initialization** (both scopes and `.gitignore`):

   git-agent init --scope --gitignore

Report the updated configuration status upon completion.

CLI Reference: `../../references/cli.md`

Ships withdotclaude

A curated collection of 22 plugins for Claude Code, providing specialized agents, skills, and automation tools for development and productivity workflows.

Get the whole plugin

Other skills on dotclaude.