Agent skill

Nvim Doc

by S1M0N38 in S1M0N38/love2d.nvim

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

MITAuto-check: notesDevelopment

Install Nvim Doc

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

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

GitHub CLI
$ gh skill install S1M0N38/love2d.nvim nvim-doc --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-doc .claude/skills/nvim-doc && 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-doc
GitHub stars
215
Token cost
~1.3k tokens
SKILL.md length
353 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 4 steps: Read the source code → Read existing docs (if updating) → Write the help file → …
  • The user asks to write docs
  • SKILL.md covers Vimdoc format rules and Workflow
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Nvim Doc is an agent skill from S1M0N38/love2d.nvim. Write, update, and improve love2d.nvim help documentation (vimdoc) in doc/love2d.txt. Use when the user asks to write docs, update docs, generate the help file, add documentation for a function, or mentions vimdoc, help tags, or plugin documentation. Reads the plugin source code to extract API, commands, configuration, and other info from LuaCATS annotations and code structure, then writes a properly formatted doc/love2d.txt following vimdoc conventions. Do not use for general Neovim :help lookups (use nvim-help…

Its SKILL.md is about 1.3k 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 Development, covering Changelog and release notes. 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 asks to write docs
  • Generate the help file
  • Add documentation for a function
  • Mentions vimdoc

Example prompts

  • “/nvim-doc”

Requirements

  • Pre-approved tools (allowed-tools): Bash, read, edit, write

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Read the source code
  2. Read existing docs (if updating)
  3. Write the help file
  4. Validate

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 these tools, so the agent can use them without asking each time:

    • Bash
    • read
    • edit
    • write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    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 Doc loads about 1.3k tokens when it runs. Until then it costs about 152 tokens; SKILL.md has 353 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, read, edit, write

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). 353 words, ~1,320 tokens.

