Logo van Git Flow Master

Git Flow Master

Organisatie
upex-galaxy
git-flow-master

End-to-end Git operator for any branching strategy. Auto-detects the project's strategy (solo-main, main+integration, enterprise multi-branch, trunk-based, GitFlow, GitHub Flow, GitLab Flow, SDET integration-trunk for chained test-automation suites) from .git config, branches, and the `git_strategy:` block in `.agents/project.yaml`, then adapts every commit, branch, push, PR, conflict-fix, and chained-PR action to that strategy. Use this skill whenever the user wants to: create a branch (`crear branch`, `new feature branch`, `start work on UPEX-123`), commit changes (`commit this`, `commitear esto`, `make a commit`, `commit and push`), push code (`push`, `push to main`, `push to staging`, `subir cambios`), open a pull request (`create PR`, `open PR`, `abrir PR`, `crear pull request`, `gh pr create`), fix merge conflicts (`fix conflict`, `resolver conflicto`, `merge conflict`, `rebase conflict`, `push rejected`), plan stacked or chained PRs (`stack of PRs`, `chained PRs`, `split this PR`, `PR demasiado grande`), set up an isolated git worktree (`worktree`, `work in a worktree`, `isolate this work`, `parallel session`, `aislar el trabajo`, `trabajar aislado`), set up or bootstrap a branching strategy on a fresh repo (`set up our git strategy`, `bootstrap branching`, `configura el flujo de git`, `git strategy setup`, `materialize the git flow`, `create the staging branch and write the runbook`), or pick / change / set up a branching strategy (`git flow`, `git strategy`, `branching strategy`, `which git flow do we use`, `set up our git strategy`, `bootstrap branching`, `configura el flujo de git`). Trigger even when the user does not say `git-flow-master` literally — if the work is git-or-PR-shaped, this is the right tool. Do NOT use for: testing tickets (use /sprint-testing), authoring test cases in TMS (use /test-documentation), writing automated tests (use /test-automation), running regression suites (use /regression-testing), or general code editing — git-flow-master operates strictly on the version-control layer

Overzicht

Uitgeverupex-galaxy
Repositoryagentic-qa-boilerplate
Skillnaamgit-flow-master
Sterren
26
Forks
13
Meegeleverde bestanden
11
LicentieMIT
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • 11 meegeleverde bestanden

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. Bestanden zijn alleen-lezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door upex-galaxy op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Git Flow Master in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/upex-galaxy/agentic-qa-boilerplate/tree/main/.agents/skills/git-flow-master
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/upex-galaxy/agentic-qa-boilerplate.git /tmp/agentic-qa-boilerplate
mkdir -p .claude/skills
cp -r /tmp/agentic-qa-boilerplate/.agents/skills/git-flow-master .claude/skills/git-flow-master
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Git Flow Master in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Git Flow Master automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Git Flow Master niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Git Flow Master — One Skill for Branches, Commits, Pushes, PRs, and Conflicts

This skill is the project's single entry point for everything that happens on the version-control layer: creating branches, writing commits, pushing safely, opening pull requests, resolving conflicts, and planning chained / stacked PRs when a change outgrows the review budget.

It does not assume one branching model. The project may run on main only, on main + staging, on a multi-branch enterprise layout, or on any of the well-known flows (trunk-based, GitFlow, GitHub Flow, GitLab Flow). The skill detects which one is active and adapts every command accordingly. The detection is sticky: once resolved, the strategy is recorded in the git_strategy: block of .agents/project.yaml so future invocations skip the prompt.


Compact Rules

  • DO: read the repo state (status, branches, diff, log, fetch, upstream, remotes) at the start of EVERY invocation and report it before acting. Never assume repo state.
  • DO: resolve the branching strategy from the git_strategy: block in .agents/project.yaml first, then layout heuristics, then by asking — never pick one silently. Persist the resolution back into that block, never into a separate file and never as policy prose in AGENTS.md. The yaml snippets in references/ (per-strategy field rules, policy examples) are illustrations: a claim about THIS repo's strategy, branches or policy cites .agents/project.yaml (or git:policy verify output) read in the same turn.
  • WHEN git_strategy.meta.strategy_source is chosen: the strategy is CONFIRMED, whatever project.project_name holds; no offer. Otherwise, WHEN git_strategy.strategy is set but project.project_name is null, or meta.strategy_source is inherited (or absent) on a named project: the strategy was INHERITED from the template, not chosen. Treat it as unconfirmed and OFFER Strategy Setup once per session — never auto-run it, and proceed under the inherited strategy on a "no".
  • DO: consult git_strategy.policy.direct_push_to_protected before any direct push to a protected branch — allowed is standing authorization (asking anyway collapses it into confirm), confirm asks every time, forbidden refuses and routes through a PR. A missing or null block behaves as confirm.
  • DO NOT: force-push, --force-with-lease, --no-verify, amend or rebase a pushed commit, or otherwise rewrite pushed history, unless the user explicitly authorizes it AND the branch is unshared.
  • DO NOT: run a repo-wide discard (git restore ., git checkout -- ., git reset --hard, untargeted git stash, git clean -f) — concurrent sessions may share this working tree. Discard only explicit paths this session modified; unclear ownership means stop and ask.
  • DO NOT: git add -A or git add .. List explicit paths, so a secret or another session's work cannot ride along.
  • DO: keep one commit to one responsibility, in conventional format ({type}({ISSUE-KEY}): {description}). Commit messages, branch names and PR bodies are English and carry NO AI attribution.
  • DO: close EVERY commit message, in every strategy, with the two forensic trailers Worktree: <name|primary> then Session: <label>, copied from the AGENT IDENTITY: line in session context (unknown when a value cannot be resolved). They are forensics, not attribution — a harness-branded trailer (Claude-Session:, an AI Co-Authored-By:) stays forbidden.
  • WHEN the pre-push or CI documentation-contract gate names a region (ADR-0016): update every page it lists in the same push; only if they still hold, add Docs-Checked: <label> <reason> above the forensic trailers. NEVER add it by reflex or without the reason.
  • WHEN a pre-commit hook rejects a commit: stop, fix the underlying issue, and create a NEW commit. Never --amend the rejected one.
  • DO: propose every branch name, commit set, and PR body and wait for an explicit OK before executing.
  • DO: stop at PR creation — merging is the user's next step, never automatic. If the gh transport is missing or unauthenticated, surface the blocker instead of implying a PR was opened.
  • WHEN reconciling declared policy against the host: run the policy-verify tool once at the first push / PR / merge intent, never hand-query protection endpoints. A 404 on the classic protection endpoint does not mean unprotected, and a push that succeeded may have been a documented bypass, not permission. Report drift; never auto-correct it.
  • WHEN a planned change exceeds ~400 changed lines: run the chained-PR decision (single-pr / stacked-to-main / feature-branch-chain / size-exception) before coding, and re-run it if the real diff outgrows the estimate rather than silently up-budgeting. Return it with its trace, never as a bare label: Chain strategy: <leaf>, each tree question answered with the reason drawn from THIS change (Q1=No (…) · Q2=… · Q3=…, n/a past the leaf), Decided by: /git-flow-master. Answers that do not lead to the stated leaf, or a trace that only restates the conclusion, count as no decision; a re-run replaces the trace.
  • WHEN a promotion PR into the production branch merges: hand off the post-promotion merged pass as /test-documentation post-promotion ("Promotion landed on <production>: run /test-documentation post-promotion"). Never touch the TMS from this skill. Canon: agentic-qa-core/references/discovery-driven-doctrine.md §6.
  • WHEN a conflict fires: diagnose and classify it first, present options ranked by safety, and prefer a safe abort over a guess. Never pick a destructive option silently.

