git-workflow-and-versioning-sh-64snn2
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "git-workflow-and-versioning-sh-64snn2":https://skillpi.com/zh/skills/deepskill-cc4ed4a3602c7656ac97ef798e60030a4750d337ce1e5b62c1ef80bea620ba38。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3c6cb52e/git-workflow-and-versioning-sh-64snn2。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
Git 工作流与版本管理专用技能,面向需要处理 Git 分支、合并、变更记录和版本发布相关任务的 AI Agent,帮助高效执行与版本控制相关的操作与建议。
介绍来源: third_party · user_3c6cb52e · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 来源文档未说明。
- 软件、账号及付费要求
- 来源文档未说明。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: Git工作流AndVersioning
slug: git-workflow-and-versioning
version: 1.0.0
displayName: Git工作流AndVersioning
description: >
Git工作流AndVersioning专用技能,帮助AI Agent高效完成相关任务。
summary: "Git工作流AndVersioning专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 开发者工具
framework:
- Claude Code
- Codex
- Hermes Agent
- OpenClaw
- QClaw
- WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"
Git Workflow and Versioning
Overview
Git is your safety net. Treat commits as save points, branches as sandboxes, and history as documentation. With AI agents generating code at high speed, disciplined version control is the mechanism that keeps changes manageable, reviewable, and reversible.
When to Use
Always. Every code change flows through git.
Core Principles
Trunk-Based Development (Recommended)
Keep main always deployable. Work in short-lived feature branches that merge back within 1-3 days. Long-lived development branches are hidden costs — they diverge, create merge conflicts, and delay integration. DORA research consistently shows trunk-based development correlates with high-performing engineering teams.
main ──●──●──●──●──●──●──●──●──●── (always deployable)
╲ ╱ ╲ ╱
●──●─╱ ●──╱ ← short-lived feature branches (1-3 days)
This is the recommended default. Teams using gitflow or long-lived branches can adapt the principles (atomic commits, small changes, descriptive messages) to their branching model — the commit discipline matters more than the specific branching strategy.
- Dev branches are costs. Every day a branch lives, it accumulates merge risk.
- Release branches are acceptable. When you need to stabilize a release while main moves forward.
- Feature flags > long branches. Prefer deploying incomplete work behind flags rather than keeping it on a branch for weeks.
1. Commit Early, Commit Often
Each successful increment gets its own commit. Don't accumulate large uncommitted changes.
Work pattern:
Implement slice → Test → Verify → Commit → Next slice
Not this:
Implement everything → Hope it works → Giant commit
Commits are save points. If the next change breaks something, you can revert to the last known-good state instantly.
2. Atomic Commits
Each commit does one logical thing:
# Good: Each commit is self-contained
git log --oneline
a1b2c3d Add task creation endpoint with validation
d4e5f6g Add task creation form component
h7i8j9k Connect form to API and add loading state
m1n2o3p Add task creation tests (unit + integration)
# Bad: Everything mixed together
git log --oneline
x1y2z3a Add task feature, fix sidebar, update deps, refactor utils
3. Descriptive Messages
Commit messages explain the why, not just the what:
# Good: Explains intent
feat: add email validation to registration endpoint
Prevents invalid email
(为兼容发布已截断)当前收录版本
1.0.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 面向开发者的通用工具,具有广泛受众的实用能力
- 内容完整,涵盖 Git 工作流核心原则与最佳实践
亮点
- 触发词覆盖合理,边界清晰
- description 位置正确且内容完整
待提升项
-
缺少端到端完整示例 原报告严重程度:轻微
文档提供了代码片段示例,但缺乏完整的端到端使用示例
改进建议:建议添加一个完整的 Git 工作流示例,展示从创建分支到合并的完整流程
-
无步骤划分/无门控 原报告严重程度:轻微
文档结构较为松散,缺乏明确的步骤划分和执行门控条件
改进建议:建议将核心原则划分为明确的执行步骤,并为每个步骤添加出口条件说明
亮点
- frontmatter 完整,包含必要的元数据信息
- 文档结构基本清晰,有 Overview、When to Use、Core Principles 等章节
待提升项
-
主要异常未处理 原报告严重程度:重大
文档未覆盖 Git 使用中的主要异常场景,如合并冲突处理、回滚操作、分支管理等
改进建议:建议添加异常处理章节,涵盖合并冲突解决、错误回滚、分支清理等常见问题的处理方法
亮点
- 工具来源明确(Git),参数指导清晰
- 提供了原子提交、描述性消息等可靠性最佳实践
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- github.com
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
来源文档未说明。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。