git-workflow
Original:🇨🇳 Chinese
Translated
Git Version Control & Collaboration Expert, covering GitHub/Gitee platform operations, Conventional Commits specifications, and PR/MR best practices.
13installs
Sourceboshi-xixixi/traeskill
Added on
NPX Install
npx skill4agent add boshi-xixixi/traeskill git-workflowTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →Git Workflow & Platform Collaboration
This Skill aims to guide developers in using Git in a standardized manner and efficiently collaborating using code hosting platforms such as GitHub and Gitee.
Included Skill Modules
1. Commit Convention
- Standard: Follow Conventional Commits.
- Format:
<type>(<scope>): <description>- : New feature
feat - : Bug fix
fix - : Documentation changes
docs - : Code format changes (changes that do not affect code execution)
style - : Code refactoring (changes that are neither new features nor bug fixes)
refactor - : Performance optimization
perf - : Adding tests
test - : Changes to build processes or auxiliary tools
chore
- Example:
feat(auth): add google oauth2 login support
2. Branching Strategy
- Trunk Based Development (Recommended):
- : Main branch that is ready for release at any time.
main - Feature branches: Short-lived feature branches, deleted after merging.
- Git Flow (Traditional):
- ,
master,develop,feature/*,release/*.hotfix/*
3. Platform Specifics
GitHub
- Actions: Preferred for CI/CD.
- Pages: Static website hosting.
- PR: Pull Request process and Code Review.
Gitee (Code Cloud)
- Domestic Acceleration: Suitable for domestic mirrors and private projects.
- Gitee Go: Built-in CI/CD pipeline.
- Pages: Gitee Pages service.
🤖 Agent & MCP Enhancement
Recommended Agent Roles
- Git Workflow Specialist: See AGENTS.md for details.
- Focuses on code review, commit message standardization, and release process management.
Recommended MCP Tools
- Git MCP:
- Automatically executes ,
git add,git commit.git push - Analyzes git log to generate Changelog.
- Automatically executes
- GitHub MCP:
- Creates Issues, submits PRs, reviews code, and manages Releases.
- mcp-feedback-enhanced:
- When generating PR descriptions or Commit Messages, if context is insufficient, use to ask users about specific modification reasons or related Issues.
ask_followup_question - During Code Review, use this tool to confirm the user's Review focus.
- When generating PR descriptions or Commit Messages, if context is insufficient, use