Agent skill

Nvim Test

by S1M0N38 in S1M0N38/love2d.nvim

Execute tests and diagnose failures for love2d.nvim. An agent skill from S1M0N38/love2d.nvim.

MITAuto-check passedTesting & QA

Install Nvim Test

skills CLI
$ npx skills add S1M0N38/love2d.nvim --skill nvim-test -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install S1M0N38/love2d.nvim nvim-test --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/S1M0N38/love2d.nvim.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/nvim-test .claude/skills/nvim-test && rm -rf skills-src

Use ~/.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/

Facts

Skill name
nvim-test
GitHub stars
215
Token cost
~770 tokens
SKILL.md length
254 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Execute tests and diagnose failures for love2d.nvim. An agent skill from S1M0N38/love2d.nvim.

  • Works in 4 steps: Read the error message — shows expected… → Check the line number — points to the… → Check for state leaks — if a test passes… → …
  • The user says run tests
  • SKILL.md covers Test stack, Running tests, Test files and Reading test output, plus 2 more sections
  • Calls make

What it does

Nvim Test is an agent skill from S1M0N38/love2d.nvim. Execute tests and diagnose failures for love2d.nvim. Use when the user says "run tests", "run the suite", or asks to execute the test suite (full or single file). Also use when the user pastes test error output, asks what a test failure means, or needs help fixing a broken test. The test stack is mini.test via lazy.minit with spec.lua files in tests/. Do not trigger for writing tests, learning test APIs, setting up testing from scratch, or non-Neovim tools.

Its SKILL.md is about 770 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Test generation and Failing and flaky tests. It works with Lua. The repository describes itself as: ♡ A simple Neovim plugin to build games with LÖVE. The licence is MIT.

