add-gitignore
agent-ready non-interactive
An interactive CLI tool that adds a .gitignore to your projects.
How to install add-gitignore
npx add-gitignore add-gitignore use case
Generate a .gitignore file for a new project by selecting common ignore patterns for various technologies.
When to use add-gitignore
- Setting up a new project that needs a .gitignore file quickly
- Adding .gitignore to an existing project with common platform/technology ignores
- When you want to avoid manually researching and writing .gitignore entries for popular tools and languages
When not to use add-gitignore
- When you need a highly customized .gitignore that isn't covered by the preset options
- In a fully automated, non-interactive script that cannot supply command-line arguments (though arguments are supported)
add-gitignore features
- · Interactive multi-select interface to choose ignore patterns
- · Supports command-line arguments for non-interactive use (e.g., add-gitignore macOS node)
- · Pulls ignore templates from gitignore.io
- · Generates a .gitignore file in the current directory
Want your agent to find this automatically?
Add the MCP server to your agent config and it will discover tools like add-gitignore on its own.
Set up MCP →