edit
/edit
Otwiera edytor dla bieżącego worktree: nvim w podzielonym panelu tmux, Herdr lub wskazany edytor, jak Zed, VS Code czy Cursor.
- Autor
- langri-sha ↗
- Repozytorium
- skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 13.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/edit.sh
Co robi i kiedy
Otwiera edytor dla bieżącego worktree: nvim w podzielonym panelu tmux, Herdr lub wskazany edytor, jak Zed, VS Code czy Cursor.
Oryginalny opis (EN)
Opens an editor on the current worktree: nvim in a split beside this agent's tmux, Herdr app or Herdr TUI pane, or a named editor such as zed, code or cursor as its own process. Use when asked to open the worktree in an editor. Not for watching the diff (critique).
Jak działa
- Workflow
Podgląd SKILL.md
---
name: edit
description: >-
Opens an editor on the current worktree: nvim in a split beside this agent's
tmux, Herdr app or Herdr TUI pane, or a named editor such as zed, code or
cursor as its own process. Use when asked to open the worktree in an editor.
Not for watching the diff (critique).
metadata:
author: langri-
version: '1.2.1'
---
# edit
Open an editor in the current worktree.
- **`/edit`** (no args) — open `nvim` in a right-hand tmux, Herdr app or Herdr
TUI split pane.
- **`/edit <command>`** — launch `<command> .` as a standalone process (e.g.
`/edit zed`, `/edit code`, `/edit cursor`).
## Workflow
`<skill-dir>` is this skill's directory. Run the script from the current
worktree: it opens the editor in its working directory.
### nvim in a split
With no argument:
```bash
bash <skill-dir>/scripts/edit.sh
```
It splits this agent's own pane to the right, in whichever of tmux, the Herdr
app or the Herdr TUI owns this agent's terminal, and starts nvim there. When
none does, it says so and exits 1; a named editor still works. A sandbox that
hides parent processes or a multiplexer's socket ends the same way, so rerun it
outside the sandbox. In the Herdr app the split does not move the user's focus
and needs the app window to be open; a failed split prints the app's
`{"error": …}` reply and exits 1. The tmux and Herdr app panes close when nvim
exits; the Herdr TUI pane keeps its shell.
Report the directory and, in the Herdr app, the new terminal's address, or in
the Herdr TUI, the new pane's ID.
### A named editor
The script runs without your shell's aliases, so expand an alias first, then
pass the command:
```bash
EDITOR_CMD=<arg>
[ "$(type -t "$EDITOR_CMD")" = alias ] && EDITOR_CMD=${BASH_ALIASES[$EDITOR_CMD]}
bash <skill-dir>/scripts/edit.sh $EDITOR_CMD
```
`$EDITOR_CMD` stays unquoted so an alias's flags split into arguments. The
script launches `<command> .` in the background, without needing a multiplexer,
and reports a launch that fails at once with its stderr.
Report the directory and the command launched.
Pliki w paczce (2)
- SKILL.md 2 KB
- scripts/edit.sh 3 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · langri-sha/skills | 95 | MIT |
| bankielewicz/mod-builder | 100 | MIT |
| JunLin615/os-optics-kit | 100 | MIT |
| jakeschincariol/master-skills | 100 | MIT |
| yyu0310/ai-slide-maker | 96 | MIT |
| gagoar/iceberg | 87 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 02bc23ab2064 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 95critique
Uruchamia obserwatora krytyki, który przegląda lokalne zmiany w podzielonym panelu tmux, Herdr lub Herdr TUI. - 95elate
Uruchamia równoległego agenta, Codex lub Claude Code, w podzielonym panelu tmux, Herdr lub Herdr TUI, z dopisanym kontekstem. - 100show-diff
Otwiera w tmux podział z diffview.nvim, by użytkownik mógł przejrzeć ostatnie zmiany agenta, zwłaszcza po nietrywialnych edycjach. - 100zed
Instaluje i konfiguruje edytor Zed: settings.json i keymap.json, formatery per język, dostawcy AI jak Anthropic i Ollama, współpraca z zespołem oraz pisanie rozszerzeń. - 95cursor
Steruje edytorem Cursor z linii poleceń: otwiera pliki, porównuje różnice, zarządza rozszerzeniami i ustawia Cursor jako edytor gita. - 100vibing-worktree-create
Tworzy w języku naturalnym izolowany obszar pracy oparty na git worktree dla bieżącego czatu vibing.nvim, bez osobnego interfejsu.