Skip to content
Back to skills

Weave

ASecurity

Entity-level merge with weave. Use when setting up weave, previewing merges, reducing false Git conflicts, or validating merge-driver behavior.

  • 81 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 8, 2026
toolsbashgit

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add edmundmiller/dotfiles --skill weave --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Weave?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Weave
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/edmundmiller-weave/badge)](https://www.skillsdirectory.com/skills/edmundmiller-weave)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: weave
description: >
  Entity-level merge with weave. Use when setting up weave, previewing merges,
  reducing false Git conflicts, or validating merge-driver behavior.
license: MIT
metadata:
  version: "0.1.0"
---

# weave Skill

Use weave when Git line-conflicts are noisy but edits are logically independent.

## When to use

- "set up weave"
- "weave setup"
- "preview this merge"
- "why did git conflict on different functions"
- "test merge driver"

## Quick commands

```bash
# Configure current repo
weave setup

# Preview merge quality before merging
weave preview <branch>

# Execute merge (after setup, git uses weave driver)
git merge <branch>

# Optional: inspect CRDT state if using claims
weave status
```

## Validation checklist

```bash
# 1) binaries present
command -v weave weave-driver weave-mcp

# 2) repo config present
git config --local --get-regexp '^merge\.weave\.'

# 3) attributes include merge=weave
grep -n 'merge=weave' .gitattributes
```

Expected config:

```bash
merge.weave.name Entity-level semantic merge
merge.weave.driver weave-driver %O %A %B %L %P
```

## Fast regression test (temp repo)

```bash
tmpdir=$(mktemp -d) && cd "$tmpdir"
git init -q
git config user.name test && git config user.email test@example.com
cat > lib.ts <<'EOF'
export function a(x:number){ return x*2 }
export function b(s:string){ return s.length>0 }
EOF
git add lib.ts && git commit -qm base
weave setup >/dev/null

git checkout -qb left
perl -0pi -e 's/x\*2/x*3+1/' lib.ts
git commit -am left -q

git checkout -q @{-1}
git checkout -qb right
perl -0pi -e 's/s\.length>0/s.trim().length>0/' lib.ts
git commit -am right -q

git checkout -q left
git merge --no-ff right
```

Pass condition: merge completes and `git ls-files -u` is empty.

## Notes

- `weave setup` updates `.gitattributes` and local git merge-driver config.
- Keep driver command as `weave-driver ...` (PATH-resolved) to avoid stale nix-store paths.
- For AI tooling, `weave-mcp` is available; wire into your MCP client as needed.
- Troubleshooting: `references/troubleshooting.md`

Files in this skill

  • SKILL.md2 KB
  • references/troubleshooting.md1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.