When your agent uses it

  • The user says run tests
  • Asks to execute the test suite (full
  • The user pastes test error output
  • Asks what a test failure means

Example prompts

  • “run tests”
  • “run the suite”
  • “/nvim-test”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Read the error message — shows expected vs actual values
  2. Check the line number — points to the failing assertion
  3. Check for state leaks — if a test passes alone but fails in the suite,
  4. Reproduce in isolation — make test-one MODULE=

What it can do on your machine

Read from SKILL.md and the folder at commit 2c31946. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • make

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Nvim Test loads about 770 tokens when it runs. Until then it costs about 118 tokens; SKILL.md has 254 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~118
When it runs · the whole SKILL.md, loaded when a task matches
~770

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from S1M0N38/love2d.nvim at commit 2c31946, republished under its MIT licence (© S1M0N38). 254 words, ~770 tokens.

Download SKILL.mdSave it as .claude/skills/nvim-test/SKILL.md (or your agent's skills folder).
name
nvim-test
description
Execute tests and diagnose failures for love2d.nvim. Use when the user says "run tests", "run the suite", or asks to execute the test suite (full or single file). Also use when the user pastes test error output, asks what a test failure means, or needs help fixing a broken test. The test stack is mini.test via lazy.minit with *_spec.lua files in tests/. Do not trigger for writing tests, learning test APIs, setting up testing from scratch, or non-Neovim tools.

Running love2d.nvim Tests

This skill covers running tests and diagnosing failures.

Test stack

  • mini.test — Test framework (describe/it blocks, before_each/after_each)
  • lazy.minit — Bootstrap via tests/minit.lua (resolves mini.test + luassert)

Running tests

Full test suite
bash
make test
# or: nvim -l tests/minit.lua --minitest
Single test file
bash
make test-one MODULE=config
# or: nvim -l tests/minit.lua --minitest tests/config_spec.lua
Format check
bash
make lint
Full check (lint + test)
bash
make check

Test files

Each source module has a matching test file:

Test fileModule tested
tests/config_spec.lualove2d.config
tests/utils_spec.lualove2d.utils
tests/init_spec.lualove2d (init)
tests/events_spec.lualove2d.events
tests/autocmd_spec.lualove2d.autocmd
tests/lsp_spec.lualove2d.lsp
tests/job_spec.lualove2d.job
tests/output_spec.lualove2d.output
tests/health_spec.lualove2d.health

Reading test output

mini.test reports with:

  • Green ✓ = passed
  • Red ✗ = failed (with error details below)
  • Summary line shows passed, failed, and total
Diagnosing failures
  1. Read the error message — shows expected vs actual values
  2. Check the line number — points to the failing assertion
  3. Check for state leaks — if a test passes alone but fails in the suite, something didn't clean up (missing after_each)
  4. Reproduce in isolation — make test-one MODULE=<name>
Common failure patterns
ErrorCauseFix
Expected: X, Got: YWrong return valueCheck the function logic
attempt to index nil valueModule not loaded or config not setCall setup() in before_each
test passes alone, fails in suiteState leak between testsAdd after_each cleanup, reset did_setup
timeout / hangsvim.wait not resolvingCheck async operations complete

Test conventions

  • Reset love2d.did_setup = false in before_each
  • Suppress notifications: override vim.notify in test files
  • Mock heavy side effects (jobstart, LSP, filesystem) — don't spawn real processes
  • Tests needing the love binary use pending() to skip gracefully

Project test files

  • tests/minit.lua — mini.test runner bootstrap
  • tests/*_spec.lua — Test files (one per module)
  • tests/demo-game/ — Realistic LÖVE game fixture

© S1M0N38, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/nvim-test of S1M0N38/love2d.nvim.

Open the folder on GitHubat commit 2c31946

Compare with similar skills

Nvim Test 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.

Nvim Test compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nvim Test this skillS1M0N38/love2d.nvim215—~770Automated safety check: PassMIT
Swig Testswig/swig6.3k—~2.3kAutomated safety check: PassCustom licence
Wioworkersio/skills190—~5.8kAutomated safety check: PassMIT
Caliber Testingcaliber-ai-org/ai-setup1.3k—~3.2kAutomated safety check: PassMIT
Ue Test AuthoringJasonMa0012/MooaToon749—~2.1kAutomated safety check: NotesCustom licence
Minitest Ebt Luakokusenz/deltaview.nvim127—~4kAutomated safety check: PassMIT

Similar skills

  • Swig Test

    swig/swig

    Run SWIG test suite for specific languages. An agent skill from swig/swig.

    6.3k GitHub stars~2.3k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Wio

    workersio/skills

    Testing workflow skill for finding high-value test candidates, writing focused tests, generating realistic workloads, reviewing test value, and diagnosing test-suite health.

    190 GitHub stars~5.8k tokensUpdated 2 mo ago
    Testing & QAAuto-check passed
  • Caliber Testing

    caliber-ai-org/ai-setup

    Writes Vitest tests following project patterns: tests/ directories, vi.mock() for module mocking with vi.hoisted() for test-time factories, global LLM mock from src/test/setup.ts, environment…

    1.3k GitHub stars~3.2k tokensUpdated 14 days ago
    Testing & QAAuto-check passed
  • Ue Test Authoring

    JasonMa0012/MooaToon

    A skill your agent uses when writing or modifying UE automated tests (Automation, CQTest, Functional, Gauntlet, LowLevel) with Rider MCP available.

    749 GitHub stars~2.1k tokensUpdated 20 days ago
    Testing & QAAuto-check: notes
  • Minitest Ebt Lua

    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.

    127 GitHub stars~4k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Offload

    imbue-ai/offload

    Activate when you see offload.toml in a repo, offload referenced in build targets (justfile, Makefile, scripts), or when you need to run a large test suite in parallel.

    125 GitHub stars~3.1k tokensUpdated 12 days ago
    Testing & QAAuto-check passed

More from S1M0N38/love2d.nvim

  • Nvim Commit

    S1M0N38/love2d.nvim

    Create conventional commits for love2d.nvim that are compatible with release-please and follow SemVer.

    215 GitHub stars~1.5k tokensUpdated 3 mo ago
    Auto-check: notes
  • Nvim Doc

    S1M0N38/love2d.nvim

    Write, update, and improve love2d.nvim help documentation (vimdoc) in doc/love2d.txt.

    215 GitHub stars~1.3k tokensUpdated 3 mo ago
    Auto-check: notes
  • Nvim Help

    S1M0N38/love2d.nvim

    Search and read Neovim's built-in :help documentation to look up API signatures, parameter types, option values, and event specifications from the user's installed runtime.

    215 GitHub stars~681 tokensUpdated 3 mo ago
    Auto-check passed
  • Nvim Plugin

    S1M0N38/love2d.nvim

    Neovim plugin development best practices and patterns for love2d.nvim.

    215 GitHub stars~1k tokensUpdated 3 mo ago
    Auto-check passed

Works with

Categories

Questions about Nvim Test

What does Nvim Test do?

Execute tests and diagnose failures for love2d.nvim. An agent skill from S1M0N38/love2d.nvim. nvim.nvim.

When should I use Nvim Test?

Nvim Test fits situations like: the user says run tests; asks to execute the test suite (full; the user pastes test error output; asks what a test failure means.

How do I install Nvim Test in Claude Code?

Run `npx skills add S1M0N38/love2d.nvim --skill nvim-test -a claude-code`. Or copy the skill folder (.agents/skills/nvim-test in S1M0N38/love2d.nvim) into .claude/skills/nvim-test in your project. Claude Code loads it when a task matches its description.

How do I install Nvim Test in Codex?

Run `npx skills add S1M0N38/love2d.nvim --skill nvim-test -a codex`. Or copy the skill folder (.agents/skills/nvim-test in S1M0N38/love2d.nvim) into .agents/skills/nvim-test in your project. Codex loads it when a task matches its description.

Can I use Nvim Test in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add S1M0N38/love2d.nvim --skill nvim-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nvim-test, .gemini/skills/nvim-test, .github/skills/nvim-test and .opencode/skills/nvim-test in your project.

What does Nvim Test need to run?

Going by SKILL.md and its folder, Nvim Test needs the command-line tools its instructions call (make).

Does Nvim Test access the network?

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.

Is Nvim Test safe to install?

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.

What licence does Nvim Test use?

Nvim Test is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Nvim Test use?

About 770 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Nvim Test?

Skills that share tags, products or a category with Nvim Test: Swig Test (swig/swig, 6.3k stars), Wio (workersio/skills, 190 stars), Caliber Testing (caliber-ai-org/ai-setup, 1.3k stars) and Ue Test Authoring (JasonMa0012/MooaToon, 749 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nvim Test?

S1M0N38 (a GitHub user) maintains it in S1M0N38/love2d.nvim, which has 215 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on July 7, 2026.

Source: S1M0N38/love2d.nvim on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.