Agent skill

update-gitignore

Create or update .gitignore file

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/update-gitignore-fradser-dotclaude

SKILL.md

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.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results