worktree-resolve
SolidResolve and merge git worktrees after swarm completion
AI & Automation 15 stars
3 forks Updated today MIT
Install
Quality Score: 83/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Worktree Resolution
**Recommended model tier:** balanced (sonnet) - this skill performs straightforward operations
Merge all swarm worktrees back into the main branch after testing.
## Workflow
### 1. List Active Worktrees
```bash
git worktree list
```
Check the AIDE worktree state file for metadata and status:
```bash
cat .aide/state/worktrees.json
```
**Worktree Status Values:**
- `active` - Agent is still working on this worktree
- `agent-complete` - Agent finished, ready for merge review
- `merged` - Successfully merged to main
**Only merge worktrees with status `agent-complete`.**
Example state file:
```json
{
"active": [
{
"name": "story-auth",
"path": ".aide/worktrees/story-auth",
"branch": "feat/story-auth",
"taskId": "story-auth",
"agentId": "agent-auth",
"status": "agent-complete",
"createdAt": "2026-02-07T...",
"completedAt": "2026-02-07T..."
}
],
"baseBranch": "main"
}
```
### 2. For Each Worktree Branch
Run these steps for every `feat/*` branch from swarm:
#### a) Test the Branch
```bash
# Checkout the worktree
cd .aide/worktrees/<name>
# Run tests
npm test # or appropriate test command
# Run linting
npm run lint # or appropriate lint command
# Check build
npm run build # if applicable
```
#### b) Review Changes
```bash
# Back in main repo
git log main..feat/<name> --oneline
git diff main...feat/<name> --stat
```
#### c) Check Merge Compatibility
```bash
# Dry-run merge chec...
Details
- Author
- jmylchreest
- Repository
- jmylchreest/aide
- Created
- 5 months ago
- Last Updated
- today
- Language
- Go
- License
- MIT
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
Code & Development Solid
merge-worktree
Squash-merge the current worktree branch into the main branch (or a specified target). Analyzes git history and source code to craft a comprehensive commit message.
11 Updated 4 days ago
HyperAITeam AI & Automation Listed
coordinate-worktrees
Use when the user asks to coordinate, consolidate, merge, salvage, or land work from multiple branches or Git worktrees, especially when they are dirty, overlapping, stale, or being used by concurrent agents.
2 Updated 5 days ago
YosefHayim Code & Development Listed
worktree-support
Canonical worktree path resolution and discovery algorithm for agents and commands
17 Updated 2 days ago
dean0x