Agent Skills
› lee-to/ai-factory
› hello-commit
hello-commit
GitHub一个自定义的 Git 提交工作流技能,用于演示扩展系统的替换功能。它替代内置提交命令,通过检查暂存区、生成带前缀的提交信息并请求确认后执行 git commit。
Trigger Scenarios
用户希望提交代码更改
需要生成带有特定前缀的提交信息
Install
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
Version History
- 2.17.0 Current 2026-07-24 12:20


