Add AI .gitignore

While using AI agents locally in your projects is fine when done
correctly, having to constantly fight PRs polluted by unsolicited
external AI-generated files is exhausting in the long run. It’s
therefore important—and necessary—to keep projects clean and isolated
from this relentless spread of unnecessary and overused AI output.
This commit is contained in:
ragnarokkr 2026-03-06 18:02:17 +01:00
parent b4105e73e4
commit 54c2425589
No known key found for this signature in database

30
AI.gitignore Normal file
View File

@ -0,0 +1,30 @@
### AI ###
# Agentic CLI config files/directories
.aider*
.ai*
.claude*
.cline*
.cursor*
.gemini*
.instructions.md
.llm*
.opencode*
.windsurf*
copilot*
# Generated docs/context
AGENTS*.md
CLAUDE*.md
JULES*.md
*.mdc
data/
tmp/
tmp/*
*.log
*.tmp
*.cache
# Chat/session history
*.chat
*.session