Token导航 LogoToken导航

Agent Skill · 研究检索

git-workflow(Git 工作流)

git-workflow 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

git-workflow 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 48,496。

总安装 685周安装 28GitHub Stars 16下载 220核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:git-workflow(Git 工作流)
来源仓库:https://github.com/krzysztofsurdy/code-virtuoso
仓库路径:skills/git-workflow
安装命令:
npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill git-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill git-workflow

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

git-workflow 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。适用于 Git 工作流相关的研究检索任务。通过 npx skills add 命令从 GitHub 仓库安装并使用该技能。

安装前需确认权限范围和维护状态,注意是否涉及联网或文件操作。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/git-workflow

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill git-workf…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

git-workflow 怎么安装?

在终端执行 npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill git-workflow。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

git-workflow 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

git-workflow 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

git-workflow 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

git-workflow 用的人多吗?

公开数据是累计安装 685 次,近一周安装 28 次,下载 220 次,GitHub 16 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

git-workflow 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
git-workflow

Git 工作流 · 本页

68516需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Git Workflow

Effective version control is not just about tracking changes -- it is about enabling teams to collaborate predictably, release confidently, and maintain a history that tells a coherent story. The right workflow depends on team size, release cadence, and how much process the project can absorb without slowing down.

Choosing a Branching Strategy

No single branching model fits every team. The right choice depends on how often you release, how large your team is, and how much ceremony you can tolerate.

Strategy Comparison

StrategyRelease CadenceTeam SizeComplexityBest For
Trunk-BasedContinuous (multiple per day)Any (works best with strong CI)LowSaaS, cloud-native, teams with mature CI/CD
GitHub FlowOn-demand (per merged PR)Small to mediumLowWeb apps, startups, teams wanting simplicity
Git FlowScheduled / versioned releasesMedium to largeHighPackaged software, mobile apps, multiple supported versions
GitLab FlowEnvironment-promotedMedium to largeMediumTeams needing environment-specific branches (staging, production)

Decision Guide

  1. Do you deploy continuously? -- Use trunk-based development. Short-lived branches (hours, not days), feature flags for incomplete work, and strong CI are prerequisites.
  2. Do you deploy on merge but want review gates? -- Use GitHub Flow. One long-lived branch (main), feature branches, pull requests as the merge gate.
  3. Do you ship versioned releases on a schedule? -- Use Git Flow. Separate develop and main branches, release branches for stabilization, hotfix branches for emergency patches.
  4. Do you promote through environments? -- Use GitLab Flow. Environment branches (staging, production) sit downstream of main, and merges flow in one direction.

See Branching Strategies Reference for detailed mechanics, feature flag integration, and migration paths between strategies.


Commit Message Conventions

Good commit messages serve three audiences: reviewers reading the PR, developers reading git log next month, and automation tools generating changelogs and version bumps.

The Conventional Commits Format

<type>(<scope>): <description>

[optional body]

[optional footer(s)]

Common Commit Types

TypePurposeVersion Impact
featNew feature visible to usersMinor bump
fixBug fixPatch bump
refactorCode restructuring with no behavior changeNone
perfPerformance improvementPatch bump
testAdding or updating testsNone
docsDocumentation onlyNone
choreTooling, dependencies, build configNone
ciCI/CD pipeline changesNone
buildBuild system or dependency changesNone

Breaking Changes

Append ! after the type or add a BREAKING CHANGE: footer to signal incompatible changes. Either notation triggers a major version bump when used with automated release tooling.

feat(api)!: remove deprecated /v1/users endpoint

BREAKING CHANGE: The /v1/users endpoint has been removed. Use /v2/users instead.

Semantic Versioning Alignment

Commit ContainsVersion BumpExample
fix:Patch (1.0.0 -> 1.0.1)Bug corrections
feat:Minor (1.0.0 -> 1.1.0)New capabilities
BREAKING CHANGE or !Major (1.0.0 -> 2.0.0)Incompatible changes

See Commit Conventions Reference for scope naming patterns, multi-line body guidelines, changelog automation setup, and git hook validation.


Pull Request Workflow

Pull requests are the primary collaboration point in most git workflows. Their quality directly affects review speed, defect discovery, and team velocity.

PR Size Guidelines

PR Size (lines changed)Review QualityRecommended
< 50Excellent -- reviewer catches most issuesIdeal for stacked PRs
50-200Good -- manageable cognitive loadSweet spot for most changes
200-400Acceptable -- requires focused review timeUpper bound for single reviews
400+Poor -- reviewer fatigue, defects slip throughSplit into smaller PRs

