{"enrichment":{"faq":[{"a":"Worktrunk enables parallel AI agent execution by creating isolated git worktrees for each agent session. Each worktree operates on its own branch with a dedicated environment, preventing conflicts. Launch agents simultaneously across these isolated branches, and worktrunk manages their lifecycle\u2014setup, execution, and cleanup\u2014through automated hooks and deterministic port allocation via hash-based addressing.","q":"How do I use worktrunk to run multiple AI agents in parallel?"},{"a":"Worktrunk provides streamlined commands: `wt switch` creates and switches to feature branches, `wt list` shows worktree status, `wt step commit` generates LLM commit messages from staged changes, and `wt remove` cleans up worktrees. These commands make git worktree management as easy as git branch operations, with simplified syntax replacing verbose git worktree calls.","q":"What are the main worktrunk CLI commands?"},{"a":"Worktrunk supports lifecycle hooks (post-create, pre-merge) configured in wt.toml. Define post-create hooks to auto-start dev servers or run database migrations per worktree. Pre-merge hooks handle cleanup. This automation eliminates cold starts and ensures each worktree has its own isolated environment with deterministic port allocation, enabling seamless parallel development.","q":"How do I set up wt hooks for dev server and database automation?"},{"a":"Yes. Worktrunk integrates with Claude Code for worktree-aware agent sessions and activity tracking. Use `wt step commit` to generate LLM commit messages directly from staged changes. The Claude Code plugin leverages worktrunk's branch isolation and environment management, enabling agents to work autonomously within their worktree context with automatic commit generation.","q":"Can worktrunk integrate with Claude Code and generate commit messages?"},{"a":"Worktrunk's merge workflow integrates pre-merge hooks to run cleanup tasks before integration. After merging changes back to main, use `wt remove` to clean up the worktree. This ensures deterministic teardown of isolated environments, port releases, and database cleanup. The workflow maintains repository hygiene while preserving agent session history and commit integrity.","q":"What is the wt merge and cleanup workflow?"},{"a":"Yes. Worktrunk integrates with Zellij to enable seamless agent handoffs across worktree sessions. This allows agents to coordinate work across isolated branches within a unified terminal multiplexer, improving visibility and control over parallel AI agent execution while maintaining environment isolation per worktree.","q":"Does worktrunk support Zellij integration for agent handoffs?"}],"shadow_tags":["parallel-development","branch-isolation","ai-agent-orchestration","dev-automation","worktree-lifecycle","multi-session-workflow","git-enhancement","llm-integration"],"summary_rewrite":"Worktrunk is a CLI that streamlines git worktree management, making it as straightforward as branching. Launch multiple AI agents in parallel across isolated branches, each with its own environment, and automate setup through hooks for dev servers, databases, and dependencies. Features include LLM-generated commit messages, Claude Code integration, and Zellij support for seamless agent handoffs."},"files":[{"bytes":7694,"path":"opencode/skills/worktrunk/SKILL.md","sha256":"b76c420bb1bbf3182c3d56366977d6941aa0aa7409aedbb5a1c6f30548420100","url":"https://skillfed.io/files/jjmartres/opencode/worktrunk/6848f6eb/SKILL.md"}],"id":"jjmartres/opencode/worktrunk","links":{"html":"https://skillfed.io/jjmartres/opencode/worktrunk","md":"https://skillfed.io/jjmartres/opencode/worktrunk.md","repo":"https://github.com/jjmartres/opencode"},"meta":{"agents_supported":["opencode"],"first_seen":"2026-07-28","forks":15,"language":"Python","last_updated":"2026-04-20","license":"MIT","name":"worktrunk","publisher":"jjmartres","stars":133},"relations":{"similar":[{"id":"max-sixty/worktrunk/worktrunk"},{"id":"max-sixty/worktrunk/writing-user-outputs"},{"id":"max-sixty/worktrunk/wt-switch-create"},{"id":"max-sixty/worktrunk/running-tend"},{"id":"alfredolopez80/multi-agent-ralph-loop/worktree-pr"},{"id":"max-sixty/worktrunk/release"},{"id":"llama-farm/llamafarm/wt"},{"id":"julianobarbosa/claude-code-skills/git-worktree"},{"id":"FlorianBruniaux/claude-code-ultimate-guide/git-worktree-clean"},{"id":"johnlindquist/claude/worktree"}]},"slug":{"owner":"jjmartres","repo":"opencode","skill":"worktrunk"},"version":"6848f6eb"}