Read full SKILL.md when: running Strategy Setup, resolving a specific conflict type, picking a base branch or branch prefix for an unfamiliar strategy, or setting up an isolated worktree.


When to use

Trigger on any of these intents — even without literal keywords:

  • "I want to start work on UPEX-123" → branch creation
  • "commit and push", "subir cambios", "push to main" → commit + push flow
  • "abrí un PR contra staging" → PR creation
  • "tengo conflictos al hacer pull" → conflict resolution
  • "este PR va a quedar enorme" → chained-PR planning hand-off
  • "qué estrategia de git usamos en este repo" → strategy detection / persistence
  • "el push fue rechazado" → diagnostic + recovery flow

If the user is asking about testing a ticket, authoring test cases, writing automated tests, or running regression suites — that is not this skill. Hand back to /sprint-testing, /test-documentation, /test-automation, or /regression-testing.


The six operations

Every git-flow-master invocation maps to one (or a sequence) of these six operations. Operation choice is driven by the user's request; strategy resolution shapes how each operation runs.

OpTrigger phrases (examples)Skill behaviour
Branch"create branch", "new feature branch", "start UPEX-123"Resolve strategy → propose name with prefix + issue key → wait for OK → checkout
Commit"commit this", "commit and push", "make atomic commits"Group by responsibility → propose conventional commits → wait for OK → execute one-by-one
Push"push", "push to main", "subir cambios"Diagnose upstream → confirm if pushing to a protected branch → never --force without explicit user opt-in
PR"create PR", "abrir PR", "gh pr create"Pick base branch from strategy → render body inline → ask labels/reviewers → call gh pr create
Conflict"fix conflict", "rebase failed", "push rejected"Diagnose first (see references/conflict-resolution.md) → present options → guide resolution → verify clean state
Strategy Setup"set up our git strategy", "bootstrap branching", "configura el flujo de git", "materialize the flow"Resolve strategy → run decision questionnaire (Q1-Q4) → conditionally create/ff-sync long-lived branches (never force) → write the git_strategy: block in .agents/project.yaml. Skips questions already answered by non-n/a git_strategy.decisions.* fields. See references/strategy-setup.md.

When the operation is ambiguous (user just says "git-flow-master" or "let's do the git stuff"), report the current repo state (Step 1 below) and ask what they need.


Step 1 — Always: read the repo state

Run these silently every invocation. Do not act until the picture is clear:

bash
git status
git branch --show-current
git branch -a
git diff --stat
git log --oneline -5
git fetch origin
git status -sb
git remote -v

Summarise to the user:

  • Current branch.
  • Dirty / clean working tree (staged / unstaged / untracked counts).
  • Unpushed / unpulled commits (ahead / behind upstream).
  • Upstream status (no upstream, up-to-date, diverged).
  • Remote name(s) — most repos have one (origin); some have a fork + upstream.

This summary is cheap, prevents 90% of mistakes, and is the input to every subsequent decision.


Step 1b — Reconcile the declared policy against the host (once per session)

git_strategy.policy.* in .agents/project.yaml records what the team DECIDED. The hosting platform records what is actually ENFORCED. These drift, and the drift only surfaces at the worst moment: a merge that stalls on an approval nobody expected, or a "protected" branch that was never protected.

Run this ONCE per session, at the first push / PR / merge intent (not on read-only operations), and cache the result for the rest of the session.

Run the tool; do not perform the queries by hand:

bash
bun run git:policy verify          # read-only; exit 1 on drift of a chosen strategy (inherited: warnings)
bun run git:policy verify --stamp  # same, and records the reconciliation when clean

It queries BOTH GitHub protection mechanisms for every branch in git_strategy.branches / protected, compares the union against the declared policy, and prints each divergence as declared vs enforced. The strategy-to-ruleset mapping and what the tool deliberately does not manage: references/ruleset-parity.md.

Why a tool rather than a checklist. A script performs every query on every run; a checklist performs only the ones the reader remembers.

Facts that still bind you when reading its output:

  • A 404 from branches/{b}/protection does NOT mean the branch is unprotected. A repo governed by rulesets returns 404 there while enforcing PR requirements, approvals, signed commits and non-fast-forward bans through rules/branches/{b}. Stopping at the classic endpoint produces a confident "unprotected" reading on a branch that requires a reviewed pull request.
  • A push that succeeds is not evidence of an absent rule. Org owners and anyone on the ruleset bypass list push through while the rule still binds everyone else. When a push prints Changes must be made through a pull request, that was a BYPASS: report it as one, never as permission. With git_strategy.policy.admin_bypass: true (or the divergence listed in git_strategy.policy.accepted_divergences), the Bypassed rule violations remote line is the DOCUMENTED norm — mention it in the report as expected, do NOT treat it as an anomaly, do NOT stall asking for confirmation, and NEVER open a PR to "satisfy" the rule.
  • require_code_owner_review: true with no CODEOWNERS file is unsatisfiable, not strict. Nobody outside the bypass list can clear it, so every merge becomes a bypass.

