Skip to main content

git-workflow

Use this skill when working with git — making commits, creating branches, resolving merge conflicts, opening pull requests, or reviewing diffs. Apply whenever the user asks about version control operations.

来源信息

仓库
aiming-lab/MetaClaw
最近来源活动
2026年3月10日 18:04
检测到的 SKILL.md 语言
英语
星标
3,464
Forks
453

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
git-workflow
description
Use this skill when working with git — making commits, creating branches, resolving merge conflicts, opening pull requests, or reviewing diffs. Apply whenever the user asks about version control operations.
category
coding
# Git Workflow Best Practices **Commits:** - Write commit messages in imperative mood: `Add feature X`, not `Added feature X`. - One logical change per commit. Do not bundle unrelated changes. - Stage specific files (`git add <file>`), not `git add .` blindly. **Branches:** - Branch from the latest main/master: `git checkout -b feature/my-change`. - Keep branches short-lived; merge or rebase frequently. **Pull Requests:** - Include a short description of *why*, not just *what*. - Reference related issues (`Closes #123`). - Keep PRs focused — one feature or fix per PR. **Never:** force-push to shared branches, skip hooks with `--no-verify`, or commit secrets.
在 GitHub 查看