Skip to content

Commit 54c2425

Browse files
ragnarokkrragnarokkr
authored andcommitted
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.
1 parent b4105e7 commit 54c2425

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

AI.gitignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
### AI ###
2+
3+
# Agentic CLI config files/directories
4+
.aider*
5+
.ai*
6+
.claude*
7+
.cline*
8+
.cursor*
9+
.gemini*
10+
.instructions.md
11+
.llm*
12+
.opencode*
13+
.windsurf*
14+
copilot*
15+
16+
# Generated docs/context
17+
AGENTS*.md
18+
CLAUDE*.md
19+
JULES*.md
20+
*.mdc
21+
data/
22+
tmp/
23+
tmp/*
24+
*.log
25+
*.tmp
26+
*.cache
27+
28+
# Chat/session history
29+
*.chat
30+
*.session

0 commit comments

Comments
 (0)