~commit
SkillDocs & knowledgeStandardized Git commits with knowledge base sync (~commit command)
Use ~commit in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add ~commit and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the ~commit skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by hellowind777/helloagents in skills/commands/commit/SKILL.md and read by ahel’s review.
Trigger: ~commit [message]
执行 ~commit 时,知识库同步与状态文件更新范围按当前已加载的 HelloAGENTS“收尾与归档”/ 流程状态要求执行;本命令只负责生成提交信息、读取提交归属配置并完成提交动作。
auto_commit_enabled=false 只关闭收尾阶段的自动提交,不影响显式 ~commit。
流程
- 检查 staged changes(git diff --staged)
- 如果没有 staged changes,提示用户先 git add
- 生成 conventional commit message(如未提供)
- 格式: type(scope): description
- type: feat|fix|refactor|docs|test|chore|style|perf
- 先一次性解析会话中已知设置:优先使用当前会话上下文中已注入的“当前用户设置”、该配置文件原始 JSON 或此前读取结果摘要;上下文不存在或缺少
commit_attribution/kb_create_mode时,才读取一次~/.helloagents/helloagents.json - 复用上一步已解析的设置获取
commit_attribution:- ""(空,默认)→ 不添加归属
- 有内容(如 "Co-Authored-By: HelloAGENTS")→ 添加该内容到 commit message
- 执行 git commit
- 若
state_path已存在,按 HelloAGENTS“已有则更新”要求同步当前已提交状态
知识库同步
提交后,继续复用上方已解析的同一份设置获取 kb_create_mode,不要再次读取 ~/.helloagents/helloagents.json:
- 0 = 跳过
- 1 = 知识库已存在时自动同步(默认)
- 2 = 编码任务在知识库已存在或当前项目已初始化时自动创建或同步 同步范围与更新格式按当前已加载的 HelloAGENTS“收尾与归档”阶段执行。
Signals
- GitHub stars
- 704
- Forks
- 97
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
commit-hellowind777- Source
- github.com/hellowind777/helloagents
github.com/hellowind777/helloagents
More in Docs & knowledge
Skill · mattpocock
More in Docs & knowledgecanvas-design
Skill · anthropics
More in Docs & knowledgedoc-coauthoring
Skill · anthropics
More in Docs & knowledgepopups
Skill · coreyhaines31
More in Docs & knowledgewriting-for-agents
Skill · mattpocock
More in Docs & knowledgespec-driven-development
Skill · addyosmani
More in Docs & knowledge