Agent Skills
› lee-to/ai-factory
› hello-commit
hello-commit
GitHub演示技能替换功能的自定义提交工作流,替代内置aif-commit。执行git状态检查,提示暂存文件,生成带[hello]前缀的提交信息,请求确认后执行提交。
触发场景
用户希望使用自定义的Git提交流程
需要演示或测试扩展系统的技能替换功能
安装
npx skills add lee-to/ai-factory --skill hello-commit -g -y
SKILL.md
Frontmatter
{
"name": "hello-commit",
"description": "Custom commit workflow that replaces the built-in aif-commit. Demonstrates the skill replacement feature of the extension system.",
"allowed-tools": "Bash(git *)",
"disable-model-invocation": true
}
Custom Commit (Hello Extension)
This skill replaces the built-in aif-commit to demonstrate the replaces feature.
Workflow
- Run
git statusandgit diff --cached - If nothing staged, suggest staging
- Generate a commit message with a
[hello]prefix - Ask for confirmation
- Execute
git commit
版本历史
- 2.17.0 当前 2026-07-24 12:20


