setup-gitignore
Installation
SKILL.md
Initialize or idempotently revise the current repo's .gitignore — never the global excludesfile.
Scope
Per-repo only. Never read or write ~/.gitignore, ~/.config/git/ignore, or run git config --global. The user's global excludesfile handles cross-machine noise; this skill handles language/tool specifics for the current repo.
Sources composed (in order)
- gitignore.io — templates keyed by detected language/framework (requires network)
- AI tooling — bundled patterns from
references/AI-TOOLING.md - IDE / editor — bundled patterns from
references/IDE-EDITOR.md - Empirical — untracked paths from
git status, confirmed interactively