Files
agent-skills/commands/merge.md
T
naps62 f83a247de3 init: centralized agent skills for Claude Code + Codex
- skills/ shared by both tools (open Agent Skills standard)
- portable cross-skill refs (root-relative, no ~/.claude hardcode)
- bin/link.sh bootstrap for non-Nix machines
- nix/home.nix + flake.nix for home-manager

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014SK5Lo7LQfwLRVdCv1A8uF
2026-07-24 17:59:44 +00:00

602 B

Merge a branch from the worktree. If you're currently working on a worktree, assume that's the one I'm referring to.

Start by committing any staged and unstaged changes. I may have made changes to the worktree manually. Then merge back the new main branch, since I may have made changes to it.

Language specific:

Rust

Ensure cargo check is happy. Ensure clippy is happy. clean up any new warnings.

Typescript

Ensure tsc is happy.

Finally

Use gh pr merge --squash to merge the PR server-side (so GitHub marks it as "merged", not "closed"). Then delete the local worktree and branch.