Git Commit
tisfeng/Easydict
起草、创建或汇报 Angular-style 本地 Git 提交。用于明确的提交交付;分支集成使用 worktree-rebase-merge,不 push。
Guides use of Worktrunk (wt), a CLI that makes git worktrees as easy as branches so several AI agents can work in parallel on isolated branches.
$ npx skills add jjmartres/opencode --skill worktrunk -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install jjmartres/opencode worktrunk --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/jjmartres/opencode.git skills-src && mkdir -p .claude/skills && cp -r skills-src/opencode/skills/worktrunk .claude/skills/worktrunk && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "worktrunk" agent skill from https://github.com/jjmartres/opencode/tree/main/opencode/skills/worktrunk into .claude/skills/worktrunk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "worktrunk", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/jjmartres/opencode/tree/main/opencode/skills/worktrunkType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add jjmartres/opencode --skill worktrunk -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install jjmartres/opencode worktrunk --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jjmartres/opencode.git skills-src && mkdir -p .agents/skills && cp -r skills-src/opencode/skills/worktrunk .agents/skills/worktrunk && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "worktrunk" agent skill from https://github.com/jjmartres/opencode/tree/main/opencode/skills/worktrunk into .agents/skills/worktrunk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "worktrunk", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jjmartres/opencode --skill worktrunk -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install jjmartres/opencode worktrunk --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jjmartres/opencode.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/opencode/skills/worktrunk .cursor/skills/worktrunk && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "worktrunk" agent skill from https://github.com/jjmartres/opencode/tree/main/opencode/skills/worktrunk into .cursor/skills/worktrunk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "worktrunk", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/jjmartres/opencode.git --path opencode/skills/worktrunk--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add jjmartres/opencode --skill worktrunk -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install jjmartres/opencode worktrunk --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jjmartres/opencode.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/opencode/skills/worktrunk .gemini/skills/worktrunk && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "worktrunk" agent skill from https://github.com/jjmartres/opencode/tree/main/opencode/skills/worktrunk into .gemini/skills/worktrunk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "worktrunk", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install jjmartres/opencode worktrunkInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add jjmartres/opencode --skill worktrunk -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/jjmartres/opencode.git skills-src && mkdir -p .github/skills && cp -r skills-src/opencode/skills/worktrunk .github/skills/worktrunk && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "worktrunk" agent skill from https://github.com/jjmartres/opencode/tree/main/opencode/skills/worktrunk into .github/skills/worktrunk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "worktrunk", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jjmartres/opencode --skill worktrunk -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install jjmartres/opencode worktrunk --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jjmartres/opencode.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/opencode/skills/worktrunk .opencode/skills/worktrunk && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "worktrunk" agent skill from https://github.com/jjmartres/opencode/tree/main/opencode/skills/worktrunk into .opencode/skills/worktrunk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "worktrunk", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
worktrunkGuides use of Worktrunk (wt), a CLI that makes git worktrees as easy as branches so several AI agents can work in parallel on isolated branches.
This skill covers Worktrunk, a command line tool for managing git worktrees, built to run coding agents such as Claude Code in parallel across isolated branches. It lists the core commands: wt switch --create to make a branch and worktree, with -x to launch Claude inside it, wt list for the status of every worktree, wt merge main to merge and clean up, wt remove, and wt step commit for staged changes.
Installation uses Homebrew on macOS and Linux plus wt config shell install, which is required so wt switch can change the shell's directory. Worktrees default to a sibling folder named after the repo and branch, and wt list marks the current one and shows staged and unstaged changes, ahead and behind counts, and whether Claude is working or waiting. Reference files cover the full command list and hooks, and the description adds wt.toml configuration, LLM commit messages and per-worktree setup of dev servers, databases and dependencies.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 28dc323. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
claudegitbrewcargowingetghFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
worktrunk.devFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Worktrunk Git Worktree Manager loads about 1.9k tokens when it runs, and up to ~3.6k if it reads all its reference files. Until then it costs about 151 tokens; SKILL.md has 418 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
env = "cp {{ primary_worktree_path }}/.env.local .env.local 2>/dev/null || true"Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from jjmartres/opencode at commit 28dc323, republished under its MIT licence (© jjmartres). 418 words, ~1,917 tokens.
.claude/skills/worktrunk/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Worktrunk (wt) is a CLI for git worktree management designed to run AI agents
(like Claude Code) in parallel across isolated branches. Think of it as making
git worktree as easy as git branch.
| Task | Command |
|---|---|
| Create worktree + switch | wt switch --create feat |
| Create worktree + launch Claude | wt switch --create feat -x claude |
| List all worktrees | wt list |
| Merge & clean up | wt merge main |
| Remove current worktree | wt remove |
| Commit staged changes | wt step commit |
# macOS/Linux (recommended)
brew install worktrunk && wt config shell install
# Cargo
cargo install worktrunk && wt config shell install
# Windows
winget install max-sixty.worktrunk
git-wt config shell installShell integration (wt config shell install) is required so that wt switch
can actually change the shell's directory.
wt switch --create feature-auth # New branch + worktree
wt switch --create feature-auth -x claude # + launch Claude in it
wt switch existing-branch # Switch to existing worktree
wt switch - # Previous worktreeWorktrees are placed at ../repo.branch-name by default (configurable).
wt list # All worktrees with status, commits, CI
wt list --full --branches # Include remote branches without worktrees
wt list --format=json # Machine-readable outputKey indicators in wt list:
@ = current worktree+ / - = staged / unstaged changes↑ / ↓ = ahead / behind remote⇡ / ⇣ = ahead / behind default branch🤖 = Claude is working (Claude Code plugin)💬 = Claude waiting for inputwt switch -x claude -c feature-a -- 'Add user authentication'
wt switch -x claude -c feature-b -- 'Fix the pagination bug'
wt switch -x claude -c feature-c -- 'Write tests for the API'-x / --execute runs a command after switching; arguments after -- are passed to it.
PR workflow:
wt step commit # Commit staged changes with optional LLM message
gh pr create # Open PR
wt remove # After PR mergedLocal merge (squash + rebase + fast-forward):
wt merge main
# Commits, rebases onto main, fast-forward merges, removes worktreeHooks automate worktree lifecycle events. Define in .config/wt.toml (project)
or ~/.config/worktrunk/config.toml (user/global).
See references/hooks.md for the full hook reference, template variables, and
common patterns (dev servers, databases, cold-start elimination).
| Hook | When | Blocking |
|---|---|---|
post-create | After creation | Yes (blocks --execute) |
post-start | After creation | No (background) |
post-switch | Every switch | No |
pre-commit | Before merge commit | Yes |
pre-merge | Before merge | Yes |
post-merge | After merge | Yes |
pre-remove | Before removal | Yes |
post-remove | After removal | No |
Eliminate cold starts (copy deps/caches/env from main):
[post-start]
copy = "wt step copy-ignored"Dev server per worktree (deterministic port from branch name):
[post-start]
server = "npm run dev -- --port {{ branch | hash_port }}"
[pre-remove]
server = "lsof -ti :{{ branch | hash_port }} -sTCP:LISTEN | xargs kill 2>/dev/null || true"Local CI gate (run tests before merge):
[pre-merge]
test = "npm test"
build = "npm run build"In hook commands (Jinja2 syntax):
| Variable | Value |
|---|---|
{{ branch }} | Branch name |
{{ repo }} | Repository directory name |
{{ worktree_path }} | Absolute path to this worktree |
{{ default_branch }} | Default branch name |
{{ target }} | Target branch (merge hooks only) |
| Filter | Example | Output |
|---|---|---|
sanitize | {{ branch | sanitize }} | / and \ → - |
sanitize_db | {{ branch | sanitize_db }} | DB-safe identifier |
hash_port | {{ branch | hash_port }} | Stable port 10000-19999 |
Generate commit messages from diffs:
wt step commit # Commit staged changes, generate message
wt step commit --all # Stage all + commitConfigure in ~/.config/worktrunk/config.toml:
[commit.generation]
model = "claude-opus-4-5" # or any supported model
provider = "anthropic"Install the plugin for activity tracking (🤖 / 💬 in wt list) and
configuration skill:
claude plugin marketplace add max-sixty/worktrunk
claude plugin install worktrunk@worktrunkAdd to ~/.claude/settings.json for statusline:
{
"statusLine": {
"type": "command",
"command": "wt list statusline --format=claude-code"
}
}Spawn agent handoffs directly into Zellij panes (great with your existing Zellij setup):
zellij run -- wt switch --create fix-auth -x claude -- \
'Fix the session timeout bug in auth module'Or use hooks for a full multi-pane layout per worktree:
# .config/wt.toml
[post-create]
zellij = """
zellij action new-tab --name {{ branch | sanitize }}
zellij action new-pane -- claude
"""For microservice's repos, a typical .config/wt.toml:
[post-create]
env = "cp {{ primary_worktree_path }}/.env.local .env.local 2>/dev/null || true"
[post-start]
copy = "wt step copy-ignored"
[pre-merge]
lint = "make lint"
test = "make test"
[post-merge]
notify = "echo '✓ Merged {{ branch }} → {{ target }}'"references/hooks.md — Complete hook documentation with all patternsreferences/commands.md — Full command reference (switch, list, merge, remove, step, config)© jjmartres, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in opencode/skills/worktrunk of jjmartres/opencode.
Open the folder on GitHubat commit 28dc323
Worktrunk Git Worktree Manager next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Worktrunk Git Worktree Manager this skilljjmartres/opencode | 133 | — | ~1.9k | Automated safety check: Notes | MIT | |
| Git Committisfeng/Easydict | 15k | — | ~535 | Automated safety check: Pass | GPL-3.0 | |
| Kanvibe Release Deployrookedsysc/kanvibe | 143 | — | ~12k | Automated safety check: Notes | AGPL-3.0 | |
| Worktree Rebase Mergetisfeng/Easydict | 15k | — | ~408 | Automated safety check: Pass | GPL-3.0 | |
| Conventional Gitsamber/cc-skills | 228 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Git PR Workflowandymai/brepjs | 114 | — | ~2.9k | Automated safety check: Pass | Apache-2.0 |
tisfeng/Easydict
起草、创建或汇报 Angular-style 本地 Git 提交。用于明确的提交交付;分支集成使用 worktree-rebase-merge,不 push。
rookedsysc/kanvibe
A skill your agent uses whenever releasing or deploying KanVibe desktop from a clean, up-to-date dev checkout: ask only for the target version and release-note approval, then let the AI update…
tisfeng/Easydict
将当前 worktree 的任务提交 rebase 到本地目标分支,并从目标 worktree 合并。用于明确要求本地集成;仅创建提交使用 git-commit。
samber/cc-skills
Conventional Commits v1.0.0 branch naming, worktree naming, and commit message standards for GitHub and GitLab projects.
andymai/brepjs
This skill should be used when committing, pushing, branching, or merging in the brepjs repository — when a task involves "pre-commit hook failed" (which tier ran, how to bypass), "commit rejected…
first-fluke/oh-my-agent
SCM (software configuration management) and Git — branching, merges, conflicts, worktrees, baselines, audit readiness, plus Conventional Commits and safe staging.
jjmartres/opencode
Helps an agent pick the right Mermaid diagram type and write the syntax for class, sequence, flow, ER, C4, state and other software diagrams.
jjmartres/opencode
Builds Marp slide decks in one of seven ready-made themes, using bundled templates plus syntax, image and style references to keep slides short and readable.
jjmartres/opencode
Lets an agent view, create, update and transition Jira issues in natural language, automatically choosing between the jira CLI and Atlassian MCP tools.
jjmartres/opencode
Applies Google Style documentation to Python docstrings, Go comments and Terraform descriptions, for writing new docs or reviewing existing ones.
jjmartres/opencode
A skill your agent uses when writing prose humans will read—documentation, commit messages, error messages, explanations, reports, or UI text.
jjmartres/opencode
A skill your agent uses whenever the user wants to install, configure, or use asdf (asdf-vm), the universal version manager.
Categories
Guides use of Worktrunk (wt), a CLI that makes git worktrees as easy as branches so several AI agents can work in parallel on isolated branches. This skill covers Worktrunk, a command line tool for managing git worktrees, built to run coding agents such as Claude Code in parallel across isolated branches. It lists the core commands: wt switch --create to make a branch and worktree, with -x to launch Claude inside it, wt list for the status of every worktree, wt merge main to merge and clean up, wt remove, and wt step commit for staged changes.
Worktrunk Git Worktree Manager fits situations like: running several agent sessions in parallel on separate git branches; setting up wt hooks or editing wt.toml; creating, listing, merging or removing worktrees with wt; automating dependency or dev server setup for every new worktree.
Run `npx skills add jjmartres/opencode --skill worktrunk -a claude-code`. Or copy the skill folder (opencode/skills/worktrunk in jjmartres/opencode) into .claude/skills/worktrunk in your project. Claude Code loads it when a task matches its description.
Run `npx skills add jjmartres/opencode --skill worktrunk -a codex`. Or copy the skill folder (opencode/skills/worktrunk in jjmartres/opencode) into .agents/skills/worktrunk in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jjmartres/opencode --skill worktrunk -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/worktrunk, .gemini/skills/worktrunk, .github/skills/worktrunk and .opencode/skills/worktrunk in your project.
Going by SKILL.md and its folder, Worktrunk Git Worktree Manager needs the command-line tools its instructions call (claude, git, brew, cargo, winget and gh). Our summary lists: Worktrunk (`wt`) installed, for example with Homebrew; Shell integration enabled with `wt config shell install`; Git.
SKILL.md names 1 domain. As links in the text: worktrunk.dev. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Worktrunk Git Worktree Manager is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Worktrunk Git Worktree Manager: Git Commit (tisfeng/Easydict, 15k stars), Kanvibe Release Deploy (rookedsysc/kanvibe, 143 stars), Worktree Rebase Merge (tisfeng/Easydict, 15k stars) and Conventional Git (samber/cc-skills, 228 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
jjmartres (a GitHub user) maintains it in jjmartres/opencode, which has 133 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on April 20, 2026.
Source: jjmartres/opencode on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.