git-workflow

v2026.09.24

Manage Git branches, commits, and pull requests following best practices

GitHub
安装命令
npx skhub add tatat/git-workflow
Markdown
SKILL.md

Git Workflow

Manage Git operations and follow branching best practices.

Capabilities

  • Create and manage feature branches
  • Write meaningful commit messages
  • Handle merge conflicts
  • Create and review pull requests

Branch Naming

feature/  - New features (feature/add-user-auth)
bugfix/   - Bug fixes (bugfix/fix-login-error)
hotfix/   - Urgent production fixes (hotfix/security-patch)
release/  - Release preparation (release/v1.2.0)

Commit Message Format

<type>(<scope>): <subject>

<body>

<footer>

Types

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation
  • refactor: Code refactoring
  • test: Adding tests
  • chore: Maintenance

Example

feat(auth): add OAuth2 login support

- Implement Google OAuth2 provider
- Add token refresh mechanism
- Store tokens securely in session

Closes #123

Common Workflows

Feature Branch

git checkout -b feature/new-feature
# ... make changes ...
git add .
git commit -m "feat: add new feature"
git push -u origin feature/new-feature
# Create PR

Sync with Main

git checkout main
git pull origin main
git checkout feature/my-feature
git rebase main

PR Checklist

  • Tests pass
  • Code reviewed
  • Documentation updated
  • No merge conflicts
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

Sep 24, 2026

分类

未分类

许可证

未指定

源路径

skills/git-workflow

默认分支

main

最新提交

0c2aeef

Tree SHA

c1c8c7d