Init

From FradSer/dotclaude · View interactive version

Init is an AI agent skill from the GitHub repository FradSer/dotclaude. Initializes or optimizes git-agent configuration, regenerates commit scopes from git history, and re-derives .gitignore rules. Use when setting up git-agent in a repo, when commit scopes drift from the current directories, or when asked to "init git-agent", "regenerate scopes", or "update gitignore"

How to use this skill

Skill file

Execution

Execute initialization or optimization based on $ARGUMENTS:

  1. Optimize commit scopes (regenerate from history):

```bash

git-agent init --scope --force

```

  1. Re-derive .gitignore (preserve custom rules):

```bash

git-agent init --gitignore

```

  1. Full initialization (both scopes and .gitignore):

```bash

git-agent init --scope --gitignore

```

Report the updated configuration status upon completion.

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.