Skillsupdate-gitignore
update-gitignore

update-gitignore

Create or update .gitignore file

update-gitignoreFradSer
206 stars
4.1k downloads
Updated 6d ago

Readme

update-gitignore follows the SKILL.md standard. Use the install command to add it to your agent stack.

---
name: update-gitignore
description: Create or update .gitignore file
user-invocable: true
allowed-tools: ["Bash(curl:*)", "Bash(uname:*)", "Bash(git:*)", "Read", "Write", "Edit", "Glob"]
model: haiku
context: fork
argument-hint: [additional-technologies]
version: 0.1.0
---

## 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.

Install

Requires askill CLI v1.0+

Metadata

LicenseUnknown
Version-
Updated6d ago
PublisherFradSer

Tags

apillmtesting