gitignore-gen
✓Verified·Scanned 2/18/2026
Generate .gitignore by analyzing your project. Use when setting up a new repo.
from clawhub.ai·v2a79011·53.2 KB·0 installs
Scanned from 1.0.1 at 2a79011 · Transparency log ↗
$ vett add clawhub.ai/lxgicstudios/gitignore-gen
ai-gitignore
Stop copy-pasting .gitignore templates from GitHub. This thing actually looks at your project and figures out what to ignore.
Install
npm install -g ai-gitignore
Usage
# Preview what it'll generate
npx ai-gitignore --preview
# Just write the .gitignore
npx ai-gitignore
# Custom output path
npx ai-gitignore --output ./my-project/.gitignore
How it works
It scans your project for config files like package.json, Cargo.toml, go.mod, etc. Then it asks OpenAI to generate a proper .gitignore based on what it finds. That's it. No templates, no guessing.
Requirements
Set your OPENAI_API_KEY environment variable. You'll need an OpenAI API key.
export OPENAI_API_KEY=sk-...
License
MIT