skills/git/SKILL.md
Full version control coverage with essential commands, team workflows, branching strategies, and recovery techniques.
npx skillsauth add pr-e/openclaw-master-skills Git (Essentials + Workflows + Advanced)Install this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
On first use, read setup.md. Default: best practices mode (no config needed).
User needs Git expertise — from basic operations to complex workflows. Agent handles branching, merging, rebasing, conflict resolution, and team collaboration patterns.
Memory in ~/git/. See memory-template.md for structure.
~/git/
└── memory.md # User preferences (optional)
| Topic | File |
|-------|------|
| Essential commands | commands.md |
| Advanced operations | advanced.md |
| Branch strategies | branching.md |
| Conflict resolution | conflicts.md |
| History and recovery | history.md |
| Team workflows | collaboration.md |
| Setup | setup.md |
| Memory | memory-template.md |
--force-with-lease on feature branches onlygit pull --rebase before pushing to avoid merge commitsgit rebase -i to squash fixup commitsFeature Branch Flow:
git checkout -b feature/name from mainHotfix Flow:
git checkout -b hotfix/issue from mainDaily Sync:
git fetch --all --prune
git rebase origin/main # or merge if team prefers
type(scope): descriptionfeat, fix, docs, style, refactor, test, choregit push --force-with-lease instead of --force — prevents overwriting others' workgit pull --rebase before retryinggrep -r "<<<\|>>>\|===" .git merge --abort and try git rebase insteadgit branch -d branch-namegit fetch --prunegit rebase -i to squash messy commits before pushingBefore destructive operations (reset --hard, rebase, force push):
git branch to verifygit fetch firstgit config user.email before important commits.gitkeep--recurse-submodulesgit switch - to return to previous branchgit pull --rebase firststash apply insteadgit reset --soft HEAD~1git restore filenamegit reflog (keeps ~90 days of history)git checkout -b branch-name <sha-from-reflog>git add -p for partial staging when commit mixes multiple changesFind the commit that introduced a bug:
git bisect start
git bisect bad # current commit is broken
git bisect good v1.0.0 # this version worked
# Git checks out middle commit, test it, then:
git bisect good # or git bisect bad
# Repeat until Git finds the culprit
git bisect reset # return to original branch
git status -sb # short status with branch
git log --oneline -5 # last 5 commits
git shortlog -sn # contributors by commit count
git diff --stat HEAD~5 # changes summary last 5 commits
git branch -vv # branches with tracking info
git stash list # pending stashes
Install with clawhub install <slug> if user confirms:
gitlab — GitLab CI/CD and merge requestsdocker — Containerization workflowscode — Code quality and best practicesclawhub star gitclawhub syncdevelopment
Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.
devops
Fetch and summarize YouTube video transcripts. Use when asked to summarize, transcribe, or extract content from YouTube videos. Handles transcript fetching via residential IP proxy to bypass YouTube's cloud IP blocks.
content-media
# youtube-auto-captions - YouTube 自动字幕 ## 描述 自动为 YouTube 视频生成字幕,支持多语言翻译、时间轴校准。提升视频可访问性和 SEO。 ## 定价 - **按次收费**: ¥9/次 - 每视频最长 60 分钟 - 支持 50+ 语言 ## 用法 ```bash # 生成字幕 /youtube-auto-captions --video <video_id> --lang zh # 翻译字幕 /youtube-auto-captions --video <video_id> --translate en,ja,ko # 批量处理 /youtube-auto-captions --playlist <playlist_id> --lang zh # 导出字幕 /youtube-auto-captions --video <video_id> --export srt ``` ## 技能目录 `~/.openclaw/workspace/skills/youtube-auto-captions/` ## 作者 张 sir #
development
YouTube Data API integration with managed OAuth. Search videos, manage playlists, access channel data, and interact with comments. Use this skill when users want to interact with YouTube. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).