git-workflow
БесплатноБез исполняемых скриптовНе проверенLangfuse repo Git, GitHub, commit, branch, pull request, issue search, release, and production-promotion workflow. Use when staging, committing, pushing…
от langfuse★ 38 069 звёзд на GitHubОб этом скилле
Git Workflow
Use this skill for repo-specific Git, GitHub, pull request, and release operations.
Protected branches and approvals
Read protected branches and PR approval before pushing, assessing merge readiness, changing automation, or releasing. It is the shared organization policy for default-branch PRs, latest-commit Bugbot review and approver-bot approval, required human reviews, scoped App exceptions, and human emergency escalation. Keep detailed policy there rather than duplicating it in other skills.
Safety
- Inspect
git statusbefore staging or committing. - Do not stage unrelated working-tree changes.
- Do not revert unrelated working-tree changes.
- Do not use destructive commands such as
git reset --hardorgit checkout --unless explicitly requested. - Keep commits focused and atomic.
- Never add secrets or credentials to the repo.
Commits and Pull Requests
- Commit messages and PR titles must follow Conventional Commits:
type(scope): descriptionortype: description. - Use
featfor new features andfixfor bug fixes. - Use a scope when it clarifies the affected area, for example
fix(api): handle missing trace id. - Mark breaking changes with
!in the type/scope or aBREAKING CHANGE:footer. - PR titles are validated by
.github/workflows/validate-pr-title.yml. - In PR descriptions, list impacted packages and executed verification commands.
- Keep internal ticket ids and Linear URLs out of commit messages, PR titles,
and PR descriptions — this repo is public, and a squash merge puts the PR
title into
main's permanent history. Describe the change on its own terms and carry the identifier in the branch name instead.
Branch names
- Reuse a branch name supplied by an issue or the task when one is already available. Otherwise choose a descriptive task branch, for example
codex/fix-score-tooltip; do not query Linear just to create a branch. - Cursor agents must not use a
cursor/prefix, even if a Cursor Cloud prompt asks for one.
GitHub
- Use
gh search issuesfor GitHub issue search. - Prefer non-interactive Git and GitHub commands where possible.
- Keep PRs narrow enough to review without unrelated refactors.
- When a change is too large for one reviewable PR, split it into a chained stack of small PRs instead of widening one.
- Open PRs as reviewable, not as drafts, unless a human asks for a draft.
- Cursor agents apply the GitHub
cursorlabel after opening a PR; seecursor-agents-workflow. Do not leave that tag for a human. - Do not post GitHub PR comments as the human author. Cursor agents that
comment as Cursor should leave one last comment with proof of user-visible
work (screenshot, video, or before/after on the PR, not only in chat) and
what to doubt in review; see
cursor-agents-workflow. Claude Code and other tools that comment as the user must skip that comment. - Bugbot, Claude, Greptile, or Codex review comments (
cursor[bot]for Bugbot,claude[bot], Claude Code, security-review action,greptile-apps[bot],chatgpt-codex-connector[bot]): after the fix commit is pushed, resolve each thread you fixed or deliberately skipped. Skip a finding only when you are sure it is wrong, tell the human in plain language, invite them to doubt that skip, then resolve it. That resolve is part of finishing the task, and it counts as the requested action even when the prompt only says to fix, address, or reply and never says resolve. Use the GraphQLresolveReviewThreadmutation; unresolved threads block merge. If the task asked for a reply, post that reply and then resolve; resolving does not replace the reply. Do not post@claude reviewagain unless a human asks for another pass. Human reviewer threads stay open and may need a real reply. A skipped Bugbot finding requires teammate approval; resolving the thread does not produce a clean latest-commit review or waive an approval gate.
Release
pnpm run releaserunsrelease.sh, which runs local preflight checks (release-preflight.sh: allowed branchmainorv3, clean working tree, synced withorigin, and interactive confirmation of unpromoted Postgres/ClickHouse migrations onmain) and dispatchescut-release.ymlto runrelease-itin CI.mainis the current line and the only branch that ships to Langfuse Cloud.v3is the OSS maintenance line: a release from it produces a tag, GitHub release, and Docker images, but never a Cloud deploy.- On any
vX.Y.Ztag push,release.ymlpromotesmaintoproductiononly if the tagged commit is an ancestor ofmain; maintenance-branch tags skip promotion. The production migration confirmation in the release preflight likewise only runs formain. - Promote
maintoproductionwithout a release viapromote-main-to-production.ymlorpnpm run release:cloud(both main-only). - The latest-release markers track the current major line: `pip
Установить git-workflow в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл git-workflow?
Langfuse repo Git, GitHub, commit, branch, pull request, issue search, release, and production-promotion workflow. Use when staging, committing, pushing, opening PRs, choosing a branch name, handling Claude, Greptile, or Codex review comments, searching GitHub issues, or changing release/promotion behavior.
Как установить скилл git-workflow?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл git-workflow запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic