.claudeignore 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. # ============================================================
  2. # .claudeignore — files Claude cannot read or use as context
  3. # Same syntax as .gitignore
  4. # ============================================================
  5. # ---- Secrets & credentials --------------------------------
  6. .env
  7. .env.*
  8. !.env.example
  9. secrets/
  10. *.pem
  11. *.key
  12. *.p12
  13. *.pfx
  14. *.jks
  15. credentials
  16. credentials.json
  17. service-account*.json
  18. *-credentials.json
  19. .netrc
  20. .pgpass
  21. .my.cnf
  22. # ---- SSH --------------------------------------------------
  23. .ssh/
  24. id_rsa*
  25. id_ed25519*
  26. *.pub
  27. # ---- Cloud provider credentials ---------------------------
  28. .aws/
  29. .azure/
  30. .gcloud/
  31. gcloud-credentials*
  32. # ---- Build artifacts & caches ----------------------------
  33. node_modules/
  34. dist/
  35. build/
  36. .next/
  37. .nuxt/
  38. out/
  39. target/
  40. __pycache__/
  41. *.pyc
  42. .pytest_cache/
  43. .mypy_cache/
  44. .ruff_cache/
  45. *.egg-info/
  46. .eggs/
  47. vendor/
  48. .cargo/registry/
  49. .gradle/
  50. .m2/
  51. # ---- Binary & media files --------------------------------
  52. *.png
  53. *.jpg
  54. *.jpeg
  55. *.gif
  56. *.webp
  57. *.ico
  58. *.svg
  59. *.mp4
  60. *.mp3
  61. *.pdf
  62. *.zip
  63. *.tar
  64. *.tar.gz
  65. *.tgz
  66. *.rar
  67. *.7z
  68. *.dmg
  69. *.exe
  70. *.dll
  71. *.so
  72. *.dylib
  73. *.wasm
  74. # ---- IDE & OS --------------------------------------------
  75. .idea/
  76. .vscode/
  77. *.swp
  78. *.swo
  79. *~
  80. .DS_Store
  81. Thumbs.db
  82. desktop.ini
  83. # ---- Logs & local databases ------------------------------
  84. *.log
  85. logs/
  86. *.sqlite
  87. *.sqlite3
  88. *.db
  89. # ---- Lock files (optional — remove if you want Claude to read them) --
  90. # package-lock.json
  91. # yarn.lock
  92. # Cargo.lock
  93. # poetry.lock
  94. # ---- Large generated files --------------------------------
  95. coverage/
  96. .nyc_output/
  97. *.lcov