界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

commit

commit

【效率与协作】Stage and commit changes with conventional commit format. Use when the user says /commit or asks to commit.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: commit description: Stage and commit changes with conventional commit format. Use when the user says /commit or asks to commit. disable-model-invocation: true allowed-tools: Bash(git add *) Bash(git commit *) Bash(git status *) Bash(git log *) Bash(git diff *) shell: powershell

Instructions

  1. Run git status and git diff to inspect changes
  2. Run git log --oneline -5 to see recent commit style
  3. Draft a conventional commit message (type(scope): description)
  4. Stage files: git add <files>
  5. Commit: git commit -m "<message>"
  6. Show final git status

Rules

  • Do NOT commit .env, credentials.json, or secrets
  • Do NOT use --no-verify or --no-gpg-sign
  • Only commit when user explicitly requests it
我的收藏