Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/zzycxz-git-ops
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/git-ops
What's inside
- Skill name
git-ops- Description
- Git 版本控制操作 (Use when: 需要 clone/commit/push/diff/log 等 git 操作). NOT for: 非版本控制文件操作.
- License
- MIT
- Instructions
- 60 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (1)
- SKILL.md
SKILL.md (first lines)
# Git Operations — Git 版本控制
通过 `python_interpreter` 工具执行 git 命令,完成版本控制相关操作。
## 常用场景
- **克隆仓库**: `git clone https://github.com/user/repo.git ./target_dir`
- **查看状态**: `git status`
- **提交变更**: `git add . && git commit -m "message"`
- **推送代码**: `git push origin main`
- **查看历史**: `git log --oneline -20`
- **查看差异**: `git diff HEAD~1`
- **创建分支**: `git checkout -b feature/new-feature`
- **合并分支**: `git merge feature/new-feature`
## 执行模板
```python
import subprocess
result = subprocess.run(
["git", "status"],
cwd="/path/to/repo", # 必须指定工作目录
capture_output=True,
text=True,
encoding="utf-8"
)
print(result.stdout)
if result.returncode != 0:
print("ERROR:", result.stderr)
```
## 注意事项
1. **始终指定 `cwd`**:不指定工作目录会在错误路径执行
2. **SSH vs HTTPS**:优先使用 HTTPS,避免 SSH key 问题
3. **身份配置**:首次提交前确认 `git config user.name/email`
4. **大文件**:超过 100MB 的文件需使用 git-lfs
5. **Windows 路径**:使用 `r"C:\path"` 或正斜杠 `"C:/path"`
## 批量操作示例
```python
import subprocess, os
repo_path = r"C:\Users\user\Desktop\my-project"
commands = [
["git", "add", "."],
["git", "commit", "-m", "Auto commit by Rooster"],
["git", "push", "origin", "main"],
]
for cmd in commands:
r = subprocess.run(cmd, cwd=repo_path, capture_output=True, text=True, encoding="utf-8")
print(f"$ {' '.join(cmd)}")
print(r.stdout or r.stderr)
if r.returncode != 0:
print("⚠️ Command failed, stopping.")
break
```From zzycxz/rooster, MIT.
More from zzycxz/rooster
- 0.538score
office-documents
zzycxz
Office 文档处理,包括 Word/Excel/PDF/PPT (Use when: 生成报告、处理表格数据、读取或合并 PDF、制作幻灯片).
SkillCFreshness: C★ 9Claude Code +9 - 0.538score
self-improving
zzycxz
Capture learnings, errors, and corrections from conversations for continuous self-improvement.
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
dev-tools
zzycxz
开发辅助工具集 (Use when: 需要代码格式化/依赖管理/环境检测/进程管理/端口扫描).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
github
zzycxz
GitHub 仓库操作与协作 (Use when: 需要 PR/Issue/Release 操作、CI 查询、仓库管理).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
summarize
zzycxz
智能内容摘要与总结 (Use when: 需要总结长文档、提取要点、生成摘要).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
coding-agent
zzycxz
自主编程与代码开发 (Use when: 需要编写/修改/调试代码、创建项目、重构).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
pdf-tools
zzycxz
PDF 文件处理 (Use when: 需要读取/合并/分割/转换 PDF,或从 PDF 提取文字/表格).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
visual-control
zzycxz
视觉打标与精确点击控制 (Use when: 需要与 Windows GUI 应用交互、定位并点击按钮、输入框、链接等界面元素).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
web-search
zzycxz
网页搜索与资料调研 (Use when: 需要查找外部实时信息、技术文档、最新新闻等).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
browser-automation
zzycxz
浏览器自动化操作 (Use when: 需要交互式浏览网页、填写表单、点击按钮、翻页抓取动态内容).
SkillCFreshness: C★ 9Claude Code +9 - 0.533score
data-analysis
zzycxz
数据分析与可视化 (Use when: 需要处理 CSV/Excel 数据、生成图表、统计分析).
SkillCFreshness: C★ 9Claude Code +9 - 0.529score
resource-downloader
zzycxz
智能多媒体与通用软件安全自愈下载技能。并发种子搜索评分并唤起迅雷物理下载,或安全搜索官方直链下载。
SkillCFreshness: C★ 9Claude Code +9
Signals
- Stars
- 9
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 9, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/zzycxz/rooster
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from zzycxz
- 0.538score
self-improving
zzycxz
Capture learnings, errors, and corrections from conversations for continuous self-improvement.
SkillCFreshness: C★ 9Claude Code +9 - 0.538score
office-documents
zzycxz
Office 文档处理,包括 Word/Excel/PDF/PPT (Use when: 生成报告、处理表格数据、读取或合并 PDF、制作幻灯片).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
browser-automation
zzycxz
浏览器自动化操作 (Use when: 需要交互式浏览网页、填写表单、点击按钮、翻页抓取动态内容).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
coding-agent
zzycxz
自主编程与代码开发 (Use when: 需要编写/修改/调试代码、创建项目、重构).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
github
zzycxz
GitHub 仓库操作与协作 (Use when: 需要 PR/Issue/Release 操作、CI 查询、仓库管理).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
dev-tools
zzycxz
开发辅助工具集 (Use when: 需要代码格式化/依赖管理/环境检测/进程管理/端口扫描).
SkillCFreshness: C★ 9Claude Code +9
Cite this page
git-ops skill. Agent Mart. https://agentmart.dev/skills/zzycxz-git-ops (last updated 2026-10-24)