-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.claudeignore
More file actions
110 lines (92 loc) · 2.73 KB
/
Copy path.claudeignore
File metadata and controls
110 lines (92 loc) · 2.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# ============================================================
# MASTER .claudeignore TEMPLATE
# ============================================================
# Claude Code CLI reads files in your workspace to build context.
# This file tells it which files to SKIP — keeping the context
# window lean and focused on what Claude can actually use.
#
# Key difference from .gitignore:
# .gitignore → controls what git tracks
# .claudeignore → controls what Claude reads (independent of git)
#
# Syntax: same as .gitignore (gitignore patterns)
# Scope: Claude Code CLI only — does not affect git, Augment, etc.
#
# Note: Claude Code already respects .gitignore automatically.
# This file adds an extra layer — use it for:
# • Belt-and-suspenders on secrets (belt = .gitignore, suspenders = here)
# • Files that ARE committed but are too large/noisy for context
# • Things not gitignored that you still want out of Claude's view
#
# Rule of thumb — skip if Claude can't meaningfully USE it:
# ✗ Secrets and credentials — NEVER read directly; use .env.example
# ✗ Binary files (images, video, compiled binaries, binary lock files)
# ✗ Large generated outputs (build dirs, bundled HTML)
# ✗ High-volume historical data (CSVs, session JSONL logs)
# ✓ Source files, configs, docs, markdown — anything agents reason about
#
# Sources merged: trading-assistant · divorce-custody-assistant ·
# pir-devine-news · anthropas-argus-alfred · dappu web3 repos
# ============================================================
# Secrets — belt-and-suspenders on top of .gitignore
# NEVER read directly — use .env.example / .env.template instead
.env
.env.*
!.env.example
!.env.template
*.key
*.pem
*.p12
*.pfx
service_account.json
credentials.json
*google-credentials*
*google_credentials*
# Node / Python dependencies and environments
node_modules/
.npm/
.yarn/
bun.lockb
venv/
.venv/
env/
__pycache__/
*.egg-info/
*.pyc
# Build and dist outputs
dist/
build/
out/
.next/
.nuxt/
# Runtime logs
*.log
logs/
# Binary media — Claude cannot use without explicit vision calls
*.png
*.jpg
*.jpeg
*.gif
*.bmp
*.mp4
*.mov
*.avi
*.mp3
*.wav
# Agent session and conversation backups
# Large JSONL files — agents load these selectively when needed
AGENT-SYNC/app-data-*/
# Generated HTML presentations (Marp renders)
# Source .marp.md files are the editable canonical versions
*.marp.html
# Web3 / Hardhat / Foundry compiled outputs
artifacts/
cache/
forge-cache/
typechain/
typechain-types/
# ============================================================
# REPO-SPECIFIC SECTION
# ============================================================
# Add paths unique to this project below.
# Remove sections above that don't apply to your stack.