gitignore_rules

Community

Fix broken .gitignore rules.

AuthorBaneeishaque
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill identifies and fixes common, silent errors in .gitignore files that prevent intended files from being tracked or cause unintended files to be ignored.

Core Features & Use Cases

  • Audit .gitignore: Scans for pitfalls like directory-ignores blocking negations.
  • Automated Fixes: Corrects structural errors in .gitignore files.
  • Verification: Uses git check-ignore to confirm fixes.
  • Use Case: You've added build/ to your .gitignore but then tried to un-ignore specific files within it using !build/*.log. This Skill will detect that the build/ rule prevents Git from seeing the !build/*.log rule and fix it by changing build/ to build/*.

Quick Start

Run the gitignore_rules skill to audit and fix the .gitignore file in the current directory.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: gitignore_rules
Download link: https://github.com/Baneeishaque/ai-agents/archive/main.zip#gitignore-rules

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.