enterprise-release-engineering
Use when the user asks about integration hell, long-lived branches across teams, trunk-based development at scale, release trains, branch by abstraction, dark…
от j4flmao★ 47 звёзд на GitHub
Установить enterprise-release-engineering в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Release Engineering & Multi-Team Integration
Purpose
Keep many teams integrating continuously into a shared mainline so that integration cost stays small and releases are routine. Separate deployment (code in production) from release (users see it), and make risky changes incrementally rather than on long-lived branches.
Agent Protocol
Trigger
"integration hell", "merge conflicts", "long-lived branch", "trunk-based", "release train", "branch by abstraction", "feature toggle", "dark launch", "flyway version conflict", "expand/contract", "codeowners", "gitflow vs trunk".
Input Context
- Number of teams/repos, current branching model, release cadence.
- Deployment model (continuous deploy, scheduled, versioned/on-prem).
- Database migration tool (Flyway, Liquibase, Prisma, Alembic, Rails).
Output Artifact
Integration and release strategy with concrete repo/CI rules.
Response Format
Current pain: {symptom}
Branching: {trunk-based|short-lived feature branches|release branches} (max branch age {N days})
Incomplete work hidden by: {flags|branch by abstraction|dark launch}
Release cadence: {continuous|train every N weeks}
Migrations: {expand/contract, versioning scheme}
Ownership: {CODEOWNERS paths}
Branching Model Decision
| Context | Model |
|---|---|
| SaaS with continuous delivery | Trunk-based; short-lived branches (<1–2 days) merged via PR with required CI |
| Versioned product supporting several releases (desktop, on-prem, SDKs) | Trunk + release branches cut from main; fixes land on main first, cherry-picked back |
| Many teams, one scheduled release | Trunk-based + release train cut on a fixed calendar |
GitFlow's long-lived develop/feature branches delay integration; reserve it for products that genuinely need parallel maintained versions. |
Techniques for Merging Unfinished Work
| Technique | Use for |
|---|---|
| Feature toggles (release toggles) | New user-facing features; default off, enabled per cohort |
| Branch by abstraction | Replacing a component (ORM, payment provider): introduce interface → move callers → build new impl behind it → switch → delete old |
| Dark launching | Run new code path on real traffic without exposing results (shadow reads, compare outputs) |
| Keystone interface | Build backend fully, add the UI entry point last |
| Toggles are debt: give each an owner and removal date; delete within a few weeks of full rollout. |
Release Trains
- Fixed cadence (e.g., every 2 weeks); the train leaves on time — features that miss it take the next one.
- Cut a release branch or tag from main at a fixed time; only fixes after the cut.
- Release notes generated from conventional commits/PR labels.
- Hotfix path: fix on main, cherry-pick to the release branch, tag patch version.
Zero-Downtime Schema Changes (Expand / Contract)
Old and new app versions run side-by-side during rolling deploys, so every schema change must be compatible with both.
- Expand: add new column/table (nullable or with default); deploy.
- Migrate: app writes both old and new; backfill in batches.
- Switch reads to new structure; deploy.
- Contract: stop writing old; drop old column in a later release. Never rename or drop a column in the same deploy that stops using it.
Migration version collisions
- Flyway: use timestamp versions (
V20261022143000__add_x.sql) rather than sequential integers so parallel branches do not collide; keepoutOfOrder=falsein prod and rebase late migrations instead. - Liquibase: one changelog file per change, included from a master changelog; unique
id+author. - CI check: fail the PR if two migrations share a version.
Monorepo Ownership
# .github/CODEOWNERS (last matching pattern wins)
/libs/auth/ @org/identity-team
/services/payments/ @org/payments-team
/db/migrations/ @org/platform-dba
Enable "require review from code owners" in branch protection; pair with affected-target builds (Nx, Turborepo, Bazel) so CI time scales with change size.
Conflict Hygiene
git config --global merge.conflictStyle zdiff3(Git ≥2.35;diff3on older) shows the common ancestor in conflicts.git config --global rerere.enabled truereuses recorded resolutions when rebasing repeatedly.- Rebase or merge main into short-lived branches daily; split large PRs into reviewable slices.
Metrics (DORA)
Track deployment frequency, lead time for changes, change failure rate and time to restore service; add branch age and PR size as leading indicators of integration debt.
Anti-Patterns
| Anti-pattern | Fix |
|---|---|
| Months-long feature branches | Toggles / branch by abstraction, merge daily |
| "Integrate at the end" | Continuous integration to main |
| Release tied to a single big feature | Release train |
| Stale toggles | Expiry date + lint for removed flags |
| Destructive migration in same deploy | Expand/contract over ≥2 releases |
Checkli
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/advanced-conflict-resolution.md
- references/branch-by-abstraction.md
- references/branching-strategies-at-scale.md
- references/concurrent-migration-management.md
- references/feature-toggles.md
- references/monorepo-collaboration.md
- references/release-trains.md
- references/zero-downtime-migrations.md
FAQ
Что делает скилл enterprise-release-engineering?
Use when the user asks about integration hell, long-lived branches across teams, trunk-based development at scale, release trains, branch by abstraction, dark launches or CODEOWNERS. Produces a multi- team integration and release model. Not for single-team git basics (use dev-loop-git-workflow) or canary rollouts (use devops-progressive-delivery).
Как установить скилл enterprise-release-engineering?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл enterprise-release-engineering запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…