commit

GitHub

使用标准 Git 命令创建符合 Conventional Commits 规范的原子化提交。通过检查状态、暂存文件、生成规范消息并执行提交,确保代码变更记录清晰整洁。

git/skills/commit/SKILL.md FradSer/dotclaude

Trigger Scenarios

用户要求 'commit' 或 'git commit' 用户要求创建提交或处理已暂存/未暂存的更改

Install

npx skills add FradSer/dotclaude --skill commit -g -y
More Options

Non-standard path

npx skills add https://github.com/FradSer/dotclaude/tree/main/git/skills/commit -g -y

Use without installing

npx skills use FradSer/dotclaude@commit

指定 Agent (Claude Code)

npx skills add FradSer/dotclaude --skill commit -a claude-code -g -y

安装 repo 全部 skill

npx skills add FradSer/dotclaude --all -g -y

预览 repo 内 skill

npx skills add FradSer/dotclaude --list

SKILL.md

Frontmatter
{
    "name": "commit",
    "description": "Creates clean, conventional git commits using standard git. Use when the user asks to \"commit\", \"git commit\", \"create commit\", or wants to commit staged or unstaged changes.",
    "allowed-tools": [
        "bash"
    ],
    "argument-hint": "[optional commit message or instructions]",
    "user-invocable": true
}

Commit Skill (Standard Git)

Create clean, atomic Conventional Commits using standard git commands.

Workflow

  1. Inspect status and diff:
    git status --porcelain
    git diff --staged
    git diff
    
  2. Stage files: Stage relevant modified or untracked files explicitly:
    git add <file1> <file2> ...
    
  3. Formulate Conventional Commit Message: Follow the specification: <type>(<optional scope>): <short description> Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore.
  4. Commit: Execute standard git commit:
    git commit -m "<type>(<scope>): <summary>"
    
    If a co-author trailer is required or requested, follow ../../references/coauthor-attribution.md.

Version History

  • 6f2a0b2 Current 2026-08-20 10:58

Same Skill Collection

.claude/skills/reflect-skills-from-memory/SKILL.md
acpx/skills/use-acpx/SKILL.md
antigravity/skills/delegate/SKILL.md
antigravity/skills/research/SKILL.md
code-context/skills/code-context/SKILL.md
code-context/skills/get-context/SKILL.md
git-agent/skills/commit-and-push/SKILL.md
git-agent/skills/commit/SKILL.md
git-agent/skills/init/SKILL.md
git-agent/skills/related/SKILL.md
git/skills/commit-and-push/SKILL.md
git/skills/finish-feature/SKILL.md
git/skills/finish-hotfix/SKILL.md
git/skills/finish-release/SKILL.md
git/skills/start-feature/SKILL.md
git/skills/start-hotfix/SKILL.md
git/skills/start-release/SKILL.md
github/skills/create-issues/SKILL.md
github/skills/create-pr/SKILL.md
github/skills/resolve-issues/SKILL.md
github/skills/review-pr/SKILL.md
hardware/skills/use-kicad-cli/SKILL.md
hardware/skills/use-openscad/SKILL.md
interfaces/skills/better-interface/SKILL.md
lark/skills/SKILL.md
marketing/skills/SKILL.md
mattpocock/skills/deprecated/design-an-interface/SKILL.md
mattpocock/skills/deprecated/qa/SKILL.md
mattpocock/skills/deprecated/request-refactor-plan/SKILL.md
mattpocock/skills/deprecated/ubiquitous-language/SKILL.md
mattpocock/skills/engineering/ask-matt/SKILL.md
mattpocock/skills/engineering/bdd/SKILL.md
mattpocock/skills/engineering/code-review/SKILL.md
mattpocock/skills/engineering/codebase-design/SKILL.md
mattpocock/skills/engineering/diagnosing-bugs/SKILL.md
mattpocock/skills/engineering/domain-modeling/SKILL.md
mattpocock/skills/engineering/grill-with-docs/SKILL.md
mattpocock/skills/engineering/implement/SKILL.md
mattpocock/skills/engineering/improve-codebase-architecture/SKILL.md
mattpocock/skills/engineering/prototype/SKILL.md
mattpocock/skills/engineering/research/SKILL.md
mattpocock/skills/engineering/resolving-merge-conflicts/SKILL.md
mattpocock/skills/engineering/setup-matt-pocock-skills/SKILL.md
mattpocock/skills/engineering/tdd/SKILL.md
mattpocock/skills/engineering/to-spec/SKILL.md
mattpocock/skills/engineering/to-tickets/SKILL.md
mattpocock/skills/engineering/triage/SKILL.md
mattpocock/skills/engineering/wayfinder/SKILL.md
mattpocock/skills/engineering/wizard/SKILL.md

Metadata

Files
0
Version
6f2a0b2
Hash
226fbb17
Indexed
2026-08-20 10:58

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 04:40
浙ICP备14020137号-1 $お客様$