Skip to content
Back to skills

Ignore

ASecurity

不要なファイル・ディレクトリを .gitignore に追加・管理する

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 9, 2026
documentationgit

Security analysis

A100/100

Scanned February 12, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Ignore?

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

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

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: ignore
description: 不要なファイル・ディレクトリを .gitignore に追加・管理する
---

# Update Gitignore

This skill adds specific files or patterns to `.gitignore` to prevent them from being tracked by git.

## Instructions

1.  **Check Status**:
    *   Check if the file/directory is already in `.gitignore`.
    *   Check if the file is currently tracked by git using `git ls-files <path>`.

2.  **Update .gitignore**:
    *   Append the path or pattern to the `.gitignore` file in the root directory.
    *   Add a comment if necessary to explain why it's ignored.

3.  **Untrack (if needed)**:
    *   If the file was already tracked, run `git rm --cached <path>` to stop tracking it while keeping the local copy.

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.