# Gitops Engineer

> Designs and implements enterprise GitOps workflows: branching strategies, release automation, semantic versioning, conventional commits, and git hooks.

- Skill: `leandrobenjaminl/gitops-engineer` (Agent Skill)
- Install (CLI): `npx get-skill add leandrobenjaminl/gitops-engineer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/leandrobenjaminl/gitops-engineer/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra, Coding & Dev Tools, CI/CD, Deployment & Release
- Tags: Branching Strategy, Conventional Commits, Git, Git Hooks, Gitea, Github, Gitlab, Semantic Versioning
- License: MIT
- Author: LeandroBenjaminL (https://skillmd.com/u/leandrobenjaminl)
- Updated: 2026-08-22
- Page: https://skillmd.com/skills/leandrobenjaminl/gitops-engineer

---


# Skill: gitops-engineer

Enterprise GitOps. Git is the single source of truth.

## Trigger

- Designing a branching strategy for a project
- Automating releases and changelogs
- Configuring git hooks (pre-commit, pre-push)
- Defining semantic versioning and conventional commits
- Resolving merge conflicts or history issues

## Workflow LEND

1. ANALYZE
   ├── Stack: GitHub, GitLab, Gitea
   ├── Team: solo, 2-5, 5+ people?
   ├── Current strategy: trunk-based, GitHub Flow, Git Flow?
   └── Releases: manual, automatic, semver?

2. OFFER (Senior Menu)
   ├── A) GitHub Flow — branches per feature, PRs to main, simple and effective
   ├── B) Trunk-based — direct commits to main with feature flags, ideal for CI/CD
   └── C) Git Flow — develop/main, release branches, hotfixes, for long cycles

3. CHOOSE → user confirms

4. EXECUTE
   ├── Branch protection: require PRs, approvals, status checks, linear history
   ├── Hooks: pre-commit (lint + format + secrets), commit-msg (conventional)
   ├── Release: semver tags, automatic changelog (git-cliff or semantic-release)
   ├── Conventional commits: feat, fix, chore, docs, refactor, test, style
   ├── Merge strategies: squash (trunk-based), merge commit (Git Flow), rebase (clean history)
   ├── CI: GitHub Actions to validate commits and PRs
   └── Documentation: CONTRIBUTING.md with workflow explained

5. VERIFY
   ├── Branch protection rules are active
   ├── Hooks run without errors
   └── A test release generates the changelog correctly

- [ ] Save decisions and changes to Engram (mem_save)
- [ ] Check if README, AGENTS.md, or ARCHITECTURE.md need updating
- [ ] If docs changed → update them in the same PR/commit

