pragma-show
/pragma-show
Pokazuje kod użytkownikowi w edytorze Pragma ADE: otwiera pliki na wskazanych liniach albo pokazuje zmiany i commity zamiast wklejania w czacie.
- Autor
- pragmataW ↗
- Repozytorium
- pragma-ade ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 07.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 07.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pokazuje kod użytkownikowi w edytorze Pragma ADE: otwiera pliki na wskazanych liniach albo pokazuje zmiany i commity zamiast wklejania w czacie.
Wyzwalacze z opisu
Oryginalny opis (EN)
Show code to the user inside Pragma ADE instead of pasting it into the chat: open files at exact lines in Pragma's editor, show a changed file in the Git Changes tab, or show a commit there, with the `pragma show` CLI. Use when working inside Pragma ADE and the user asks to see code, e.g. "show me the X code", "open X in the editor", "where is X? show me", "show the diff of X", "show what commit Y changed", "X kodunu göster", "bana şu fonksiyonu aç", "editörde aç", "diff'i göster", "commit'teki değişikliği göster". For the other `pragma` commands see pragma-cli.
Jak działa
- Steps
- When it fails
- Limits
Podgląd SKILL.md
---
name: pragma-show
description: >-
Show code to the user inside Pragma ADE instead of pasting it into the chat: open files at exact lines in Pragma's
editor, show a changed file in the Git Changes tab, or show a commit there, with the `pragma show` CLI. Use when
working inside Pragma ADE and the user asks to see code, e.g. "show me the X code", "open X in the editor", "where is
X? show me", "show the diff of X", "show what commit Y changed", "X kodunu göster", "bana şu fonksiyonu aç",
"editörde aç", "diff'i göster", "commit'teki değişikliği göster". For the other `pragma` commands see pragma-cli.
---
# Show code in Pragma
When the user asks to see code, open it in Pragma ADE with `pragma show` rather than pasting
long code into the chat. Pragma selects the worktree, switches the right panel to the editor
(Files tab) or Git Changes, and highlights the lines.
`pragma` is on `PATH` for agents started by Pragma (else use `"$PRAGMA_CLI"`). Add `--json`
for one JSON document (`{"ok":true,"result":…}` / `{"ok":false,"error":…}`).
## Steps
1. Find the exact file and lines first: search and read the code. Never guess line numbers.
2. Open it:
- Code as it is now: `pragma show file <path>:<start>-<end>`
(`path`, `path:line`, `path:line-endLine`, `path:line:column`). Pass several locations in
one call to open several editor tabs, e.g.
`pragma show file src/auth.ts:40-62 src/db.ts:10`.
- The same file at two places: name it twice in one call
(`pragma show file src/a.ts:10-20 src/a.ts:200-230`); the second place opens beside the
first (split editor). `--split` opens every location after the first beside.
- Uncommitted or branch changes of a file: `pragma show diff <path>[:line]` (Git Changes tab).
- What a commit changed: `pragma show commit <rev> <path>[:line] …` (the commit in the Git
Changes tab, parent ↔ commit, at that file and line; the editor's diff when Git Changes is
disabled). `<rev>` is a sha, `HEAD~2`, a tag, …
3. Answer in the chat with one short sentence per location (what the user is looking at and
why it matters). Quote at most a few lines when needed.
Paths are relative to your current directory inside the worktree (or absolute); `--worktree
<id>` picks another worktree. At most 10 locations per call.
## When it fails
- `not_found`: the file does not exist (or not in that commit); `show diff` also answers this
for a file without changes, `show commit` for a file the commit did not change — use
`pragma show file` then.
- `invalid_argument`: a line past the end of the file, a path outside the worktree, a
directory, or (only when Git Changes is disabled) a root commit. For `show diff` and
`show commit`: the line is not in the file's diff (past its end, or a binary or too large
file); Git Changes still shows the file — use `pragma show file <path>:<line>` for that line.
- `timeout`: the editor is still starting (the first start may download it). It opens the
file once ready; tell the user, and run the command again later for the remaining locations.
For `show diff` / `show commit`: Git Changes shows the file but did not bring the line into view in time;
run the command again.
- `module_unavailable` (editor or Git Changes disabled) or exit code `3` (Pragma not
running): quote a short snippet in the chat instead.
## Limits
- Git Changes shows one file at a time; `show diff` takes one location, and of several
`show commit` locations the last one stays shown (the others are in the commit's file list).
- A file that is already open is revealed again in its tab when a later call names it; only
repeats within one call (or `--split`) open beside.
- It switches the selected worktree and the right panel, so use it only when the user wants
to see code, not on your own initiative.
Wersje
W bazie nie ma innych skilli o nazwie pragma-show.
Migawka bazy z 13.11.2026 · wersja paczki ae660451bcd9 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 3 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100pragma-cli
Obsługuje CLI Pragma ADE: worktree, sesje agentów, zadania na tablicy, wątki review, transkrypty i pokazywanie kodu w edytorze. - 95pragma-walkthrough
Wyjaśnia zmiany w kodzie jako krok po kroku przewodnik w zakładce Walkthrough w Pragma ADE, z publikacją przez CLI. - 100sqlite
Wspiera pracę z wbudowaną bazą SQLite: tryb WAL, strojenie PRAGMA, wyszukiwanie pełnotekstowe FTS5 i współbieżność, dla aplikacji desktopowych, mobilnych i systemów wbudowanych. - 100git-commit
Dzieli zmiany na osobne commity, dobiera pliki do stage'u i pisze wiadomość Conventional Commits, potem wykonuje commit. - 100git-commit
Rozdziela zmiany na powiązane commity, dobiera pliki do stage'u i zapisuje wiadomość w formacie Conventional Commits. - 100maestri-bridge
Pokazuje kod użytkownikowi w jego edytorze przez rozszerzenie Maestri Bridge: otwiera plik, zaznacza linie i zostawia notatkę.