Git Cli Paid
FreeNo executable scriptsNot checked|- 功能涵盖:。Use when 需要提升效率、自动化流程、批量处理、工作流优化时使用。不适用于需要人工创意判断的任务。适用于独立开发者、企业团队和自动化工作流场景。支持中文交互,无需复杂配置即开即用。输出结果可直接使用,减少二次加工成本。提供结构化输出和错误处理机制。支持多场景应用和灵活配置。具备完整的输入输出规…
by thcjp556 installs in other catalogsAbout this skill
核心功能: 本技能提供操作能力等能力。
Git命令行助手专业版
付费版扩展能力
| 能力 | 免费版 | 付费版 |
|---|---|---|
| 基础功能 | 支持 | 支持 |
| 代码静态分析与质量评分 | 不支持 | 支持 |
| 依赖漏洞检测与升级建议 | 不支持 | 支持 |
| 批量代码审查与报告生成 | 不支持 | 支持 |
| CI/CD流水线集成 | 不支持 | 支持 |
| 代码复杂度可视化与重构建议 | 不支持 | 支持 |
能力清单
1. Git自动化脚本库
提供常用Git操作的自动化脚本.
详细代码示例已移至
references/detail.md
应用场景
场景一:日常开发自动化
自动化日常Git操作.
#!/bin/bash
echo "=== Git日常自动化 ==="
# ...
echo "1. 仓库状态:"
python3 -c "
from git_automation import GitAutomation
import json
status = GitAutomation.get_repo_status()
print(json.dumps(status, indent=2, ensure_ascii=False))
"
# ...
echo -e "\n2. 智能提交:"
python3 -c "
from git_automation import GitAutomation
result = GitAutomation.smart_commit('feat: 日常开发提交')
print(result)
"
# ...
echo -e "\n3. 智能同步:"
python3 -c "
from git_automation import GitAutomation
print(result)
"
场景二:仓库健康诊断
定期对仓库进行健康诊断.
#!/bin/bash
echo "=== Git仓库健康诊断 ==="
# ...
python3 -c "
from git_diagnostics import GitDiagnostics
import json
# ...
diagnosis = GitDiagnostics.full_diagnosis()
print(json.dumps(diagnosis, indent=2, ensure_ascii=False))
# ...
print('\n=== 建议 ===')
for rec in diagnosis.get('recommendations', []):
print(f' - {rec}')
"
场景三:多仓库批量管理
统一管理多个Git仓库.
#!/bin/bash
echo "=== 多仓库批量管理 ==="
# ...
cat > repos.txt << 'EOF'
/home/user/project-a
/home/user/project-b
/home/user/project-c
EOF
# ...
echo "1. 批量状态检查:"
python3 -c "
from multi_repo import MultiRepoManager
import json
manager = MultiRepoManager('repos.txt')
status = manager.batch_status()
for repo, info in status.items():
if 'error' in info:
print(f'[ERROR] {repo}: {info[\"error\"]}')
else:
branch = info.get('branch', '?')
clean = '干净' if info.get('is_clean') else '有变更'
print(f'[OK] {repo}: {branch} ({clean})')
"
# ...
echo -e "\n2. 批量同步:"
python3 -c "
from multi_repo import MultiRepoManager
results = manager.batch_sync()
for repo, result in results.items():
print(f'{repo}: {result}')
"
# ...
echo -e "\n3. 批量清理:"
python3 -c "
from multi_repo import MultiRepoManager
results = manager.batch_cleanup()
print(f'{repo}: {result}')
"
使用方法
步骤一:配置自动化
version: "2.0"
edition: pro
# ...
automation:
smart_commit: true
auto_sync: true
auto_cleanup: true
# ...
diagnostics:
health_check: true
performance_check: true
security_check: true
large_file_threshold: 10MB
# ...
workflows:
feature:
branch_prefix: "feature/"
auto_push: true
auto_cleanup_on_merge: true
hotfix:
branch_prefix: "hotfix/"
auto_tag: true
release:
branch_prefix: "release/"
auto_tag: true
# ...
multi_repo:
repos_file: repos.txt
batch_operations: [status, sync, cleanup]
步骤二:运行诊断
请对当前Git仓库进行深度健康诊断,输出问题和建议.
参数说明
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| content | string | 否 | 处理的内容输入 |
| mode | string | 否 | 处理模式, 可选值: json/text/markdown |
| style | string | 否 | 输出风格, 参考 references/style.md |
结果格式
{
"success": true,
"data": {
"result": "处理结果",
"status": "success",
"metadata": {
"metadata": {
"template_used": "reviewer",
"word_count": 0,
"style": "专业"
}
},
"error": null
}
输出模板参考: assets/output.json
异常恢复流程
| 错误场景 | 原因 | 处理方式 |
|---|---|---|
| 配置错误 | 参数缺失或格式错误 | 检查依赖说明中的配置要求 |
| 运行时错误 | 运行环境不满足 | 确认运行环境符合依赖说明 |
| 网络错误 | 连接超时或不可达 |
前置条件
运行环境
- Agent 平台:支持 SKILL.md 的任意 AI Agent(Claude Code / Cursor / Codex / Gemini CLI 等)
- 操作系统:Windows / macOS / Linux
- 运行时:Git 2.20+ / Python 3.8+ / Bash
依赖说明(补充)
| 依赖项 | 类型 | 是否必需 | 获取方式 |
|---|---|---|---|
| Git 2.20+ | 运行时 | 必需 | git-scm.com 下载 |
| Python 3.8+ | 运行时 | 必需 | python.org 下载 |
| Bash | 运行时 | 推荐 | 系统自带 |
| LLM API | API | 必需 | 由 Agent 内置 LLM 提供 |
API Key 配置
- 本 Skill 基于 Markdown 指令,无需额外 API Key
- 远程仓库认证配置:
ssh-keygen -t ed25519 -C "[email protected]"
# ...
git config --global credential.helper store
可用性分类
- 分类:MD+EXEC+PRO(专业版支持自动化脚本、深度诊断和批量操作)
- 说明:企业级Git CLI工具,支持自动化工作流和多仓库管理
- 适用规模:个人到大型团队多仓库项目
- 兼容性:完全兼容免费版命令和配置,支持平滑升级
案例展示
示例1: 基础用法
输入:
{
"content": "示例数据",
"content": "示例数据",
"style": "示例数据"
}
输出:
示例数据
示例3: 边界情况 - 边界情况
输入:
{
"content": "示例数据"
}
输出:
示例数据
热门问题
Q1:专业版如何兼容免费版?
专业版完全兼容免费版的所有Git命令和配置。免费版的别名和配置可直接使用,专业版会自动启用自动化和诊断功能.
Q2:自动化脚本安全吗?
所有自动化脚本遵循安全优先原则:
- 危险操作需要确认
- 不会自动执行force push
- 不会自动删除未合并分支
- 保留操作日志
Q3:支持多少个仓库批量管理?
| 仓库数量 | 并行处理 | 耗时 |
|---|---|---|
| 1-10 | 串行 | <10s |
| 10-50 | 并行 | 10-30s |
| 50-100 | 并行 | 30-60s |
| 100+ | 分批并行 | 1-5min |
Q4:如何自定义工作流?
workflows:
custom:
prefix: "custom/"
steps:
- fet
Install Git Cli Paid in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
readexecwriteFAQ
What does the Git Cli Paid skill do?
|- 功能涵盖:。Use when 需要提升效率、自动化流程、批量处理、工作流优化时使用。不适用于需要人工创意判断的任务。适用于独立开发者、企业团队和自动化工作流场景。支持中文交互,无需复杂配置即开即用。输出结果可直接使用,减少二次加工成本。提供结构化输出和错误处理机制。支持多场景应用和灵活配置。具备完整的输入输出规范。 面向企业研发团队的高级Git命令行工具,提供自动化脚本、深度仓库诊断、工作流模板、故障排除与批量操作能力。核心能力: - Git自动化脚本库 - 深度仓库诊断与分析 - 标准化工作流模板 - 故障排除与恢复 - 批量Git操作 - 多仓库管理 适用场景: - 企业级Git工作流自动化 - 仓库健康诊断 - 团队标准化操作 - 复杂故障排除 差异化: - 专业版完全兼容免费版命令,支持平滑升级 - 提供自动化脚本和批量操作 - 内置深度诊断和工作流模板 - 支持多仓库统一管理 ...
How do I install the Git Cli Paid skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the Git Cli Paid skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic