Back to Skills

update-gitignore

verified

Create or update .gitignore file

View on GitHub

Marketplace

frad-dotclaude

FradSer/dotclaude

Plugin

git

development

Repository

FradSer/dotclaude
203stars

git/skills/update-gitignore/SKILL.md

Last Verified

January 24, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/FradSer/dotclaude/blob/main/git/skills/update-gitignore/SKILL.md -a claude-code --skill update-gitignore

Installation paths:

Claude
.claude/skills/update-gitignore/
Powered by add-skill CLI

Instructions

## Context

- Project guidelines: @CLAUDE.md
- Operating system: !`uname -s`
- Existing .gitignore status: !`test -f .gitignore && echo ".gitignore found" || echo ".gitignore not found"`
- Project files: Analyze repository structure to detect technologies
- Available templates: !`curl -sL https://www.toptal.com/developers/gitignore/api/list`

## Requirements

- Combine detected platforms and `$ARGUMENTS` into the generator request (e.g. `macos,node,docker`).
- Preserve existing custom sections when updating `.gitignore`.
- Present the resulting diff for confirmation.

## Your Task

1. Detect operating systems and technologies from context plus `$ARGUMENTS`.
2. Generate or update `.gitignore` using the Toptal API while retaining custom rules.
3. Show the repository changes to confirm the update.

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
800 chars