git-workflow-and-versioning-lr-4boy

Skill focused on Git workflows and versioning, designed to help AI Agents efficiently perform tasks related to Git workflows and version management.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "git-workflow-and-versioning-lr-4boy" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c7964111322f8ab44e80ce4350ba984ee98af64e1cf2e4399c65eef00d0ef910. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/git-workflow-and-versioning-lr-4boy before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Skill focused on Git workflows and versioning, designed to help AI Agents efficiently perform tasks related to Git workflows and version management.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
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.
Audience
Always. Every code change flows through git.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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 A

(为兼容发布已截断)

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供 Git 工作流最佳实践,解决开发者高频刚需场景
  • 包含 Trunk-Based Development 等具体方法论和可视化示例
  • 适用于 AI Agent 辅助开发,具有明确实用价值
Trigger Precision88/100

Highlights

  • 触发词清晰明确:Git工作流AndVersioning专用技能
  • description 在 frontmatter 和 body 中保持一致
  • 覆盖 Git 工作流、版本控制等核心场景
Structure and Standards65/100

Areas to improve

  • description内容截断 Reported severity: Major

    文档在核心原则部分中途截断,显示'(为兼容发布已截断)'

    Recommendation: 请补全被截断的文档内容,确保用户能获取完整信息

  • 文档结构不完整 Reported severity: Minor

    核心原则部分的第二个要点被截断,影响文档完整性

    Recommendation: 建议重新整理文档结构,确保所有章节完整呈现

Highlights

  • frontmatter 完整,包含所有必要字段
  • 有清晰的章节划分和具体示例
  • 提供了可视化的工作流示意图
Execution Reliability70/100

Areas to improve

  • 文档内容不完整 Reported severity: Minor

    由于文档截断,用户可能无法获取完整的 Git 工作流指导

    Recommendation: 补全被截断的内容,确保指导信息的完整性

Highlights

  • 内容为指导性文档,不涉及具体工具调用,无执行失败风险
  • 提供的是业界认可的最佳实践建议
  • 适用于多种开发场景和团队规模
Evidence Verifiability (mean of the first four)77/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.