Use when adding new error messages to React, or seeing "unknown error code" warnings.
npx skills add Sounder25/Google-Antigravity-Skills-Library --skill "Generate .gitignore"
Install specific skill from multi-skill repository
# Description
Create or update .gitignore files by fetching standard templates from the GitHub/gitignore repository.
# SKILL.md
name: Generate .gitignore
description: Create or update .gitignore files by fetching standard templates from the GitHub/gitignore repository.
version: 1.0.0
author: Antigravity Skills Library
created: 2026-01-16
leverage_score: 3/5
SKILL-015: Generate .gitignore
Overview
Ensures the workspace has a proper .gitignore file by fetching industry-standard templates (e.g., Python, Node, VisualStudio, macOS) and merging them. Prevents binary artifacts and secrets from being committed.
Trigger Phrases
create gitignoreupdate gitignoreignore build filesadd python to gitignore
Inputs
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
--workspace-path |
string | No | Current directory | Root to check |
--templates |
string[] | Yes | - | List of templates (e.g. Python, Node, VisualStudio) |
--append |
switch | No | false | If file exists, append instead of overwrite |
Outputs
1. .gitignore
The resulting ignore file at the workspace root.
Implementation
Script: generate_gitignore.ps1
- Validates input templates against GitHub/gitignore API or raw URLs.
- Fetches content for each requested template.
- Merges them.
- Writes to
.gitignore.
Use Cases
- New Project: Setting up a fresh repo for a combined C#/React project (
VisualStudio+Node). - Maintenance: Realizing your Python project is committing
__pycache__and fixing it instantly.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.