GitWand CLAUDE.md

Project instructions for GitWand, a desktop Git client built with Tauri, Vue, Rust, and TypeScript in a monorepo—a repository that contains multiple related packages and apps.

In plain words
What is it for?
Use them when developing GitWand, changing its apps or packages, updating versions, or working with its documentation, scripts, and continuous-integration setup.
Why use it?
They explain the repository structure, shared versioning rules, development requirements, and separation between the desktop app, core engine, command-line tool, server, and VS Code extension.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/devlint/gitwand/claude-md
Clone the repo
git clone --depth 1 https://github.com/devlint/GitWand
Per session 1,141 This file is loaded in full into every session.
When invoked 1,141 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01141 $0.01141
Opus 5 $0.00571 $0.00571
Sonnet 5 $0.00228 $0.00228
Haiku 4.5 $0.00114 $0.00114

Measured 2d ago against content hash 91b8efed5e72, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

GitWand CLAUDE.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

**Règle critique :** ne jamais introduire de module Node.js dans `packages/core` (fs, path, child_process, etc.).
CLAUDE.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

@AGENTS.md

GitWand — Vue d'ensemble

GitWand est un client Git desktop natif avec un moteur de résolution automatique de conflits Git et des features AI intégrées.

Stack technique : Tauri 2, Vue 3, Rust, TypeScript, pnpm monorepo

Versions : apps/desktop, packages/core, packages/cli et packages/mcp sont versionnés en lock-step par ./scripts/bump-version.sh — leur numéro de version courant est donc toujours identique et se lit dans packages/core/package.json (source de vérité unique ; ne pas recopier un chiffre ici, il dérive dès le bump suivant). packages/vscode (gitwand-vscode) est versionné indépendamment — voir son propre package.json.

Architecture monorepo

GitWand/
├── apps/
│   └── desktop/          # App Tauri 2 + Vue 3
├── packages/
│   ├── core/             # Moteur TS résolution conflits
│   ├── cli/              # CLI Node.js @gitwand/cli
│   ├── mcp/              # Serveur MCP @gitwand/mcp
│   └── vscode/           # Extension VS Code
├── website/              # Docs VitePress
├── scripts/
│   └── bump-version.sh   # Script de versioning
├── .github/workflows/    # CI/CD
└── AGENTS.md             # Règles AI transverses

Séparation des responsabilités

  • packages/core — moteur portable (browser/Node/Tauri), logique de résolution PURE. Aucune dépendance Node.js native : doit rester compatible browser.
  • apps/desktop — UI Vue 3 + backend Rust Tauri. Consomme @gitwand/core via workspace.
  • packages/cli et packages/mcp — wrappers minces autour de @gitwand/core, pas de logique de résolution propre.
  • packages/vscode — extension VS Code avec son propre lifecycle (activation events, contributes), utilise @gitwand/core.

Règle critique : ne jamais introduire de module Node.js dans packages/core (fs, path, child_process, etc.).

Setup développement

# Prérequis : Node 22.13+, pnpm 11+, Rust stable
pnpm install

# Dev frontend uniquement (sans Rust/Tauri)
cd apps/desktop && pnpm dev:web

# Dev app complète (avec Rust/Tauri, recompile le backend)
cd apps/desktop && pnpm dev

# Build tous les workspaces
pnpm build

# Tests tous les workspaces
pnpm test

Read the full file on GitHub · 96 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 96 lines · 1,141 tokens per session scan A 91b8efed5e72

Subscribe to this mod's changes

GitWand CLAUDE.md is an instructions file published in the GitHub repository devlint/GitWand (167 stars, last pushed 4d ago), licensed MIT. It adds 1,141 tokens to every session, about $0.0057 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.