✓ Verified 💻 Development ✓ Enhanced Data

Gitignore Sync

Context-aware .gitignore generation backed by gitignore.io, not vibes.

Rating
4.7 (75 reviews)
Downloads
587 downloads
Version
1.0.0

Overview

Context-aware .gitignore generation backed by gitignore.io, not vibes.

Complete Documentation

View Source →

Gitignore Sync

Generate high-confidence .gitignore rules from real repo signals and gitignore.io, then update safely via a managed block so manual rules stay untouched.

Execution Rule

Use scripts/update_gitignore.py as the only execution path. Do not fetch from the API directly in ad-hoc commands. Do not manually compose or rewrite .gitignore when this skill is selected.

Workflow

  • Infer requested templates from the user prompt.
  • Detect likely templates from repository files and folders.
  • Run scripts/update_gitignore.py with --prompt-text and/or --services.
  • Let the script fetch combined template rules from https://www.toptal.com/developers/gitignore/api/.
  • Let the script write or update a managed block in .gitignore.
  • Preserve non-managed user sections in .gitignore.

Run

From the target repository root, run:

bash
python3 <skill-path>/scripts/update_gitignore.py \
  --prompt-text "create .gitignore for flutter firebase vscode" \
  --repo .

Use explicit templates when the user names exact services:

bash
python3 <skill-path>/scripts/update_gitignore.py \
  --services flutter,firebase,visualstudiocode \
  --repo .

Notes

  • Prefer passing both --prompt-text and --services when available.
  • Keep manual custom rules outside the managed block markers.
  • Re-run safely; the script replaces only the managed block.
  • Use --rules-file for offline/local testing when network access is blocked.

Installation

Terminal bash

openclaw install gitignore-sync
    
Copied!

💻Code Examples

example.sh
python3 <skill-path>/scripts/update_gitignore.py \
  --prompt-text "create .gitignore for flutter firebase vscode" \
  --repo .
example.sh
python3 <skill-path>/scripts/update_gitignore.py \
  --services flutter,firebase,visualstudiocode \
  --repo .

Tags

#coding_agents-and-ides #git

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author nikita-holban
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install gitignore-sync