/gitignore:os Optional — macos, windows, linux (any combination). Defaults to the host OS.from gitignore
Adds curated .gitignore entries for macOS, Windows, and Linux metadata/filesystem artifacts. Detects host OS by default.
Ships in gitignore. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Add the curated OS metadata and filesystem-artifact patterns for one or more operating systems.
From arguments or the user's message:
| Target | Template | Recognize |
|---|---|---|
| macOS | ../../templates/macos.gitignore | macos, mac, osx, darwin, apple |
| Windows | ../../templates/windows.gitignore | windows, win |
| Linux | ../../templates/linux.gitignore | linux, ubuntu, debian, fedora, wsl |
With no target given, detect the host with uname -s (Darwin → macOS,
Linux → Linux, MINGW*/MSYS*/CYGWIN* → Windows) and say which one
you picked.
Multiple targets are normal — a repository worked on from several machines should carry all of them. Apply them in the order the user named them (detected host first when detecting).
Read each selected template verbatim. Do not paraphrase, reorder, or trim its patterns and comments — the curation is the point.
Follow ../../references/merge-procedure.md exactly: build the candidate
set, deduplicate within it and against the existing file, obey the
comment and structure rules, write, verify, report.
Canonical section headers: # --- macOS ---, # --- Windows ---,
# --- Linux ---.
*.stackdump, *.msi,
*.cab, *.msix, *.msm, *.msp, and *.lnk. Offer them as
commented opt-ins only if the user mentions Cygwin, installer builds,
or committed shortcuts.*~ and *.swp. Those are
editor behavior, not Linux behavior — if the user wants them, point
them at a global ignore file (~/.config/git/ignore) rather than
adding them to the project.$RECYCLE.BIN/ and .Trash-*/ contain a literal $ and *. Write
them exactly as the template has them..gitignore outside a Git repository.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub florianbuetow/claude-code --plugin gitignore4 skills in this plugin
/addAdd user-specified entries to a .gitignore file, creating the file if it does not exist./gitignoreThis skill should be used when the user wants to "create a gitignore", "create a .gitignore for X", "update my gitignore", "add entries to gitignore", "ignore this in git", "gitignore for Python/Node/Java/Kotlin/C/Go/Elixir", "mac/windows/linux gitignore entries", or mentions .gitignore files, git ignore patterns, or keeping generated files out of version control./languageAdd programming-language-specific entries (Node.js, Python, Java, Kotlin, C, Go, or Elixir build artifacts and tool caches) to a .gitignore file.Other plugins' skills for the same job