Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Generate .gitignore

БесплатноБез исполняемых скриптовНе проверен

Create or update .gitignore files by fetching standard templates from the GitHub/gitignore repository.

Sounder25от Sounder25★ 29 звёзд на GitHub15 установок в других каталогах

Об этом скилле

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 gitignore
  • update gitignore
  • ignore build files
  • add 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

  1. Validates input templates against GitHub/gitignore API or raw URLs.
  2. Fetches content for each requested template.
  3. Merges them.
  4. Writes to .gitignore.

Use Cases

  1. New Project: Setting up a fresh repo for a combined C#/React project (VisualStudio + Node).
  2. Maintenance: Realizing your Python project is committing __pycache__ and fixing it instantly.

Установить Generate .gitignore в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/COMPLETE_GITIGNOREgenerate_gitignore.ps1

FAQ

Что делает скилл Generate .gitignore?

Create or update .gitignore files by fetching standard templates from the GitHub/gitignore repository.

Как установить скилл Generate .gitignore?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Generate .gitignore запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Generate .gitignore с