Skip to content
Back to skills

Gitignore

ASecurity

Generates .gitignore file for Git version control exclusions. Defines files and directories to exclude from version control like node_modules, build artifacts, and local environment files.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
developmentnodegit

Works with

  • vscode

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill gitignore --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gitignore?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gitignore
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-gitignore/badge)](https://www.skillsdirectory.com/skills/majiayu000-gitignore)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gitignore
description: Generates .gitignore file for Git version control exclusions. Defines files and directories to exclude from version control like node_modules, build artifacts, and local environment files.
---

# Git Ignore Skill

## Purpose
Generate the `.gitignore` file for version control exclusions.

## Output
Create the file: `.gitignore`

## Notes
- Excludes macOS system files (.DS_Store)
- Excludes node_modules and build artifacts (dist, dist-ssr)
- Excludes local environment files (.env.local, .env.*.local, .env)
- Excludes all editor directories (.vscode, .idea)
- Excludes log files from npm, yarn, and pnpm
- Excludes test coverage reports
- Excludes *.local files for local-only configurations

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.