Skip to content
Skills Library
Programming · Testing

merge

/merge

UAT a feature branch and merge it into dev. Use when: ready to merge a feature branch, want to verify changes before merging, or bringing worktree work into dev.

Repository
EZVals ↗
Licence
MIT
Last repository change
27.09.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

UAT a feature branch and merge it into dev. Use when: ready to merge a feature branch, want to verify changes before merging, or bringing worktree work into dev.

Original author description

UAT a feature branch and merge it into dev. Use when: ready to merge a feature branch, want to verify changes before merging, or bringing worktree work into dev.

How it works

  1. 1. Handle Worktree (If Applicable)
  2. 2. Checkout and Rebase onto Dev
  3. 3. Analyze Branch Changes
  4. 4. UAT Based on What Changed
  5. 5. Report UAT Results
  6. 6. Squash Merge Into Dev (If UAT Passes)
  7. Error Handling
Original SKILL.md headings · 96 lines, 537 words
SKILL.md preview
---
name: merge
description: "UAT a feature branch and merge it into dev. Use when: ready to merge a feature branch, want to verify changes before merging, or bringing worktree work into dev."
---

**Arguments:** The feature branch name to UAT and merge into dev.

Assumes tests already passed during `/prepare-merge`. No need to re-run them.

Follow these steps in order:

## 1. Handle Worktree (If Applicable)

Run `git worktree list` to check if the branch is checked out in a worktree.

If it is (e.g. at `~/.claude-worktrees/<repo>/<branch>`):
- Remove it: `git worktree remove <worktree-path>`
- The branch is now free to check out normally

## 2. Checkout and Rebase onto Dev

The feature branch may be out of date. Rebase onto dev first so UAT runs against the current state and the diff only reflects the feature's actual changes.

```bash
git checkout <branch>
git rebase dev
uv sync
```

If the rebase has conflicts, abort (`git rebase --abort`), report the conflicts, and STOP. The user resolves manually then re-runs `/merge`.

## 3. Analyze Branch Changes

- Run `git diff dev..<branch> --stat` to see changed files
- Run `git log dev..<branch> --oneline` to see commits
- Read key changed files to understand what was implemented
- Categorize changes:
  - **CLI / storage**: `cmd/ezvals/main.go`, `store.go`, `worker.go`, `export.go`
  - **UI**: `ui/`, `cmd/ezvals/server.go`
  - **SDKs**: `python/ezvals/`, `typescript/src/`
  - **Docs/Tests only**: `docs/`, `*_test.go`, `python/tests/`, `typescript/test/`, `conformance/`, `e2e/`, `README.md`

## 4. UAT Based on What Changed

Consult the relevant spec in `docs/.spec/` for expected behavior.

### If CLI changes detected:
- Run `make build && uv run --project python ezvals run examples --verbose` and verify the output looks correct
- If specific CLI flags were added or changed, test those explicitly
- Verify exit code is 0

### If UI changes detected:
- Build frontend if source changed: `cd frontend && npm ci && npm run build && cd ..`
- Start the server with auto-run: `uv run --project python ezvals serve examples --session merge-uat --run`
- Write and execute Playwright scripts to verify the changes:
  - Use `sync_playwright()` with headless chromium
  - Wait for `networkidle` before inspecting
  - Take screenshots as evidence
  - Check behavior against `docs/.spec/EXPERIENCE_SPEC_WEBUI.md`
- Kill the server when done

### If Python API changes detected:
- Run `uv run --project python ezvals run examples` to verify evals still work
- If new decorator options or context methods were added, verify the examples exercise them

### If docs/tests only:
- Skim the changes, confirm they look reasonable
- No active UAT needed

## 5. Report UAT Results

Summarize:
- What was tested
- What passed
- Any issues or spec deviations found
- Screenshots if UI was tested

## 6. Squash Merge Into Dev (If UAT Passes)

```bash
git merge --squash <branch>
git commit -m "<concise summary of the feature>"
```

Use a concise commit message in lowercase imperative mood (e.g. "add export feature", "fix context bug").

Then delete the merged branch:

```bash
git branch -d <branch>
```

If the merged branch was associated with a GitHub issue, move the issue to **Done** on the project board. See the "GitHub Projects Workflow" section in CLAUDE.local.md for the `gh` commands and option IDs.

## Error Handling

- If UAT fails or something looks wrong: STOP, report findings, `git checkout dev`, do NOT merge
- If rebase conflicts: abort rebase, report conflicting files, STOP
- If worktree removal fails: stop and ask for help

Versions

RepositoryScoreLicence
This page · camronh/EZVals100MIT
dkarter/dotfiles100MIT
ek33450505/claude-agent-team100MIT
remotion-dev/remotion100MIT
mnabaci/Roastpilot100GPL-3.0
alirezarezvani/claude-skills100MIT
rhiza-research/weather-skills100MIT
mo-cmyk/mazarbul100Apache-2.0
yuvasee/samocode100MIT

Database snapshot: 13.11.2026 · package version c969b0f9b107 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 4 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100speclink-worktree-merge
    Use when a worktree change is committed and ready to land — merges the branch back into the main branch, then cleans the worktree up.
  • 100git-merge
    MUST USE for merging branches. Feature branch into mainline, dev into mainline, release merges. Triggers: 'merge', 'merge branch', 'merge into mainline', 'release merge', 'merge dev'.
  • 100uat-testing
    End-to-end User Acceptance Testing for web applications. Analyzes branch changes and specs to generate exhaustive test cases, sets up the local environment, executes tests via Playwright browser automation, and produces a pass/fail results report with screenshots and fix…
  • 100sync
    Fetch the latest upstream branch and merge it into the current branch, in the pitwall repo — feature branches (`dev-<feature>`) sync from `dev`, and `dev` itself syncs from `master`. Stages the merge, walks through any conflicts interactively, then creates the merge commit…
  • 95worktree-merge
    Run the fail-closed four-gate worktree merge and locked rebase reintegration. Use when a completed forge worktree is ready to return to the repository's default branch.
  • 100merge-up
    Use when the user is inside a parallel stream (worktree branch) and wants to merge that branch's committed work into the parent branch it was created from, then bring the stream back up to date with the parent. True merge (keeps individual commits); prompts before pushing the…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.