Agent Skills
› FradSer/dotclaude
› init
init
GitHub初始化或优化 git-agent 配置,支持从历史重新生成提交范围、推导 .gitignore 规则及执行完整初始化,并报告配置状态。
Trigger Scenarios
需要初始化 git-agent 配置
需要重新生成 commit scopes
需要重新推导 .gitignore 规则
Install
npx skills add FradSer/dotclaude --skill init -g -y
SKILL.md
Frontmatter
{
"name": "init",
"description": "Initializes or optimizes git-agent configuration, regenerates commit scopes from git history, and re-derives .gitignore rules.",
"allowed-tools": [
"Bash(git-agent:*)"
],
"argument-hint": "[--scope | --gitignore]",
"user-invocable": true
}
Execution
Execute initialization or optimization based on $ARGUMENTS:
- Optimize commit scopes (regenerate from history):
git-agent init --scope --force - Re-derive
.gitignore(preserve custom rules):git-agent init --gitignore - Full initialization (both scopes and
.gitignore):git-agent init --scope --gitignore
Report the updated configuration status upon completion.
CLI Reference: ../../references/cli.md
Version History
- 6f2a0b2 Current 2026-08-20 10:58


