Pandoc DOCX Template
Achuan-2/pandoc_docx_template
A skill your agent uses when converting Markdown to Word DOCX or DOCX back to Markdown with Pandoc, especially when the output should use the bundled Chinese Word reference templates, heading…
This skill should be used when the user asks to write property-based tests, PBT, or pseudo property-based tests for a Neovim plugin using the MiniTest (mini.test) framework in Lua.
$ npx skills add kokusenz/deltaview.nvim --skill minitest-pbt-lua -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install kokusenz/deltaview.nvim minitest-pbt-lua --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/kokusenz/deltaview.nvim.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/minitest-pbt-lua .claude/skills/minitest-pbt-lua && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "minitest-pbt-lua" agent skill from https://github.com/kokusenz/deltaview.nvim/tree/main/.claude/skills/minitest-pbt-lua into .claude/skills/minitest-pbt-lua/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "minitest-pbt-lua", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/kokusenz/deltaview.nvim/tree/main/.claude/skills/minitest-pbt-luaType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add kokusenz/deltaview.nvim --skill minitest-pbt-lua -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install kokusenz/deltaview.nvim minitest-pbt-lua --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kokusenz/deltaview.nvim.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/minitest-pbt-lua .agents/skills/minitest-pbt-lua && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "minitest-pbt-lua" agent skill from https://github.com/kokusenz/deltaview.nvim/tree/main/.claude/skills/minitest-pbt-lua into .agents/skills/minitest-pbt-lua/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "minitest-pbt-lua", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kokusenz/deltaview.nvim --skill minitest-pbt-lua -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install kokusenz/deltaview.nvim minitest-pbt-lua --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kokusenz/deltaview.nvim.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/minitest-pbt-lua .cursor/skills/minitest-pbt-lua && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "minitest-pbt-lua" agent skill from https://github.com/kokusenz/deltaview.nvim/tree/main/.claude/skills/minitest-pbt-lua into .cursor/skills/minitest-pbt-lua/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "minitest-pbt-lua", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/kokusenz/deltaview.nvim.git --path .claude/skills/minitest-pbt-lua--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add kokusenz/deltaview.nvim --skill minitest-pbt-lua -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install kokusenz/deltaview.nvim minitest-pbt-lua --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kokusenz/deltaview.nvim.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/minitest-pbt-lua .gemini/skills/minitest-pbt-lua && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "minitest-pbt-lua" agent skill from https://github.com/kokusenz/deltaview.nvim/tree/main/.claude/skills/minitest-pbt-lua into .gemini/skills/minitest-pbt-lua/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "minitest-pbt-lua", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install kokusenz/deltaview.nvim minitest-pbt-luaInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add kokusenz/deltaview.nvim --skill minitest-pbt-lua -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/kokusenz/deltaview.nvim.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/minitest-pbt-lua .github/skills/minitest-pbt-lua && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "minitest-pbt-lua" agent skill from https://github.com/kokusenz/deltaview.nvim/tree/main/.claude/skills/minitest-pbt-lua into .github/skills/minitest-pbt-lua/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "minitest-pbt-lua", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kokusenz/deltaview.nvim --skill minitest-pbt-lua -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install kokusenz/deltaview.nvim minitest-pbt-lua --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kokusenz/deltaview.nvim.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/minitest-pbt-lua .opencode/skills/minitest-pbt-lua && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "minitest-pbt-lua" agent skill from https://github.com/kokusenz/deltaview.nvim/tree/main/.claude/skills/minitest-pbt-lua into .opencode/skills/minitest-pbt-lua/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "minitest-pbt-lua", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
minitest-pbt-luaThis skill should be used when the user asks to write property-based tests, PBT, or pseudo property-based tests for a Neovim plugin using the MiniTest (mini.test) framework in Lua.
Minitest Pbt Lua is an agent skill from kokusenz/deltaview.nvim. This skill should be used when the user asks to write property-based tests, PBT, or pseudo property-based tests for a Neovim plugin using the MiniTest (mini.test) framework in Lua. Use when the user says things like "add property tests", "write a PBT for", "property based test for", "mini.test property", or "fuzz inputs for".
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with Lua. The repository describes itself as: inline/unified diff view in neovim with delta highlighting. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 3893d56. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are lua).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Minitest Pbt Lua loads about 2.6k tokens when it runs. Until then it costs about 86 tokens; SKILL.md has 604 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from kokusenz/deltaview.nvim at commit 3893d56, republished under its MIT licence (© kokusenz). 604 words, ~2,576 tokens.
.claude/skills/minitest-pbt-lua/SKILL.md (or your agent's skills folder).A pattern for writing pseudo property-based tests (PBT) in Lua using mini.test, where test cases are curated hard-coded inputs iterated exhaustively against one or more properties. This is not a true PBT framework — there is no random generation — but it achieves the same goal: separating what inputs to test from what to assert.
Split the test into three concerns:
Properties and cases are combined in a nested loop: every property runs against every case.
-- ─────────────────────────────────────────────────────────────────
-- function_name() - property based tests
local FunctionName = {}
-- Input generator: returns a list of inputs to iterate in the property
FunctionName.get_inputs = function(buf_contents) ... end
-- Property cases: each case defines a distinct data shape / scenario
--- @class function_name__property_cases
FunctionName.function_name__property_cases = {
{ name = '...', buf_contents = {...}, get_inputs = FunctionName.get_inputs, ... },
{ name = '...', buf_contents = {...}, get_inputs = FunctionName.get_inputs, ... },
}
-- Properties: each is a Lua string that returns true/false when evaluated in child neovim
FunctionName.properties = {}
FunctionName.properties.property_name = [[(function() ... return true end)()]]
-- Test loop: cross-product of properties × cases
T['function_name() properties'] = new_set()
for func_name, func in pairs(FunctionName.properties) do
for _, case in ipairs(FunctionName.function_name__property_cases) do
T['function_name() properties'][func_name .. ': ' .. case.name] = function()
-- pass inputs into child neovim via _G.fixture
child.lua([[_G.fixture.inputs = ...]], { case.get_inputs(case.buf_contents) })
-- set up buffer in child neovim
child.lua([[
local bufnr = vim.api.nvim_create_buf(true, true)
vim.api.nvim_buf_set_lines(bufnr, 0, -1, false, ...)
vim.api.nvim_set_current_buf(bufnr)
_G.fixture.bufnr = bufnr
_G.fixture.winnr = vim.api.nvim_get_current_win()
]], { case.buf_contents })
-- pass any additional fixture data
child.lua([[vim.b[_G.fixture.bufnr].some_data = ...]], { case.some_data })
local result = child.lua_get(func)
eq(result, true)
end
end
endGenerate inputs exhaustively, including boundary and invalid values. The assume pattern (see below) filters out invalid combinations inside the property.
-- Cursor-style: every (row, col) in the buffer, including zero-indexed cols
FunctionName.get_cursors_set = function(buf_contents)
local set = {}
for i, v in ipairs(buf_contents) do
for j = 1, #v do
table.insert(set, { i, j - 1 })
end
end
return set
end
-- Numeric inputs: sweep a range including below-zero and beyond-max edge cases
FunctionName.get_inputs = function(buf_contents)
local set = {}
for winline = -1, #buf_contents + 1 do
for row, line in ipairs(buf_contents) do
for col = -1, #line + 1 do
table.insert(set, { target_row = row, target_col = col, og_winline = winline })
end
end
end
-- extreme edge cases
table.insert(set, { target_row = 9999, target_col = 9999, og_winline = 9999 })
table.insert(set, { target_row = -9999, target_col = -9999, og_winline = -9999 })
return set
endProperties are Lua strings ([[(function() ... end)()]]) evaluated in the child neovim via child.lua_get. They must return true (pass) or false (fail). They read from _G.fixture which was populated by the test loop before evaluation.
FunctionName.properties.property_name = [[(function()
local inputs = _G.fixture.inputs
local bufnr = _G.fixture.bufnr
local winnr = _G.fixture.winnr
for _, input in ipairs(inputs) do
-- [assume] skip invalid inputs vacuously
if input.value < 0 then goto continue end
-- call the function under test
M.some_function(bufnr, winnr, input.value)
-- assert the property
local actual = vim.api.nvim_win_get_cursor(winnr)
if actual[1] ~= input.expected_row then return false end
::continue::
end
return true
end)()]]Use goto continue + ::continue:: to skip inputs that violate preconditions (analogous to assume/guard in real PBT frameworks). This makes the property vacuously true for those inputs rather than failing.
For single-value properties (no loop), use an early return true:
if precondition_not_met then return true endMock functions that:
vim.api.nvim_echo, vim.defer_fn, vim.cmd for file opens)M that the function under test calls but you want to isolate (M.setup_something, M.set_restview)M.get_cursor_placement_current_buffer)Do not mock native Neovim/Vim API functions (vim.api.*, vim.fn.*). These are the ground truth of the running environment. Mocking them undermines the value of the test. Let the child neovim execute them for real.
Replace functions by direct Lua assignment inside the property string. Always save and restore originals if the mock changes global state that other properties or iterations might depend on.
FunctionName.properties.some_property = [[(function()
local winnr = _G.fixture.winnr
-- mock plugin-internal function; capture runtime value via closure
local current_cursor = nil
M.get_cursor_placement_current_buffer = function()
return { winnr = winnr, cursor = current_cursor }
end
-- mock side-effectful calls not under test
local orig_nvim_echo = vim.api.nvim_echo
local orig_defer_fn = vim.defer_fn
vim.api.nvim_echo = function() end
vim.defer_fn = function() end
-- mock plugin helpers
M.set_restview = function() end
M.setup_cursor_placement = function() end
local result = true
for _, input in ipairs(_G.fixture.inputs) do
current_cursor = input.cursor -- update closure each iteration
M.function_under_test(_G.fixture.bufnr, input.forward)
local new_row = vim.api.nvim_win_get_cursor(winnr)[1]
if not valid_rows[new_row] then result = false; break end
end
-- restore originals
vim.api.nvim_echo = orig_nvim_echo
vim.defer_fn = orig_defer_fn
return result
end)()]]_G.fixtureUse _G.fixture as the namespace for all data passed from the host test process into the child neovim. Populate it with separate child.lua(...) calls before evaluating the property.
-- scalars / tables serialized by MiniTest's RPC
child.lua([[_G.fixture = {}]]) -- reset between cases (or rely on child.restart())
child.lua([[_G.fixture.inputs = ...]], { case.get_inputs(case.buf_contents) })
-- runtime values (bufnr, winnr) must be captured inside child.lua, not passed as args
child.lua([[
local bufnr = vim.api.nvim_create_buf(true, true)
vim.api.nvim_buf_set_lines(bufnr, 0, -1, false, ...)
vim.api.nvim_set_current_buf(bufnr)
_G.fixture.bufnr = bufnr
_G.fixture.winnr = vim.api.nvim_get_current_win()
]], { case.buf_contents })
-- buffer-local variables
child.lua([[vim.b[_G.fixture.bufnr].some_buf_var = ...]], { case.some_data })
-- conditional fixture values (e.g. a bufnr that may or may not exist)
if case.use_alternative_bufnr then
child.lua([[_G.fixture.alternative_bufnr = vim.api.nvim_create_buf(true, true)]])
else
child.lua([[_G.fixture.alternative_bufnr = nil]])
endchild.lua (never pass bufnr from host — the integer won't match)nvim_get_current_win() reflects itwinnr from inside the same child.lua call that sets the current buffervim.b[bufnr].x) in a separate child.lua call after the bufnr is in _G.fixtureEach case should represent a distinct scenario (not just different numeric inputs). Good axes for variation:
filepath = nil vs. filepath = 'src/foo.lua'Aim for 3–5 cases. More cases slow the suite; fewer miss meaningful variation.
Some bugs only manifest with an attached terminal (e.g., vim.fn.screenpos() returning 0 for off-screen lines in interactive mode but not in headless child neovim). When this happens:
assume (goto continue) to exclude the inputs that trigger the bug, rather than letting the property silently pass for wrong reasons© kokusenz, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/minitest-pbt-lua of kokusenz/deltaview.nvim.
Open the folder on GitHubat commit 3893d56
Minitest Pbt Lua next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Minitest Pbt Lua this skillkokusenz/deltaview.nvim | 127 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Pandoc DOCX TemplateAchuan-2/pandoc_docx_template | 1.1k | — | ~1k | Automated safety check: Pass | None | |
| Add Lua Binding Simplecataclysmbn/Cataclysm-BN | 1.3k | — | ~846 | Automated safety check: Pass | Custom licence | |
| Cpp Compiler FlagsSerial-Studio/Serial-Studio | 7.2k | — | ~2.1k | Automated safety check: Pass | Custom licence | |
| Agentic GitHub Discussioncarlos-algms/agentic.nvim | 641 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Luamakeactboy168/luamake | 210 | — | ~2k | Automated safety check: Pass | MIT |
Achuan-2/pandoc_docx_template
A skill your agent uses when converting Markdown to Word DOCX or DOCX back to Markdown with Pandoc, especially when the output should use the bundled Chinese Word reference templates, heading…
cataclysmbn/Cataclysm-BN
Add simple Cataclysm-BN Lua bindings for stringid types, enums, and basic read-only C++ types.
Serial-Studio/Serial-Studio
C++ compiler/linker flag guidance for Serial Studio's build (GCC, Clang, AppleClang, MSVC cl.exe, clang-cl, MinGW, IntelLLVM).
carlos-algms/agentic.nvim
A skill your agent uses when creating, listing, or managing GitHub discussions in carlos-algms/agentic.nvim repository
actboy168/luamake
Luamake 构建系统指南——用于当前项目的 luamake / make.lua / Ninja 生成流程。当用户需要编写、修改、排查或理解 make.lua、目标定义、lm:conf、deps / objdeps、代码生成、Lua C 模块、Bee 运行时集成,或需要解决当前项目中由 luamake 驱动的构建问题时,使用此 skill。即使用户没有明确提到…
zhaojh329/lua-eco
International lua-eco public API skill for writing, reviewing, explaining, and fixing Lua 5.4 code that runs on the eco runtime.
kokusenz/deltaview.nvim
This skill should be used when the user asks to write example-based tests, unit tests, or EBT for a Neovim plugin using the MiniTest (mini.test) framework in Lua.
kokusenz/deltaview.nvim
This skill should be used when the user asks to write integration tests for a Neovim plugin using the MiniTest (mini.test) framework in Lua.
Works with
This skill should be used when the user asks to write property-based tests, PBT, or pseudo property-based tests for a Neovim plugin using the MiniTest (mini.test) framework in Lua. nvim.test) framework in Lua.
Minitest Pbt Lua fits situations like: asks to write property-based tests; pseudo property-based tests for a Neovim plugin using the MiniTest (mini.test) framework in Lua; the user says things like add property tests; write a PBT for.
Run `npx skills add kokusenz/deltaview.nvim --skill minitest-pbt-lua -a claude-code`. Or copy the skill folder (.claude/skills/minitest-pbt-lua in kokusenz/deltaview.nvim) into .claude/skills/minitest-pbt-lua in your project. Claude Code loads it when a task matches its description.
Run `npx skills add kokusenz/deltaview.nvim --skill minitest-pbt-lua -a codex`. Or copy the skill folder (.claude/skills/minitest-pbt-lua in kokusenz/deltaview.nvim) into .agents/skills/minitest-pbt-lua in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kokusenz/deltaview.nvim --skill minitest-pbt-lua -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/minitest-pbt-lua, .gemini/skills/minitest-pbt-lua, .github/skills/minitest-pbt-lua and .opencode/skills/minitest-pbt-lua in your project.
SKILL.md names no scripts, command-line tools or credentials: Minitest Pbt Lua is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Minitest Pbt Lua is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Minitest Pbt Lua: Pandoc DOCX Template (Achuan-2/pandoc_docx_template, 1.1k stars), Add Lua Binding Simple (cataclysmbn/Cataclysm-BN, 1.3k stars), Cpp Compiler Flags (Serial-Studio/Serial-Studio, 7.2k stars) and Agentic GitHub Discussion (carlos-algms/agentic.nvim, 641 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
kokusenz (a GitHub user) maintains it in kokusenz/deltaview.nvim, which has 127 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on August 12, 2026.
Source: kokusenz/deltaview.nvim on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.