迁移 Claude/Codex/Cursor 开发环境与追溯资产
Co-Authored-By: OpenAI Codex <codex@openai.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
46
.cursorignore
Normal file
46
.cursorignore
Normal file
@@ -0,0 +1,46 @@
|
||||
# Cursor 索引/上下文屏蔽列表
|
||||
# 目的:减少每次对话注入到 system prompt 的无关文件,降低 token 开销
|
||||
# 不影响本地文件浏览和手动 Read
|
||||
|
||||
# ===== AI 历史会话归档(数百个 .md 文件,正常工作不需要 AI 看到) =====
|
||||
docs/ai-env-history/
|
||||
docs/claude-history/
|
||||
|
||||
# ===== 审计变更记录(按需手动 Read,不需要默认索引) =====
|
||||
docs/audit/changes/
|
||||
docs/audit/audit_dashboard.md
|
||||
|
||||
# ===== 临时产物与归档 =====
|
||||
tmp/
|
||||
_DEL/
|
||||
.Deleted/
|
||||
export/
|
||||
reports/
|
||||
scripts/logs/
|
||||
.playwright-mcp/
|
||||
|
||||
# ===== 大型二进制/构建产物 =====
|
||||
node_modules/
|
||||
.venv/
|
||||
venv/
|
||||
dist/
|
||||
build/
|
||||
*.egg-info/
|
||||
htmlcov/
|
||||
.hypothesis/
|
||||
.pytest_cache/
|
||||
|
||||
# ===== 锁文件(很大且不需要 AI 阅读) =====
|
||||
pnpm-lock.yaml
|
||||
package-lock.json
|
||||
uv.lock
|
||||
|
||||
# ===== 小程序打包产物 =====
|
||||
apps/*.zip
|
||||
apps/miniprogram/.font_patch_tmp/
|
||||
|
||||
# ===== IDE/系统杂项 =====
|
||||
.idea/
|
||||
.vscode/
|
||||
*.lnk
|
||||
*.swp
|
||||
Reference in New Issue
Block a user