github-workflow · transilienceai — скилл для Claude Code: git, ветки, коммиты, PR
Скилл github-workflow для Claude Code автоматизирует GitHub-операции: ветки, коммиты, пуши, pull requests, issues и code review. Выполняет запросы агента на коммит, пуш, создание PR и управление веткой.
MIT 195 установок ★ 632 обновлён 2026-07-29
npx skills add transilienceai/communitytools --skill github-workflow -a claude-codeЧто делает github-workflow
Скилл даёт агенту полный цикл GitHub-операций. Перед любым действием проверяет статус репо (git status, git branch), затем выполняет нужную команду. Поддерживает создание веток по naming convention (feature/, bugfix/, docs/ и др.), коммиты в формате conventional commits (type(scope): description), пушит с правильным флагом -u при первом запросе, создаёт PR с линками на issues и управляет code review.
Внутри встроены критические правила: скилл не форсит в main без явного разрешения, не коммитит .env и credentials, не использует git add -A вслепую, тянет перед пушем, чтобы избежать конфликтов. Требует, чтобы ветки создавались с актуального main. Команды скилла работают через gh CLI — убедись, что GitHub CLI установлен и авторизован.
Какие задачи решает
- Создать и запушить feature-ветку с правильным именем
- Закоммитить изменения по conventional commits
- Создать pull request с линком на issue
- Провести code review и одобрить PR
- Создать issue с проблемой и критериями приёма
Примеры запросов агенту
- Создай фичу в бранче
feature/add-jwtи запуши - Закоммить текущие изменения с сообщением «feat(auth): добавить JWT проверку»
- Создай PR для мерджа в main, привяжи к issue #42
Как установить github-workflow
1Через Skills CLI (Vercel)
npx skills add transilienceai/communitytools --skill github-workflow -a claude-code2Вручную: положить файлы
~/.claude/skills/github-workflow/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/github-workflow/
1Через Skills CLI (Vercel)
npx skills add transilienceai/communitytools --skill github-workflow -a codex2Вручную: положить файлы
.agents/skills/github-workflow/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add transilienceai/communitytools --skill github-workflow -a cursor2Вручную: положить файлы
.cursor/skills/github-workflow/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install transilienceai/communitytools skills/github-workflow2Вручную: положить файлы
.github/skills/github-workflow/SKILL.md1Через Skills CLI (Vercel)
npx skills add transilienceai/communitytools --skill github-workflow -a gemini-cli2Командой платформы
gemini skills install https://github.com/transilienceai/communitytools --path skills/github-workflowВручную: положить файлы
.devin/skills/github-workflow/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add transilienceai/communitytools --skill github-workflow -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о github-workflow
Как установить github-workflow в Claude Code?
Выполни команду npx skills add transilienceai/communitytools --skill github-workflow -a claude-code, затем подтверди, что скилл появился в ~/.claude/skills/github-workflow/SKILL.md.
Что делает github-workflow?
Автоматизирует действия с GitHub: создаёт ветки с правильным именем, коммитит по conventional commits, пушит с -u при первом запросе, создаёт и рецензирует pull requests, управляет issues. Скилл проверяет статус репо перед каждым действием и соблюдает критические правила — не форсит в main, не коммитит secrets, не использует git add -A вслепую.
Что требуется для работы github-workflow?
Нужна GitHub CLI (gh) установленная и авторизованная. Скилл работает через gh команды, без неё не запустится.
Исходный текст
SKILL.md · MIT
--- name: github-workflow description: GitHub workflow automation — branching, committing, pushing, pull requests, issues, and code review. Use when asked to commit, push, create PRs/branches/issues, or manage git workflow. --- # GitHub Workflow Automate the full GitHub development lifecycle: branches, commits, pushes, PRs, issues, and code review. ## Quick Start 1. User requests a git action (commit, PR, branch, push, issue) 2. Check repo state: `git status`, `git branch`, `git log --oneline -5` 3. Execute the appropriate workflow below 4. Confirm result to user ## Workflows ### 1. Branching ```bash # Create feature branch from main git checkout main && git pull origin main git checkout -b <type>/<name> # Types: feature/, bugfix/, docs/, refactor/, test/, chore/ ``` - Always branch from up-to-date `main` - Use conventional naming: `feature/add-jwt-testing`, `bugfix/fix-port-detection` ### 2. Committing ```bash # Stage specific files (never git add -A blindly) git add <file1> <file2> # Commit with conventional format git commit -m "type(scope): description" ``` - **Types**: `feat`, `fix`, `docs`, `refactor`, `test`, `chore` - Message focuses on **why**, not what - Never commit `.env`, credentials, or secrets - See [reference/commit-conventions.md](reference/commit-conventions.md) ### 3. Pushing ```bash # First push (set upstream) git push -u origin <branch-name> # Subsequent pushes git push ``` - Never force-push to `main`/`master` without explicit user approval - If push is rejected, `git pull --rebase` first ### 4. Pull Requests ```bash # Create PR linking to issue gh pr create --title "Short title < 70 chars" --body "$(cat <<'EOF' ## Summary - What changed and why ## Test plan - [ ] How to verify Fixes #<issue-number> EOF )" ``` - Title < 70 chars, details in body - Always link to issue: `Fixes #N` or `Closes #N` - See [reference/pr-workflow.md](reference/pr-workflow.md) ### 5. Issues ```bash gh issue create --title "type: description" --body "$(cat <<'EOF' ## Problem What needs to change ## Proposed solution How to fix it ## Acceptance criteria - [ ] Criteria 1 EOF )" ``` ### 6. Code Review ```bash # Review a PR gh pr view <number> gh pr diff <number> gh pr checks <number> # Comment or approve gh pr review <number> --approve gh pr review <number> --comment --body "feedback" ``` ## Reference - [commit-conventions.md](reference/commit-conventions.md) — Commit message format and examples - [pr-workflow.md](reference/pr-workflow.md) — PR creation, review, and merge workflow - [branch-strategy.md](reference/branch-strategy.md) — Branching model and naming conventions ## Critical Rules - **NEVER** force-push to main/master without explicit user approval - **NEVER** commit secrets, `.env` files, or credentials - **NEVER** use `git add -A` without reviewing what's staged - **NEVER** skip pre-commit hooks (`--no-verify`) unless user explicitly asks - **NEVER** amend published commits — create new commits instead - **ALWAYS** use conventional commit format: `type(scope): description` - **ALWAYS** link PRs to issues - **ALWAYS** check `git status` before committing - **ALWAYS** pull before pushing to avoid conflicts - **ALWAYS** create branches from up-to-date main
© transilienceai · MIT · transilienceai/communitytools
Похожие скиллы
Все скиллы по теме «Git и GitHub» →Сначала — github-workflow от других авторов.