gitignore-gen

Generate .gitignore files for any project type using GitHub's 200+ official templates. Use when creating new projects, setting up repositories, needing to combine multiple gitignore templates (e.g., Python + Node + JetBrains), auto-detecting project types, or adding custom ignore rules. Supports listing, filtering, combining templates, auto-detection, appending to existing files, and custom patterns.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "gitignore-gen" with this command: npx skills add johnnywang2001/jrv-gitignore-gen

Gitignore Generator

Generate .gitignore files from GitHub's official template collection. Combine multiple templates, auto-detect project type, add custom rules.

Quick Start

# List all available templates
python3 scripts/gitignore_gen.py list

# Generate for a Python project
python3 scripts/gitignore_gen.py generate Python --force

# Combine multiple templates
python3 scripts/gitignore_gen.py generate Python Node JetBrains --force

# Auto-detect project type
python3 scripts/gitignore_gen.py detect /path/to/project

Commands

list

List all 200+ available templates. Filter with --filter:

python3 scripts/gitignore_gen.py list --filter java

generate

Create a .gitignore from one or more templates:

python3 scripts/gitignore_gen.py generate Python Node --stdout     # print to stdout
python3 scripts/gitignore_gen.py generate Rust -o /tmp/.gitignore  # custom output path
python3 scripts/gitignore_gen.py generate Go --append              # append to existing
python3 scripts/gitignore_gen.py generate Swift --extra '*.local' --extra 'secrets/'

detect

Auto-detect project type from files in a directory:

python3 scripts/gitignore_gen.py detect           # current directory
python3 scripts/gitignore_gen.py detect ~/myproj   # specific path

Detects: Node, Python, Ruby, Rust, Go, Java, PHP/Composer, Dart, Elixir, Swift, Terraform, Docker, JetBrains, VS Code, and more.

Flags

  • --stdout — Print to stdout instead of writing a file
  • --force — Overwrite existing .gitignore
  • --append / -a — Append to existing .gitignore
  • --output / -o — Custom output file path
  • --extra / -e — Add custom ignore patterns (repeatable)
  • --filter / -f — Filter template list by name

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Web Research Assistant

AI-powered web research assistant that leverages BrowserAct API to supplement restricted web access by searching the internet for additional information. Designed for OpenClaw and Claude Code.

Registry SourceRecently Updated
2.5K3phheng
Coding

Pandoc Convert

Convert documents between 40+ formats using pandoc CLI. Handles Markdown ↔ Word ↔ PDF ↔ HTML ↔ LaTeX ↔ EPUB with smart defaults, professional templates, and comprehensive tooling.

Registry SourceRecently Updated
Coding

Monitored Ralph Loop

Generate copy-paste bash scripts for Ralph Wiggum/AI agent loops (Codex, Claude Code, OpenCode, Goose). Use when asked for a "Ralph loop", "Ralph Wiggum loop", or an AI loop to plan/build code via PROMPT.md + AGENTS.md, SPECS, and IMPLEMENTATION_PLAN.md, including PLANNING vs BUILDING modes, backpressure, sandboxing, and completion conditions.

Registry SourceRecently Updated
1.3K0endogen
Coding

Forge

Autonomous quality engineering swarm that forges production-ready code through continuous behavioral verification, exhaustive E2E testing, and self-healing fix loops. Combines DDD+ADR+TDD methodology with BDD/Gherkin specifications, 7 quality gates, defect prediction, chaos testing, and cross-context dependency awareness. Architecture-agnostic — works with monoliths, microservices, modular monoliths, and any bounded-context topology.

Registry SourceRecently Updated