Download SKILL.mdSave it as .claude/skills/nvim-doc/SKILL.md (or your agent's skills folder).
name
nvim-doc
description
Write, update, and improve love2d.nvim help documentation (vimdoc) in doc/love2d.txt. Use when the user asks to write docs, update docs, generate the help file, add documentation for a function, or mentions vimdoc, help tags, or plugin documentation. Reads the plugin source code to extract API, commands, configuration, and other info from LuaCATS annotations and code structure, then writes a properly formatted doc/love2d.txt following vimdoc conventions. Do not use for general Neovim :help lookups (use nvim-help skill) or for writing README.md, CHANGELOG.md, or other non-vimdoc documentation.
allowed-tools
Bash, read, edit, write

love2d.nvim Documentation (vimdoc)

This skill writes and updates love2d.nvim help documentation. The output is doc/love2d.txt — a plain text file that integrates with Neovim's :help system using the vimdoc format.

Vimdoc format rules

General
  • Text width: 78 characters (set by modeline tw=78)
  • Section separators: exactly 80 = characters
  • Tags: *like-this* — lowercase, hyphens for sections
  • Cross-references: |like-this|
  • Indentation within sections and code blocks: 2 spaces
  • File must end with: vim:tw=78:ts=8:et:ft=help:norl:
Section headers

Title in UPPERCASE left-aligned, tag right-aligned, total width 80 chars:

INTRODUCTION                                                           *love2d*
SETUP                                                           *love2d-setup*
COMMANDS                                                     *love2d-commands*
Tags
  • Sections: *love2d-section-name* (lowercase, hyphens)
  • Functions: *love2d.function()* (includes parens)

Function tags on a separate line ABOVE the signature, right-aligned:

                                                              *love2d.setup()*
love2d.setup({opts}) ~
  Configure the plugin.
Code blocks

Delimited by > (with filetype) and <:

>lua
  require("love2d").setup({
    path_to_love_bin = "love",
  })
<
Configuration docs

Show setup() signature, then code block with ALL default options:

>lua
  {
    path_to_love_bin = "love",   -- Path to LÖVE binary (string, default: "love")
    output = nil,                -- Output panel: nil (default), false (disable), or table (window config)
  }
<

Read the actual config module (lua/love2d/config.lua) to get real defaults.

Command docs
:Love run ~
  Run the detected LÖVE project once.

:Love watch ~
  Run with auto-restart on save (debounced 300ms).

:Love stop ~
  Stop the running LÖVE project and/or watch mode.

:Love info ~
  Show info about the current LÖVE project and job state.

:Love output ~
  Toggle the floating output panel.

Workflow

Step 1 — Read the source code

Read plugin source to extract everything needing documentation. Priority order:

  1. lua/love2d/init.lua — Main module, setup() dispatcher
  2. lua/love2d/config.lua — Default options
  3. lua/love2d/job.lua — Job lifecycle (run/watch/stop/info)
  4. lua/love2d/output.lua — Output panel
  5. lua/love2d/lsp.lua — Dynamic LSP integration
  6. lua/love2d/events.lua — Project detection events
  7. lua/love2d/autocmd.lua — Enter/leave handlers
  8. lua/love2d/health.lua — Health checks
  9. lua/love2d/types.lua — LuaCATS type definitions
  10. plugin/love2d.lua — :Love user command
  11. compiler/love.lua — Compiler plugin (makeprg + errorformat)
  12. README.md — Description (don't copy verbatim)

What to extract:

  • setup() and config defaults: options, types, defaults, descriptions
  • Exported functions: name, params, return type, behavior
  • User commands: name, arguments, completion
  • Autocmds: events listened to or fired
Show full SKILL.md (119 more words)Show less
Step 2 — Read existing docs (if updating)

Read doc/love2d.txt fully before editing. When updating, the goal is minimal changes — only touch what's stale or missing.

  • Preserve existing tag names — renaming breaks bookmarks
  • Preserve section structure — never remove sections
  • Preserve narrative text — explanatory paragraphs help readers
  • Update stale descriptions — match current code behavior
  • Add missing docs — new functions, options, commands
Step 3 — Write the help file

Follow the format rules above. Canonical section order for love2d.nvim:

  1. INTRODUCTION — *love2d* — Description, table of contents
  2. SETUP — *love2d-setup* — Installation and setup()
  3. COMMANDS — *love2d-commands* — :Love subcommands (run, watch, stop, info, output)
  4. LSP — *love2d-lsp* — LSP integration details
  5. GLSL — *love2d-glsl* — Treesitter injection support
  6. TROUBLESHOOTING — *love2d-troubleshooting* — Common issues (optional)
Step 4 — Validate
bash
# Check broken references
grep -oP '\|[^|]+\|' doc/love2d.txt | tr -d '|' | sort -u | while read tag; do
  if ! grep -q "\*${tag}\*" doc/love2d.txt; then
    echo "BROKEN REFERENCE: |$tag|"
  fi
done

# Check line width
awk 'length > 78 && !/^\s*$/ { print NR": "length" chars: "$0 }' doc/love2d.txt

# Check matched code blocks
echo "Open: $(grep -c '^>' doc/love2d.txt)  Close: $(grep -c '^<' doc/love2d.txt)"

© 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-doc of S1M0N38/love2d.nvim.

Open the folder on GitHubat commit 2c31946

Compare with similar skills

Nvim Doc 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 Doc compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nvim Doc this skillS1M0N38/love2d.nvim215—~1.3kAutomated safety check: NotesMIT
Simple Englishmoeru-ai/airi50k2 repos~4.6kAutomated safety check: PassMIT
StarRocks Release NotesStarRocks/starrocks12k—~1.9kAutomated safety check: NotesApache-2.0
Cutting A ReleaseTriliumNext/Trilium38k—~3.2kAutomated safety check: PassAGPL-3.0
React Router Release Notes Prepremix-run/react-router57k—~1.1kAutomated safety check: PassMIT
Mole CLI Release Flowtw93/Mole70k—~2.5kAutomated safety check: PassGPL-3.0

Similar skills

  • Simple English

    moeru-ai/airi

    Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so it is clear, unambiguous, and free of AI slop.

    50k GitHub starsUsed in 2 repos~4.6k tokens
    DevelopmentAuto-check passed
  • StarRocks Release Notes

    StarRocks/starrocks

    Drafts English release notes for a StarRocks patch release from the PRs merged into its release branch, then opens a documentation PR and hands translation to /translate.

    12k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check: notes
  • Cutting A Release

    TriliumNext/Trilium

    A skill your agent uses when cutting, preparing, or debugging a Trilium release — bumping the monorepo version, tagging, or diagnosing a failed "Release" workflow run.

    38k GitHub stars~3.2k tokensUpdated today
    DevelopmentAuto-check passed
  • React Router Release Notes Prep

    remix-run/react-router

    Polishes pending React Router change files before the versioning scripts run, and decides whether a long-form What's Changed section is warranted.

    57k GitHub stars~1.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Runbook for assessing and executing a Mole CLI release: distribution channels, pre-flight checks, capital-V tags, build artifacts and the handoff to curated release notes.

    70k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Release

    PrefectHQ/fastmcp

    Cut a FastMCP release end to end. An agent skill from PrefectHQ/fastmcp.

    28k GitHub stars~2.9k tokensUpdated today
    DevelopmentAuto-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 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 Test

    S1M0N38/love2d.nvim

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

    215 GitHub stars~770 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 Doc

What does Nvim Doc do?

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

When should I use Nvim Doc?

Nvim Doc fits situations like: the user asks to write docs; generate the help file; add documentation for a function; mentions vimdoc.

How do I install Nvim Doc in Claude Code?

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

How do I install Nvim Doc in Codex?

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

Can I use Nvim Doc 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-doc -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-doc, .gemini/skills/nvim-doc, .github/skills/nvim-doc and .opencode/skills/nvim-doc in your project.

What does Nvim Doc need to run?

SKILL.md names no scripts, command-line tools or credentials: Nvim Doc is instructions for the agent only. Its frontmatter pre-approves these tools: Bash, read, edit, write.

Does Nvim Doc 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 Doc safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Nvim Doc use?

Nvim Doc 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 Doc use?

About 1.3k tokens (SKILL.md is roughly 5.3k 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 Doc?

Skills that share tags, products or a category with Nvim Doc: Simple English (moeru-ai/airi, 50k stars), StarRocks Release Notes (StarRocks/starrocks, 12k stars), Cutting A Release (TriliumNext/Trilium, 38k stars) and React Router Release Notes Prep (remix-run/react-router, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nvim Doc?

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.