git-workflow

SKILL.md

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.

Weekly Installs
2
GitHub Stars
1.3K
First Seen
4 days ago
Installed on
amp2
cline2
opencode2
cursor2
kimi-cli2
codex2