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 committed 2026-03-06 18:02:17 +01:00
1 parent b4105e73e4
commit 54c2425589
1 file changed
+30
+30
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