On drift, report — never auto-correct. Three legitimate resolutions: update .agents/project.yaml to match the host, change the host (bun run git:policy apply, dry run until --yes), or accept the divergence in git_strategy.policy.accepted_divergences and record WHY in this project's own .agents/instructions/agent-project.md (## Git Strategy (this repository)). Editing either side needs the user's choice.


Step 2 — Resolve the branching strategy

The skill supports eight strategies (see references/branching-strategies.md for the full catalogue, detection signals, and trade-offs):

StrategyOne-line description
solo-mainSingle long-lived branch (main). All work lands directly. Best for solo projects, scratch repos, prototypes.
main-integrationmain (production) + a single integration branch (staging / dev / develop). Features merge to integration, release-promote to main.
enterprisemain + integration + many short-lived feature/*, fix/*, release/*, hotfix/* branches. Adds environment branches when needed.
trunk-basedTrunk (main) is the only long-lived branch. Short-lived feature branches (<1 day) merge fast, behind feature flags. CI gate is non-negotiable.
gitflowVincent Driessen's classic. main (releases) + develop (integration) + feature/* + release/* + hotfix/*. Heavyweight; mostly legacy.
github-flowmain always deployable. feature/* branches → PR → merge → deploy. No staging/develop branch.
gitlab-flowGitHub Flow + environment branches (pre-production, production) to model deployment promotion.
sdetSDET Gitflow. main (confirmed tests) + ephemeral per-suite integration trunk test/<module>-suite. Test tickets chain through the trunk (--no-ff); one final PR → main. For chained test-automation suites. Opt-in; see references/sdet-integration-trunk.md.

Detection algorithm

Apply in order; stop at the first definitive answer:

  1. git_strategy: block in .agents/project.yaml — read it. If git_strategy.strategy is non-null (one of the eight slugs), it + git_strategy.branches (production / integration / ephemeral_pattern) + git_strategy.decisions (promote_method / feature_merge / hotfix_policy) ARE the persisted decision — use them. Each git_strategy.decisions.* field whose value is NOT n/a/empty means Strategy Setup SKIPS that question on re-run (idempotent — idempotency is keyed off the git_strategy.decisions.* fields, not markers). Inherited-template guard: the boilerplate ships the block FILLED (strategy: solo-main) and a scaffolded project INHERITS it verbatim (the scaffolder only patches project.project_name / project.project_key). So a non-null git_strategy.strategy is only authoritative when the project is actually onboarded. Read git_strategy.meta.strategy_source FIRST: chosen means Strategy Setup ran for THIS repo, so the block is confirmed and the project_name test below never runs. When strategy_source is inherited or absent, the block was INHERITED from the template (not chosen for THIS project), whatever project.project_name holds — treat the strategy as UNCONFIRMED and route to the Bootstrap trigger's inherited case (it still operates under the inherited strategy if the offer is declined).
  2. Single-branch heuristic — git branch -a shows only main (or master) and no integration branch in the remote → solo-main.
  3. Two-branch heuristic — exactly main (or master) + one of {staging, dev, develop, integration} exists upstream → main-integration (record the integration branch name).
  4. Multi-branch heuristic — main + integration + active feature/* or release/* branches in git branch -a → enterprise.
  5. Project hints — look for .gitlab-ci.yml (suggests gitlab-flow), release/* and hotfix/* long-lived branches (suggests gitflow).
  6. Fallback — ask the user. Show the options with one-line descriptions; mirror their language. Do NOT pick silently. On a test-automation repo (KATA / Playwright / /test-automation), surface sdet as the recommended option. sdet is opt-in only — never inferred silently from layout; a live test/<module>-suite trunk with test/{KEY}-* PRs targeting it confirms an already-active sdet suite.

Persist the decision

Once resolved (whether by detection or by asking), write/update the git_strategy: block in place inside .agents/project.yaml (preserve the rest of the file — it holds project identity, env config, etc.; create the block if it is missing), values only: each key is documented in .agents/project.schema.yaml, never in the yaml (ADR-0025). NEVER write a separate file. It is the single source of truth. At minimum the first five operations need git_strategy.strategy + git_strategy.branches; the full schema (with git_strategy.decisions, git_strategy.protected, git_strategy.policy, git_strategy.branch_prefixes, git_strategy.meta) is populated by Strategy Setup (3.6).

yaml
# .agents/project.yaml — git_strategy block (only the fields that apply shown)
git_strategy:
  strategy: main-integration
  branches:
    production: main
    integration: staging
    ephemeral_pattern: null

The block is the source of truth; its git_strategy.description field is the one-paragraph human summary. The user can edit it; the next invocation re-reads it.

The ## Git Strategy section of .agents/instructions/agent-git.md is just a pointer to .agents/project.yaml (git_strategy: block) — NEVER write strategy policy or branch decisions into AGENTS.md or an instruction section. A repository's own reading of its strategy goes in its project-owned .agents/instructions/agent-project.md (## Git Strategy (this repository)). Any other change to an instruction file is /framework-development mode instructions.

If the strategy uses an integration branch with a non-default name (anything other than staging), record it under git_strategy.branches.integration so commits don't have to re-detect.

Block fields and idempotent setup. git_strategy.strategy + git_strategy.branches are the minimum the first five operations need. Strategy Setup (3.6) additionally populates the three git_strategy.decisions.* fields (promote_method, feature_merge, hotfix_policy) plus the git_strategy.policy.* fields (Q4); these gate questionnaire skips. On any later invocation, detection reads the block and treats each git_strategy.decisions.* field that is NOT n/a/empty as an already-answered questionnaire question — Strategy Setup re-run only asks the questions whose git_strategy.decisions.* fields are still n/a, and never recreates a branch that already exists.

Bootstrap trigger — offer setup on a fresh repo (never auto-run)

At the top of any git intent, after Step 1 (repo state) and Step 2 detection have run, evaluate the gate — it fires on EITHER of two conditions:

(a) Unset — git_strategy.strategy in .agents/project.yaml is null (or the git_strategy: block is absent) AND the repo looks fresh — any of: only main/master exists locally and on the remote; fewer than ~3 commits; or a boilerplate sentinel file is present (e.g. .agents/project.yaml).

(b) Inherited — git_strategy.strategy is non-null and git_strategy.meta.strategy_source is NOT chosen (it is inherited or absent), whatever project.project_name (same file) holds. The block was INHERITED from the boilerplate template — it was NOT chosen for THIS project. Treat it as UNCONFIRMED.

If EITHER condition is true, OFFER (do not auto-execute, do not silently pick a strategy), using the matching prompt:

(unset case (a)) "No git strategy is set up yet. Want me to run Strategy Setup — pick the flow, create the branches it needs, and write the git_strategy: block in .agents/project.yaml? (Y/N)"

(inherited case (b)) "This project's git_strategy looks inherited from the boilerplate (meta.strategy_source is not chosen). Want to run Strategy Setup to define this project's own flow? (Y/N)"

Rules:

  • Offer once per session, then cache the answer. Do not re-prompt every git intent in the same session.
  • Never auto-run. A No proceeds with the requested operation under the detected (case a) or inherited (case b) strategy without writing the block.
  • A Yes enters Strategy Setup (3.6) before continuing with the original git intent.
  • The boilerplate ships .agents/project.yaml with the git_strategy: block FILLED (strategy: solo-main); a scaffolded project INHERITS it verbatim (the scaffolder patches only project.project_name / project.project_key, and the updater freezes the file via bootstrapOnlyPaths). So the unset case (a) and the inherited case (b) are the two ways a project reaches a real git intent without having confirmed its own flow → the offer fires on first real use — by design (template-trap guard). git_strategy.meta.strategy_source: chosen confirms the strategy before project.project_name is even read, so NEITHER case fires on it.

Step 3 — Operation-specific runbooks

3.1 Branch creation

Decide the prefix from the dominant change. Use this fixed vocabulary (mixed-changes precedence: feat > fix > refactor > test > docs > chore):

PrefixWhen the dominant change is…
feat/new feature or capability
fix/bug fix
test/adding or updating automated tests (no product code)
docs/docs only
refactor/code change without behaviour change
chore/tooling, deps, housekeeping

For enterprise and gitflow strategies, also consider release/X.Y.Z and hotfix/X.Y.Z when appropriate.

In a QA repo most work lands as test/, fix/, or chore/ branches. Feature branches (feat/) are rare here — a feat/ in this repo usually means a change to the test framework itself (new fixture, new Page component layer, new reporter).

Issue key extraction (in order):

  1. Current branch name regex: (?:feat|feature|fix|test|docs|refactor|chore)/([A-Z]+-\d+)-.
  2. $ARGUMENTS for [A-Z]+-\d+.
  3. Ask the user once: "Is there an issue key for this work?" — accept "no" gracefully.

Branch name format — read git_strategy.branch_prefixes in .agents/project.yaml (naming_with_key / naming_without_key / precedence); the patterns below are the shipped defaults, used verbatim when the block is absent:

  • With key: {prefix}/{ISSUE-KEY}-{kebab-slug} (e.g. test/UPEX-123-bulk-assign-coverage).
  • Without key: {prefix}/{kebab-slug} (e.g. refactor/split-kata-fixtures).
  • Keep slugs lowercase, hyphen-separated, ≤50 chars.

Strategy-specific source branch:

  • solo-main, github-flow, trunk-based → branch off main.
  • main-integration, gitlab-flow → branch off the integration branch (staging / dev / equivalent).
  • enterprise → branch off the integration branch unless it is a hotfix/*, which branches off main.
  • gitflow → feature/* branches off develop; hotfix/* off main; release/* off develop.
  • sdet → test/{KEY}-* ticket branches + Plus Branches (docs/*/chore/*/fix/*) branch off the ephemeral integration trunk test/<module>-suite; the trunk itself is cut from main on demand when a suite begins. Never stack a ticket on the previous ticket branch. See references/sdet-integration-trunk.md.

Always propose the name and ask for OK before git checkout -b. Never create silently.

3.2 Commits

Group changes by responsibility, not by file type:

GroupTypical paths
Test codetests/, tests/components/, tests/e2e/, tests/integration/
API schemasapi/schemas/, codegen output, OpenAPI types
Test datatests/data/
Skills/Docs.agents/skills/, .agents/, AGENTS.md, docs/, README.md
Configpackage.json, tsconfig.json, playwright.config.ts, lint/format configs

Test data and fixtures stay with the tests they support. If a test commit ships its own fixture, they belong in the same commit, not in a separate chore: commit.

Conventional commit format:

  • With issue key: {type}({ISSUE-KEY}): {description} (e.g. test(UPEX-123): cover bulk-assign empty states).
  • Without key: {type}: {description}.
  • Breaking changes: append ! after type/scope and add BREAKING CHANGE: footer.

Vocabulary: feat, fix, docs, style, refactor, perf, test, chore, build, ci, revert (full list in references/conventional-commits.md).

Hard rules (apply on every commit):

  • One commit = one responsibility. Never bundle unrelated changes.
  • Never git add -A or git add . — list explicit paths to avoid leaking secrets (.env, credentials) or unrelated work.
  • PBI ladder guard (repos running the .context/PBI/ cache, .agents/instructions/agent-local-context-pbi.md). After staging, run git diff --cached --name-only | grep '^\.context/'. Anything staged there must be one of the three [COMMIT]-tier paths (.context/PBI/README.md, .context/PBI/templates/**, .context/PBI/epics/*/test-specs/**); every other match is [SYNC] cache that leaked past the ignore ladder — a directory like stories/ reads as untracked in git status and an explicit-path git add descends straight past the exclusion. Unstage it (git restore --staged <path>) before the commit proceeds. A commit that touches no .context/ path skips this check.
  • No AI attribution. No Generated with Claude Code, no Co-Authored-By: Claude, no equivalent line. Commits look human-authored. (Critical Reminder #3 in AGENTS.md.)
  • If a pre-commit hook fails, stop, fix the underlying issue, create a NEW commit. Never --amend a commit the hook rejected — --amend operates on the previous commit, which destroys context.

Forensic trailers (mandatory, every commit, every strategy). The last two lines of every commit message are:

Worktree: <name|primary>
Session: <label>
  • Both values come from the AGENT IDENTITY: line the prompt hook injects into this session's context (worktree=…, session=…). Copy them; do not re-derive them per commit. The session label may contain spaces and parentheses (my-session (c0ffee12)): take everything after session= up to the literal harness= token, never split the line on whitespace.
  • primary is the correct worktree value when the session is not running in a linked worktree. When a value could not be resolved at all, write unknown — never guess a name, never drop the key. A missing trailer is less recoverable than an honest unknown.
  • Nothing goes below them, and nothing is added beside them.
  • Docs-Checked: <label> <reason> is the one trailer that may sit ABOVE them (ADR-0016). Add it only when the change touched a LINT.IfChange(<label>) region, the pages its LINT.ThenChange(...) names were NOT updated, and they still describe the behaviour correctly; the reason says why. Never by reflex, never without a reason (a bare label does not count). The pre-push and CI documentation-contract gate block the push without it or the page edits. On an already-pushed range the ack is an empty commit carrying the line, never an amend.
  • These are forensics, not attribution. They record WHICH working tree and WHICH session produced the commit, so a bisect, an incident review, or a parallel-session post-mortem can find the right transcript. They are deliberately harness-agnostic: no tool, vendor, or model is named. The prohibition in Critical Rule #3 is untouched — never Claude-Session:, never a Co-Authored-By: for an AI, never a "Generated with …" line, never any other harness-branded key.

Present all proposed commits as one block. Wait for OK / modify / reject before executing.

3.3 Push

Push command depends on Step 1 output:

  • No upstream → git push -u origin {branch}.
  • Upstream behind → git push.
  • Upstream diverged → stop. Do not force. Hand to conflict resolution (3.5).

Protected branches per strategy — the branches the policy gate below guards (union with git_strategy.protected):

  • solo-main → main is protected.
  • main-integration → both main and the integration branch are protected.
  • gitflow → main and develop are protected.
  • github-flow / trunk-based → main is protected.
  • gitlab-flow → main (the integration branch) and the environment branches pre-production and production are protected.
  • enterprise → main, integration, and any release/* are protected.
  • sdet → main is protected (only the final suite PR lands, reviewed + green CI). The integration trunk is protected-by-convention but its ticket/Plus PRs are self-merged by the maintainer with no ruleset friction.

Policy gate (consult git_strategy.policy.direct_push_to_protected before any direct push to a protected branch):

git_strategy.policy.direct_push_to_protectedBehaviour
allowedStanding authorization — push WITHOUT a per-push confirm. The recorded value IS the authorization (stamped by Strategy Setup with the user); asking anyway collapses allowed into confirm and empties the third state.
confirm (default)Always ask. Wait for explicit yes.
forbiddenRefuse the direct push. Redirect to the PR flow (3.4): propose a work branch + gh pr create.

For confirm, ask: "You are about to push directly to the protected branch {branch} in a {strategy} flow. Confirm?" Wait for explicit yes. Missing or null git_strategy block (fresh scaffold, project never onboarded) → behave as confirm: the safe default is to ask, never to assume standing authorization.

Admin bypass (only when contemplating skipping PR/protection for an urgent change): only when git_strategy.policy.admin_bypass: true may the skill OFFER a bypass — and it MUST re-confirm at runtime BOTH: (a) the operator actually holds admin rights on the repo (ASK — the skill cannot know the GitHub role; admin_bypass is a team POLICY intent, not a capability check), AND (b) the irreversible action itself. If git_strategy.policy.admin_bypass: false, NEVER offer a bypass regardless of the operator's role.

Never pass --force, --force-with-lease, --no-verify, or any history-rewriting flag unless the user explicitly requests it AND the branch is unshared. Document the request in the conversation. (Critical Reminder #6 in AGENTS.md: never rewrite pushed history.)

3.4 Pull request

Base branch picks itself from the strategy:

StrategyDefault PR base
solo-main, github-flow, trunk-basedmain
main-integration, gitlab-flowintegration branch (e.g. staging)
enterpriseintegration branch; hotfix/* → main
gitflowfeature/* → develop; hotfix/* → main; release/* → main (and back-merge to develop)
sdettest/{KEY}-* ticket branches + Plus Branches → the integration trunk test/<module>-suite; the single final suite PR → main (after the sync gate). See references/sdet-integration-trunk.md.

The user can override with --base X in arguments. If overridden, surface it in the confirmation: "PR will target {base} instead of the strategy default {default}."

Title format: {type}({ISSUE-KEY}): {description} — under 70 chars. Without a key: {type}: {description}.

Body — render inline (no template file to read) using the structure in references/pr-templating.md. Substitute placeholders the skill can fill (<<ISSUE_KEY>>, <<SUMMARY>>, <<CHANGES>>, <<TEST_PLAN>>, <<RISK>>). Leave any unfilled placeholder visible so the author can edit it before posting — do not silently drop sections.

For test/* branches in this repo, the PR body should use the structure in references/pr-test-automation.md (project-local template tuned for KATA test-automation PRs). For non-test/* branches use the generic structure in references/pr-templating.md.

Write the rendered body to a tempfile (e.g. $(mktemp)) and pass it via gh pr create --body-file to avoid escaping issues.

Reviewers, labels, draft — see references/pr-templating.md. Never hardcode labels the repo may not have configured; verify with gh label list if uncertain.

Final command shape:

bash
gh pr create \
  --title "{title}" \
  --body-file {tmpfile} \
  --base {base} \
  [--reviewer {users}] \
  [--label {labels}] \
  [--draft]

Stop at PR creation. Merging is the user's explicit next step. Never auto-merge. Surface: "Review the PR. Once approved, merge via the GitHub UI or run gh pr merge {number} {merge-flag}." with the flag chosen by the rule below. One carve-out: when a supervised worker's dispatch or brief NAMES the merge as a step, that instruction IS the explicit next step and the worker merges. The rule exists so a PR is never merged by an agent acting on its own judgement; a dispatch that says "open the PR and merge it" is not the agent's judgement, it is the owner's, delivered through the channel the fleet uses for every other instruction. Say in the report that the merge was pre-authorized and by which line of the brief.

Which merge flag (one rule, sdet first). sdet (the integration trunk) is the Dojo standard for test-automation suites, so its rule comes first and is never relaxed:

PRFlagSquash
Ticket or Plus Branch → the trunk test/<module>-suite--merge (a merge commit, the --no-ff equivalent)Never. It flattens the per-ticket history the suite exists to keep (references/sdet-integration-trunk.md).
Final trunk → main--mergeOnly when the host allows no other method; the chain then survives on the pushed trunk and the PR body says so. Do not add --delete-branch here: the trunk is deleted after CI is green on main.
Any other strategythe flag that matches git_strategy.decisions.feature_merge: merge-commit → --merge, squash → --squash, rebase-merge → --rebaseFine for a short-lived branch whose intermediate commits carry no meaning (the default when feature_merge is n/a or the block is missing). Use --merge when per-commit history matters.

Optional pre-PR adversarial gate — when the diff exceeds the 400-line cognitive review budget OR touches shared scaffolding (KATA base classes, fixtures, OpenAPI schemas), surface /judgment-day as an optional pre-PR review: "Diff is large / touches shared scaffolding. Want to run /judgment-day before opening the PR?". Two blind judges review the diff in parallel; only approves when both agree. See .agents/skills/judgment-day/SKILL.md. Never invoked automatically — user opts in.

3.5 Conflict resolution

Conflicts are diagnosed before they are resolved. The user is rarely in a hurry; a wrong fix here costs hours.

Run git status, git diff --check, and inspect .git/MERGE_HEAD / REBASE_HEAD to classify the situation, then follow the matching playbook in references/conflict-resolution.md:

  • Merge conflict (content)
  • Merge conflict (rename / delete)
  • Rebase conflict
  • Push rejected (diverged)
  • Detached HEAD
  • Stash apply conflict
  • Unrelated histories
  • Pre-commit hook rejected the commit

For every type, the playbook follows the same shape:

  1. Explain what happened (root cause, in the user's language).
  2. Present options ranked by safety. Never pick destructive options (force push, hard reset, --abort of an unfinished merge with uncommitted work) silently.
  3. Guide the resolution step by step.
  4. Verify (git status, git log --oneline -3).
  5. Teach prevention (one short note on how to avoid this next time).

When in doubt, abort safely (git merge --abort, git rebase --abort, git cherry-pick --abort) rather than push forward. Aborting always wins over guessing.

3.6 Strategy Setup

The first five operations adapt to a strategy that already exists. Strategy Setup is the operation that establishes one: it resolves (or asks) the strategy, captures the merge + hotfix + protection-policy decisions the other operations depend on, materializes the long-lived branches the strategy needs, and writes the git_strategy: block in .agents/project.yaml. It is the only operation that creates branches and writes the strategy definition.

When it runs

  • Explicit: the user asks — "set up our git strategy", "bootstrap branching", "configura el flujo de git", "materialize the flow".
  • Bootstrap offer (see "Bootstrap trigger" below): a git intent arrives and EITHER git_strategy.strategy is null (or the block is absent) with a fresh-looking repo, OR git_strategy.strategy is non-null and meta.strategy_source is not chosen (inherited template). The skill OFFERS to run setup. It never auto-runs.

Six-step flow (mechanics live in references/strategy-setup.md — do not inline them here):

  1. Read repo state — Step 1 (already always runs).
  2. Resolve strategy — reuse Step 2 detection. If still undetermined, ask the strategy question (the slugs in the Step 2 table; on a test-automation repo, sdet first as the recommended option).
  3. Decision questionnaire — run Q1/Q2/Q3/Q4 below, capturing merge methods + hotfix policy + protection policy. SKIP any question that does not apply to the resolved strategy, and SKIP any question whose decision field is already populated (idempotent re-run — see Step 2 extension). Q4 applies to ALL strategies.
  4. Materialize — conditional on the resolved strategy: create an integration branch ONLY if the strategy needs one and it is missing; ff-sync the integration/production pair if one is a pure ancestor of the other (NEVER --force); set up local tracking. Full materialization table + sync mechanics in references/strategy-setup.md.
  5. Persist — write the git_strategy: block in .agents/project.yaml (the structured source of truth) with the fields that apply to the resolved strategy, preserving the rest of the file. NEVER write a separate file. Do NOT render a prose runbook anywhere — the operational HOW lives in this skill's references (branching-strategies.md catalogue + sdet-integration-trunk.md), read on demand. Per-strategy field values in references/branching-strategies.md → "git_strategy field rules (per strategy)".
  6. Report — branches created/synced, decisions captured, block location.

Decision questionnaire (defaults first; each gated on the resolved strategy)

QQuestionApplies toOptions (default first)Drives
Q1Promotion method, integration → productionstrategies with an integration branch (main-integration, gitlab-flow, enterprise; gitflow = develop → main)Fast-forward only / Merge commit (--no-ff) / Squashrelease runbook + whether branches stay byte-identical
Q2Merge method, work-branch → integration (or → trunk)all multi-branch strategiesMerge commit (--no-ff) / Squash / Rebase + mergehow integration history accrues
Q3Hotfix policystrategies with a production branch distinct from where work landsBranch off production → PR to production → back-merge to integration same day / Always via integration / No policyhotfix runbook + invariant maintenance
Q4Protected-branch bypass policyALL strategiesdirect_push_to_protected: forbidden / confirm / allowed (default per strategy — solo-main=allowed, multi-branch=forbidden, sdet=confirm) · admin_bypass: may a repo admin bypass PR/protection for urgent changes? (default false) · require_pr_reviews: min approvals (default null / strategy-appropriate)how strictly protected branches are guarded (Push op 3.3) → sets git_strategy.policy.*

Q1/Q2/Q3 defaults are what the main-integration worked example chose; they are DEFAULTS, not hardcoded. The user can override any of them. Single-branch strategies (solo-main, github-flow, trunk-based) answer NONE of Q1/Q2/Q3 — they have no integration branch and no distinct production branch. Q4 applies to every strategy (even single-branch ones — a solo main is still protected) and writes git_strategy.policy.*; per-strategy Q4 defaults live in references/branching-strategies.md → "git_strategy field rules (per strategy)".

The git_strategy block fields (write only the ones that apply; leave decisions.* at n/a for any decision the strategy doesn't use):

yaml
git_strategy:
  strategy: VALUE                 # one of the eight slugs
  branches:
    integration: NAME             # or null
  decisions:
    promote_method: ff-only|merge-commit|squash|n/a
    feature_merge: merge-commit|squash|rebase-merge|n/a
    hotfix_policy: branch-off-prod-backmerge|via-integration|none|n/a
  policy:                                          # Q4 — applies to ALL strategies
    direct_push_to_protected: forbidden|confirm|allowed
    admin_bypass: true|false                       # team POLICY intent, not enforcement
    require_pr_reviews: null|0|N

Non-negotiables

  • Never --force (not --force-with-lease either) during a setup sync. Sync only on a true fast-forward; if the integration/production pair has diverged both ways → STOP and hand to conflict resolution (3.5).
  • Confirm before any push to a protected branch. A setup ff-sync push is still a push to a protected branch — ask first.
  • Propose, don't auto-execute branch creation. Show the plan (which branch, off what, why) and wait for OK before git checkout -b / git branch.
  • No AI attribution in any commit the setup makes (see this skill's "Critical rules" section and the project AGENTS.md).

Pointers (do not inline mechanics here)

  • references/strategy-setup.md — full questionnaire detail (Q1-Q4), the per-strategy materialization table, sync mechanics, persist sequence, report format.
  • references/branching-strategies.md → "git_strategy field rules (per strategy)" — the per-strategy field values written into the git_strategy: block of .agents/project.yaml (strategy / branches / decisions / policy).

Step 4 — Chained / stacked PRs (when a change outgrows the budget)

When a planned change estimates > 400 changed lines (additions + deletions), the work should be split. The 400-line cognitive review budget is borrowed from industry research (SmartBear, Cisco code-review studies); above it, defect detection drops sharply.

There are three options:

  1. stacked-to-main — 2 to 4 small PRs, each branched off the strategy's default base. PRs depend on previous merges. The base always works between merges. Best for linearly decomposable work.
  2. feature-branch-chain — one long-lived integration branch; child PRs merge into it; one final PR merges it to the strategy's default base. Best for changes with shared scaffolding (new types, new schemas) that would break partial merges.
  3. size-exception — for mechanical diffs (mass renames, formatter sweeps, generated code, vendor updates). Requires explicit user override and a Why size-exception: line in the PR body.

Walk the chained-PR decision tree inline (see references/branching-strategies.md § Chained-PR decision tree). The decision picks one of: single-pr, stacked-to-main, feature-branch-chain, size-exception. Once decided, execute the resulting branch plan from this skill.

The branch plan that comes out of the decision is the contract for execution. If the implementation diverges (the actual diff is larger than the estimate), re-invoke the decision — do not silently up-budget the existing strategy.


Variables consumed

  • {{PROJECT_KEY}} — issue prefix for branch naming (e.g. UPEX-123). Resolves from .agents/project.yaml.
  • {{ATLASSIAN_URL}} — base URL for the Traceability section in PR bodies. Resolves from .agents/project.yaml:atlassian_url.
  • Any project missing .agents/project.yaml will lack these. Fall back to a generic {prefix}/{slug} and surface a one-line warning: clone the full boilerplate (the foundation files ship with the repo).

Hand-offs to other skills

SituationHand off to
Strategic split of a large changeStep 4 (inline decision tree in this skill)
Pre-sprint AC refinement on backlog Stories/shift-left-testing
In-sprint manual QA per ticket/sprint-testing
Test case authoring + ROI in TMS/test-documentation
KATA-compliant automated test authoring/test-automation
Regression suite execution + GO/NO-GO/regression-testing
A promotion PR (integration → production) merged/test-documentation post-promotion: the merged pass for every TC at pull_request whose spec is on origin/<production> (agentic-qa-core/references/discovery-driven-doctrine.md §6)
Atlassian (Jira) operations triggered by a commit / PR/acli
First-time orientation/agentic-qa-onboard

Critical rules — apply every invocation

  1. Diagnose before acting. Step 1 always runs. Never assume repo state. 1b. policy: records INTENT, not enforcement. Reconcile it by RUNNING bun run git:policy verify (Step 1b) at the first push / PR / merge intent, then --stamp when clean. Never perform the protection queries by hand, and never state what the remote requires from a declared reading. git:policy apply is a dry run until --yes, and refuses to remove a guard, lower the approval bar, turn off code-owner review, or widen the merge methods unless --allow-loosening is passed for that specific give-up. 1c. strategy: solo-main is the shipped DEFAULT, not evidence of a decision. meta.strategy_source tells them apart: inherited means nobody chose. On a repo whose project.project_name is set and whose strategy_source is still inherited, OFFER Strategy Setup and say what the default costs (no integration branch, no promotion path, no review gate). Strategy Setup stamps chosen; nothing else may.
  2. One commit = one responsibility. Never bundle unrelated changes.
  3. No AI attribution in commits or PR bodies. Commits look human-authored. (Critical Reminder #3 in AGENTS.md.) The two forensic trailers of 3.2 (Worktree: / Session:) are the one thing that always closes a commit message — they name a working tree and a session, never a tool, so they are not attribution and not optional.
  4. Confirm before pushing to any protected branch. Strategy-driven; see Step 3.3. (Critical Reminder #5 in AGENTS.md.)
  5. Never force-push, never rewrite pushed history, never --no-verify unless the user explicitly authorises it AND the branch is unshared. (Critical Reminder #6 in AGENTS.md.)
  6. No git add -A / git add . — always list explicit paths.
  7. Show proposed commits / branches / PR body and wait for OK before executing. The user can accept, modify, or reject any item.
  8. gh CLI is the PR transport. If gh is missing or unauthenticated (gh auth status fails), stop and surface the blocker. Do not pretend a PR was opened.
  9. PRs stop at creation. Merging is the user's explicit next step — with the one carve-out in 3.4: a supervised worker whose dispatch or brief NAMES the merge is executing the owner's instruction, not its own judgement, and merges.
  10. Strategy is sticky. Once resolved, persist in the git_strategy: block of .agents/project.yaml. The next invocation re-reads the block rather than asking again.
  11. Language: artifacts (commits, branches, PR bodies, AGENTS.md sections) in English. Mirror the user's language only in conversation.
  12. No global discards. Never git restore ., git checkout -- ., git reset --hard, untargeted git stash, or git clean -f — concurrent agent sessions may share this working tree without worktrees. Discard only explicit paths this session modified; if file ownership is unclear, stop and ask the user. (Critical Rule #15 in AGENTS.md; see also references/worktrees.md for true isolation.)

Anti-patterns — NEVER do these

  • G1. NEVER force-push to main or any shared branch — destroys teammates' history and is unrecoverable once others have pulled.
  • G2. NEVER amend or rebase a pushed commit — creates orphan commits in others' clones and rewrites history that was already replicated.
  • G3. NEVER commit secrets, credentials, .env contents, or auth tokens — git history is forever; a single commit leaks the secret permanently.
  • G4. NEVER include "Generated with Claude Code", "Co-Authored-By: Claude", or any AI-attribution line in commit messages or PR bodies (Critical Rule #3). Commits look human-authored.
  • G5. NEVER push to main without explicit user confirmation (Critical Rule #5). Strategy-driven protection applies to every protected branch, not just main.
  • G6. NEVER bypass pre-commit / pre-push hooks with --no-verify to "ship faster" — hooks exist to catch the bug you didn't notice. Fix the hook failure and create a new commit.
  • G7. NEVER mix concerns in a single commit (feat + refactor + lint fix bundled together) — atomic commits enable surgical revert and clean blame.
  • G8. NEVER stack PRs without naming the dependency chain in the PR body — reviewers can't tell which PR to read first or what each one depends on.
  • G9. NEVER discard working-tree changes globally (git restore ., git checkout -- ., git reset --hard, untargeted git stash, git clean -f) — when multiple agent sessions share one working tree without worktrees, a global discard destroys another session's uncommitted work with no recovery. Target only the explicit paths this session modified; unclear ownership → stop and ask the user (Critical Rule #15).

Isolated worktrees (parallel / risky work)

When work needs to be isolated from in-progress changes on the current branch — a second AI session running in parallel, a hotfix while a feature is open, or unrelated WIP you do not want to mix — use a git worktree (a second working directory on its own branch, sharing one .git). Three paths:

  • Manual git (portable, any tool): git worktree add ../dir -b feat/x main → work → git worktree remove / prune.
  • Claude Code harness (this agent only): EnterWorktree moves the session into a fresh worktree under .claude/worktrees/; ExitWorktree (keep/remove) leaves it. Other coding agents lack this — they use the manual path.
  • Orchestrated (a coordinated fleet of worker sessions): the orchestration layer creates, provisions and removes one worktree per worker, outside the repo and visible to the owner. Git mechanics are identical; the lifecycle is owned by orca-orchestration/SKILL.md.

Key gotchas: a fresh worktree contains only the tracked files of its base — untracked WIP does not teleport (mv it in, or commit first) and every gitignored file is missing too (bun run worktree:provision). Keep the primary tree's git status clean, and run the orphan audit before removing a worktree — gitignored evidence dies with it. Full lifecycle, multi-session safety rules, and the decision guide: references/worktrees.md.


Pre-flight checklist (run before exiting any operation)

  • Step 1 ran and the repo state was reported.
  • Strategy resolved (detected from the git_strategy: block in .agents/project.yaml, inferred from layout, or asked) and persisted to that block if newly chosen.
  • Branch / commit / push / PR / conflict operation followed the runbook for that strategy.
  • Each commit is atomic, conventional, and free of AI attribution.
  • Each commit message ends with the two forensic trailers (Worktree: then Session:), values taken from the AGENT IDENTITY: context line or written as unknown.
  • No git add -A / --force / --no-verify used unless explicitly authorised.
  • No global discard ran (git restore . / git checkout -- . / git reset --hard / untargeted git stash / git clean); any discard targeted explicit session-owned paths only.
  • PR (if created) has Title <70 chars, body with Summary / Changes / Test Plan / Traceability / Risk, base branch matches strategy.
  • PR URL returned to the user; no merge attempted.
  • Conflicts (if any) are fully resolved AND verified (git status clean, git log sensible).
  • If Strategy Setup ran: branches were proposed (not auto-created), ff-syncs used a true fast-forward only (no --force), and a diverged pair was handed to conflict resolution rather than forced.
  • If Strategy Setup ran: the git_strategy: block in .agents/project.yaml was written in place with the fields that apply to the resolved strategy (strategy / branches / decisions / policy / protected / branch_prefixes / description / meta), preserving the rest of the file.

Reference files

FileWhen to read
references/branching-strategies.mdFull catalogue of the 8 strategies + detection signals + trade-offs + chained-PR decision tree + per-strategy git_strategy field rules (the block in .agents/project.yaml). Read when resolving strategy or planning a chain.
references/strategy-setup.mdStrategy Setup (3.6) mechanics: decision questionnaire detail, per-strategy materialization table, ff-sync mechanics (never force), persist sequence, report format. Read when running or re-running Strategy Setup.
references/sdet-integration-trunk.mdsdet strategy runbook: per-ticket loop, ephemeral integration trunk, local double-env gate, Sanity CI + CI-fallback clause, Plus Branches, sync gate, final PR, TC lifecycle. Read when running an sdet test-automation suite.
references/conventional-commits.mdFull type vocabulary, scope rules, breaking-change syntax, mixed-changes precedence. Read when proposing commits.
references/pr-templating.mdPR body template, placeholder rules, label / reviewer / draft conventions, multi-strategy base-branch table. Read when opening a PR.
references/conflict-resolution.mdPer-conflict-type playbooks (merge / rebase / push-rejected / detached-HEAD / stash / unrelated histories / hook rejection). Read when Step 3.5 fires.
references/worktrees.mdGit worktrees for isolated/parallel work — manual git, Claude Code EnterWorktree/ExitWorktree, orchestrated worktrees, the untracked-files gotcha, gitignored-file provisioning, multi-session safety, the orphan audit before removal, cleanup, decision guide. Read when isolating work or running parallel sessions.
references/observer.mdMerge Line, the read-only PR view of the Sprint Board: the observer rule (never acts on GitHub), lanes, order, approval and tracker parity, the collector (cli/sprint-board/merge-collect.ts), its state and gotchas. Read when reading, operating or changing Merge Line.

Read references on demand — do not load them all upfront. Each file is self-contained.

Meegeleverde bestanden

Het model leest deze bestanden wanneer nodig terwijl de skill geladen is. Ze worden beschikbaar gesteld als leesbare bestanden en worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Git Flow Master?

End-to-end Git operator for any branching strategy. Auto-detects the project's strategy (solo-main, main+integration, enterprise multi-branch, trunk-based, GitFlow, GitHub Flow, GitLab Flow, SDET integration-trunk for chained test-automation suites) from .git config, branches, and the `git_strategy:` block in `.agents/project.yaml`, then adapts every commit, branch, push, PR, conflict-fix, and chained-PR action to that strategy. Use this skill whenever the user wants to: create a branch (`crear branch`, `new feature branch`, `start work on UPEX-123`), commit changes (`commit this`, `commite...

Waarom Git Flow Master gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Git Flow Master bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Git Flow Master in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/upex-galaxy/agentic-qa-boilerplate/tree/main/.agents/skills/git-flow-master. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Git Flow Master gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Git Flow Master gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Git Flow Master ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Git Flow Master gratis?

Ja. Deze skill is door upex-galaxy op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