搜索

PythonReactSEOPDF
GitHub Skill

git-workflow

Git best practices for commits, branches, pull requests, and collaboration workflows following Conventional Commits and GitFlow patterns

aiskillstore☆ 124 仓库 Stars6 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Git Workflow Skill

Objective

Implement professional Git workflows ensuring clean commit history, proper branch management, effective collaboration, and code review best practices.

When to Use This Skill

Auto-invoke when:

  • User mentions "commit", "push", "branch", "merge", "pull request", "PR"
  • Before code changes need to be saved
  • Preparing for deployment or release
  • Resolving merge conflicts

Commit Message Standards (Conventional Commits)

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

Types: feat, fix, docs, style, refactor, perf, test, chore, ci

Examples:

feat(auth): add OAuth2 login support
fix(api): handle null response in user endpoint
docs(readme): update installation instructions

Branch Naming: <type>/<ticket-id>-<description>

Examples:

feature/AUTH-123-oauth-integration
bugfix/CORE-456-fix-null-pointer
hotfix/PROD-789-critical-security-patch

GitFlow Workflow

Main: production, Develop: integration Features: branch from develop → merge to develop Releases: branch from develop → merge to main+develop Hotfixes: branch from main → merge to main+develop

Pre-Commit Checklist

# No secrets
git diff --cached | grep -iE "api[_-]?key|secret|password"

# Run quality gates
npm run lint && npm run typecheck && npm run test

Version History

  • 1.0.0 (2025-01-03): Initial Git workflow skill

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-28
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!