Skip to content

Instantly share code, notes, and snippets.

@SolomonHD
Created August 10, 2025 00:39
Show Gist options
  • Save SolomonHD/79f5322bcb6514cc1688aec6bc84a32d to your computer and use it in GitHub Desktop.
Save SolomonHD/79f5322bcb6514cc1688aec6bc84a32d to your computer and use it in GitHub Desktop.
Cursor Ignore File
# ------------------------------
# Core junk / editor clutter
# ------------------------------
.git/
.git/**/*
**/.DS_Store
**/.idea/
**/.vscode/
**/.history/
**/.cache/
**/*.log
**/*.tmp
**/*.swp
# ------------------------------
# Dependencies & build outputs
# ------------------------------
**/node_modules/
**/vendor/
**/dist/
**/build/
**/target/ # Rust
**/bin/
**/out/
**/.venv/
**/venv/
**/__pycache__/
**/.pytest_cache/
**/.mypy_cache/
**/.ruff_cache/
**/.tox/
# ------------------------------
# Docker / containers
# ------------------------------
**/.docker/
**/docker-cache/
**/docker-build/
# ------------------------------
# Dagger
# ------------------------------
**/.dagger/
**/.dagger-engine/
**/dagger.out/
**/tmp/dagger/
# ------------------------------
# Terraform / Terragrunt
# ------------------------------
**/.terraform/
**/.terraform/**
**/*.tfstate
**/*.tfstate.*
**/*.tfplan
**/.terragrunt-cache/
# Usually OK to hide lockfile from AI context (comment out to include)
**/.terraform.lock.hcl
# ------------------------------
# Ansible
# ------------------------------
**/*.retry
**/.ansible/
**/.ansible_async/
**/.cache/ansible/
# If inventories are huge or secret-heavy, keep them out of AI context:
**/inventory/**/host_vars/**
**/inventory/**/group_vars/**
# Comment these back in if you want AI to see generic vars:
# !**/inventory/**/group_vars/*.example*
# !**/inventory/**/host_vars/*.example*
# ------------------------------
# CUE
# ------------------------------
**/cue.mod/cache/
# ------------------------------
# Languages / tools misc
# ------------------------------
# Go
**/pkg/
**/coverage.out
# Python
**/.coverage
**/coverage.xml
**/.hypothesis/
# Java / Kotlin
**/.gradle/
**/build/
# Ruby
**/.bundle/
**/Gemfile.lock # comment out if you want AI to see dependency pins
# ------------------------------
# Docs sites / static builds
# ------------------------------
**/.docusaurus/
**/.next/
**/.vite/
**/site/
**/public/
**/storybook-static/
# ------------------------------
# Archives & big binaries
# ------------------------------
**/*.zip
**/*.tar
**/*.tar.gz
**/*.tgz
**/*.rar
**/*.7z
**/*.iso
# ------------------------------
# Secrets & credentials (AI context only — still secure them properly!)
# ------------------------------
**/*.pem
**/*.key
**/*.crt
**/*.p12
**/*.pfx
**/.env
**/.env.*
**/secrets.*
**/*_secrets.*
**/*credentials*
**/*id_rsa*
**/*id_ecdsa*
**/*id_ed25519*
# ------------------------------
# Project-specific noise (customize as needed)
# ------------------------------
**/examples/**/.terraform/
**/examples/**/dist/
**/tests/fixtures/**/node_modules/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment