소스 정보
- 저장소
- ahmedelgabri/dotfiles
- 최근 소스 활동
- 2026년 5월 9일 17:04
- 감지된 SKILL.md 언어
- 영어
- 스타
- 291
- 포크
- 18
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/ahmedelgabri/dotfiles --skill shannon명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | shannon |
| description | Interact with Neovim via RPC to annotate code, navigate files, and do walkthroughs |
| allowed-tools | ["Bash","Read","Glob","Grep"] |
When a prompt arrives from Shannon (indicated by a footer like
(Shannon prompt via Neovim server <addr>)), you have the ability to interact
with the user's Neovim session via RPC.
There are two ways to obtain the Neovim server address:
From a Shannon prompt — Shannon prompts include a footer of the form:
(Shannon prompt via Neovim server /path/to/socket)
Extract the server address from this footer.
Auto-discovery — if no Shannon prompt has been received yet, run the
discovery script. Below, $SKILL_DIR is the absolute path to the directory
containing this SKILL.md file; expand it to its absolute value before
running, since the current working directory is not guaranteed to be the
skill directory.
$SKILL_DIR/scripts/shannon-find-nvim.sh
This finds the Neovim instance running in a sibling tmux pane and prints its server socket path. It exits non-zero if no Neovim is found.
Use nvim --server <addr> --remote-expr '<expr>' to execute Vimscript or Lua in
the user's Neovim. For Lua, wrap with luaeval("...").
The Shannon plugin exposes private helper functions as individual modules for use by this skill. Each returns a single function. Prefer these over raw Neovim API calls.
Open a file (with optional 1-indexed line number):
nvim --server 'luaeval("require(\"wincent.shannon.private.open\")(\"path/to/file\")")' <addr >--remote-expr
nvim --server 'luaeval("require(\"wincent.shannon.private.open\")(\"path/to/file\", 42)")' <addr >--remote-expr
Jump to a line (1-indexed) in the current buffer:
nvim --server 'luaeval("require(\"wincent.shannon.private.jump\")(42)")' <addr >--remote-expr
Add virtual text annotation below a line (1-indexed):
nvim --server 'luaeval("require(\"wincent.shannon.private.annotate\")(42, \"text here\", \"DiagnosticInfo\")")' <addr >--remote-expr
The third argument is a highlight group. Use these to convey meaning:
DiagnosticInfo — informational annotations (blue)DiagnosticWarn — warnings (yellow)DiagnosticError — errors/issues (red)DiagnosticHint — hints/suggestions (green)If omitted, defaults to DiagnosticInfo.
Clear all Shannon annotations in current buffer:
nvim --server 'luaeval("vim.cmd.ShannonClearMarks()")' <addr >--remote-expr
Show a message in Neovim's command area:
nvim --server 'luaeval("vim.api.nvim_echo({{\"message\", \"WarningMsg\"}}, true, {})")' <addr >--remote-expr
Use RPC when:
The Shannon plugin provides the following commands, which can be invoked via RPC:
:ShannonNextMark — jump to the next Shannon extmark in the current buffer
(wraps around).:ShannonPreviousMark — jump to the previous Shannon extmark (wraps around).:ShannonClearMarks — clear all Shannon extmarks in the current buffer.After adding annotations, tell the user they can navigate between marks with
:ShannonNextMark / :ShannonPreviousMark (or their configured mappings). When
you are done with an annotation session and the user has finished reviewing,
clear the marks via RPC:
nvim --server 'luaeval("vim.cmd.ShannonClearMarks()")' <addr >--remote-expr
private.open first.--remote-expr call is synchronous and blocks until Neovim processes it.