name: git-workflow description: | Langfuse repo Git, GitHub, commit, branch, pull request, issue search, release, and production-promotion workflow. Use when staging, committing, pushing, opening PRs, searching GitHub issues, or changing release/promotion behavior.
Git Workflow
Use this skill for repo-specific Git, GitHub, pull request, and release operations.
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.
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.
Release
- Release workflow is managed at root with
pnpm run release. - Promote
maintoproductionvia.github/workflows/promote-main-to-production.ymlorpnpm run release:cloud. - Do not change release/versioning flow without updating this skill and the impacted package guides.