git-commit-specification
Git 提交规范,涵盖 commit message 格式(feat/fix/refactor)、Issue 关联、分支命名、PR 提交准备、rebase 使用。当用户提交代码、编写 commit message、创建分支或准备 PR 时使用。
Install
mkdir -p .claude/skills/git-commit-specification && curl -L -o skill.zip "https://mcp.directory/api/skills/download/5919" && unzip -o skill.zip -d .claude/skills/git-commit-specification && rm skill.zipInstalls to .claude/skills/git-commit-specification
About this skill
Git 提交规范
Quick Reference
格式:标记: 提交描述 #issue编号
示例:feat: 添加流水线模板功能 #1234
分支:feature/xxx | bugfix/xxx | hotfix/xxx
标记类型
| 标记 | 说明 | 示例 |
|---|---|---|
feat | 新功能 | feat: 添加流水线模板支持 #1234 |
fix | Bug 修复 | fix: 修复构建日志丢失 #5678 |
refactor | 重构 | refactor: 优化查询性能 |
perf | 性能优化 | perf: 减少数据库查询 |
test | 测试 | test: 添加单元测试 |
docs | 文档 | docs: 更新 API 文档 |
chore | 构建/工具 | chore: 更新 Gradle 配置 |
del | 破坏性删除 | del: 移除废弃 API(需特别批准) |
When to Use
- 提交代码
- 创建分支
- 准备 PR
- 编写 commit message
提交格式
# 标准格式
feat: 添加流水线模板功能 #1234
# 带范围
feat(process): 添加流水线模板功能 #1234
分支命名
feature/pipeline-template-support # 功能分支
bugfix/build-log-missing # Bug 修复分支
hotfix/critical-security-issue # 热修复分支
PR 提交前准备
# 使用 rebase 精简 commit
git rebase -i HEAD~5
# 同步上游代码
git fetch upstream
git rebase upstream/develop
Checklist
提交代码前确认:
- commit message 符合格式规范
- 关联了 Issue 编号
- 使用 rebase 精简了 commit
- 没有包含敏感信息
- 代码通过本地测试
More by TencentBlueKing
View all skills by TencentBlueKing →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversGenerate conventional commit messages from staged git changes. Streamline your git amend commit message process with aut
Doclea MCP: persistent memory for AI assistants—store and retrieve architectural decisions, patterns and code insights u
Send and receive WhatsApp messages directly from Claude and other AI assistants. Search conversations, manage contacts,
Enhance your Firebase projects with AI-powered development tools from Firebase Inc. for smarter, faster app solutions.
Boost productivity on macOS with Apple Native Tools—search contacts, manage notes, and message easily in your favorite p
Powerful MCP server for Slack with advanced API, message fetching, webhooks, and enterprise features. Robust Slack data
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.