Agent Skills
› lee-to/ai-factory
› hello-commit
hello-commit
GitHub演示技能替换功能的自定义提交工作流,替代内置 aif-commit。通过检查暂存区、生成带前缀的提交信息并确认后执行 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