Core PR Practices

  • One concern per PR -- A PR should do one thing: add a feature, fix a bug, refactor a module. Mixing concerns makes review harder and reverts riskier.
  • Write a clear description -- State what changed, why it changed, and how to verify it. Link to the relevant ticket or issue.
  • Keep the diff reviewable -- Move large mechanical changes (renames, formatting) into separate PRs from logic changes.
  • Respond to feedback promptly -- Stale PRs accumulate merge conflicts and block dependent work.

Merge Strategies

StrategyHistory ShapeBest For
Merge commitPreserves branch topology, creates merge nodeOpen-source projects, audit trails
Squash and mergeCollapses branch into single commit on mainFeature branches with messy intermediate commits
Rebase and mergeLinear history, no merge commitsTeams wanting clean, linear logs

See PR Patterns Reference for description templates, CODEOWNERS configuration, branch protection rules, stacked PR workflows, and review assignment strategies.


Release Management

Release management bridges development and deployment. The approach depends on whether releases are continuous, scheduled, or versioned.

Release Models

ModelHow It WorksWhen to Use
Continuous releaseEvery merged PR deploys automaticallySaaS with strong CI/CD and monitoring
Scheduled releaseChanges accumulate, release on a cadence (weekly, biweekly)Teams needing coordination windows
Versioned releaseExplicit version tags, release branches for stabilizationLibraries, APIs, packaged software

Git Tags for Releases

Tags mark specific commits as release points. Use annotated tags for releases because they store author, date, and message metadata.

# Create an annotated release tag
git tag -a v1.2.0 -m "Release 1.2.0: Add user dashboard and fix auth timeout"

# Push tags to remote
git push origin v1.2.0

# List existing tags matching a pattern
git tag -l "v1.*"

Automated Release Pipeline

When conventional commits are combined with release automation tooling, the pipeline can:

  1. Analyze commits since the last tag to determine the next version
  2. Generate or update the changelog from commit messages
  3. Create the git tag
  4. Build and publish artifacts
  5. Create a release entry on the hosting platform (GitHub/GitLab)

This eliminates manual version decisions and ensures the changelog stays synchronized with actual changes.

Hotfix Workflow

When a critical bug is found in production:

  1. Branch from the release tag (not from the development branch)
  2. Apply the minimal fix
  3. Tag the new patch release
  4. Merge the fix forward into the main development line to prevent regression
# Branch from the release tag
git checkout -b hotfix/fix-auth-crash v1.2.0

# After fixing and committing
git tag -a v1.2.1 -m "Hotfix: prevent auth crash on expired tokens"
git push origin v1.2.1

# Merge fix back to main
git checkout main
git merge hotfix/fix-auth-crash

Quick Reference: Common Workflow Problems

ProblemLikely CauseResolution
Frequent merge conflictsLong-lived branches, infrequent integrationMerge main into feature branches daily, or switch to trunk-based
Broken main branchNo CI on PRs, insufficient test coverageRequire passing CI before merge, add branch protection
Unclear release contentsNo commit conventions, manual changelogsAdopt conventional commits, automate changelog generation
Slow PR reviewsPRs too large, no clear ownershipSet size guidelines, configure CODEOWNERS, use stacked PRs
Accidental commits to mainNo branch protectionEnable branch protection rules, require PR reviews

Reference Files

ReferenceContents
Branching StrategiesTrunk-based, GitHub Flow, Git Flow, GitLab Flow -- mechanics, feature flags, comparison matrix
Commit ConventionsConventional commits format, scope patterns, semantic versioning, changelog automation, git hooks
PR PatternsSize guidelines, description templates, CODEOWNERS, merge strategies, branch protection, stacked PRs

Integration with Other Skills

SituationRecommended Skill
Setting up CI/CD pipelines for branch protectionInstall knowledge-virtuoso from krzysztofsurdy/code-virtuoso for testing strategies
API versioning aligned with git release tagsInstall knowledge-virtuoso from krzysztofsurdy/code-virtuoso for API design principles
Coordinating releases across microservicesInstall knowledge-virtuoso from krzysztofsurdy/code-virtuoso for microservices patterns
Sprint-aligned release planningInstall knowledge-virtuoso from krzysztofsurdy/code-virtuoso for scrum workflows

平台分布

Codex

39.06%
按下载量换算86

Claude

30.06%
按下载量换算66

Cursor

17.76%
按下载量换算39

Gemini CLI

9.23%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills