git-workflow
/git-workflow
当用户需要规范化 Git 使用、进行代码协作或管理 Pull Request/Merge Request 时使用。此 Skill 提供 GitHub/Gitee 平台操作、Conventional Commits 规范及 PR/MR 最佳实践指导。
- Author
- boshi-xixixi ↗
- Repository
- traeskill ↗
- Licence
- MIT
- Last repository change
- 12.05.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 12.05.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
当用户需要规范化 Git 使用、进行代码协作或管理 Pull Request/Merge Request 时使用。此 Skill 提供 GitHub/Gitee 平台操作、Conventional Commits 规范及 PR/MR 最佳实践指导。
Original author description
当用户需要规范化 Git 使用、进行代码协作或管理 Pull Request/Merge Request 时使用。此 Skill 提供 GitHub/Gitee 平台操作、Conventional Commits 规范及 PR/MR 最佳实践指导。
How it works
- 包含的技能模块
- 🤖 智能体与 MCP 增强
SKILL.md preview
---
name: git-workflow
description: 当用户需要规范化 Git 使用、进行代码协作或管理 Pull Request/Merge Request 时使用。此 Skill 提供 GitHub/Gitee 平台操作、Conventional Commits 规范及 PR/MR 最佳实践指导。
---
# Git Workflow & Platform Collaboration
本 Skill 旨在指导开发者规范化使用 Git,并高效利用 GitHub、Gitee 等代码托管平台进行协作。
## 包含的技能模块
### 1. 提交规范 (Commit Convention)
- **标准**: 遵循 [Conventional Commits](https://www.conventionalcommits.org/)。
- **格式**: `<type>(<scope>): <description>`
- `feat`: 新功能
- `fix`: 修补 bug
- `docs`: 文档修改
- `style`: 代码格式修改 (不影响代码运行的变动)
- `refactor`: 重构 (即不是新增功能,也不是修改 bug 的代码变动)
- `perf`: 性能优化
- `test`: 增加测试
- `chore`: 构建过程或辅助工具的变动
- **示例**: `feat(auth): add google oauth2 login support`
### 2. 分支策略 (Branching Strategy)
- **Trunk Based Development (推荐)**:
- `main`: 随时可发布的主分支。
- Feature branches: 短生命周期的功能分支,合并后即删除。
- **Git Flow (传统)**:
- `master`, `develop`, `feature/*`, `release/*`, `hotfix/*`.
### 3. 平台特定指南 (Platform Specifics)
#### GitHub
- **Actions**: CI/CD 首选。
- **Pages**: 静态网站托管。
- **PR**: Pull Request 流程与 Code Review。
#### Gitee (码云)
- **国内加速**: 适合国内镜像与私有项目。
- **Gitee Go**: 内置的 CI/CD 流水线。
- **Pages**: Gitee Pages 服务。
## 🤖 智能体与 MCP 增强
### 推荐智能体角色
* **Git Workflow Specialist**: 详见 [AGENTS.md](AGENTS.md)。
* 专注于代码审查、提交信息规范化和发布流程管理。
### 推荐 MCP 工具
* **Git MCP**:
* 自动执行 `git add`, `git commit`, `git push`。
* 分析 git log 生成 Changelog。
* **GitHub MCP**:
* 创建 Issue, 提交 PR, Review 代码, 管理 Releases。
* **mcp-feedback-enhanced**:
* 在生成 PR 描述或 Commit Message 时,如果上下文不足,使用 `ask_followup_question` 询问用户具体的修改原因或关联的 Issue。
* 在进行 Code Review 时,使用该工具确认用户的 Review 重点。
---
Files in this package (2)
- AGENTS.md 2 KB
- SKILL.md 2 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · boshi-xixixi/traeskill | 85 | MIT |
| event4u-app/agent-config | 100 | MIT |
| lee-w/maigo | 100 | MIT |
| hakula139/plugins | 100 | MIT |
| ericrisco/rsc-harness | 100 | MIT |
| Sanit-mann/The-Insectoids | 100 | MIT |
| eliyce/paqad-ai | 100 | MIT |
| langfuse/langfuse | 100 | MIT |
| Muvon/octomind-tap | 100 | Apache-2.0 |
Database snapshot: 13.11.2026 · package version 61f477d67453 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 80Gitee Workflow Automation
当用户需要深度集成 Gitee 平台进行 Issue 管理、PR 自动化提交、代码审查或版本发布时使用。此 Skill 实现 Gitee 工作流的自动化全流程。 - 90gitee
Gitee platform via MCP Server. Trigger on create issue, create PR, review PR, merge PR, release, fork, search repos, notifications, or triage issues. - 100git-commit-and-workflow
Git commit, branch and pull request best practices using Conventional Commits. Use whenever creating commits, naming branches, preparing pull requests, writing commit messages, or when asked to commit, push, merge or release code. - 84create-pr
Create or update pull requests with conventional commits. Use when user says "create a PR for these changes", "submit this for review", "open a pull request", "push these changes and create a PR", "I'm ready to submit this work", or "create PR and link to issue #123". - 100github-pr-creation
Creates GitHub Pull Requests with automated validation and task tracking. Use when user wants to create PR, open pull request, submit for review, or check if ready for PR. Analyzes commits, validates task completion, generates Conventional Commits title and description, suggests… - 86merge-github-pr
Use when safely merge GitHub pull requests that are ready