File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,10 +8,11 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
88- Dev (watch): ` bun run dev `
99- Start (production env): ` bun run start `
1010- Lint (with cache): ` bun run lint `
11+ - Lint with auto-fix: ` bun run lint --fix `
1112- Lint fix on staged: ` bunx lint-staged `
1213- Typecheck: ` bun run typecheck `
1314- Test all: ` bun test `
14- - Test single file: ` bun test tests/[ filename] .test.ts `
15+ - Test single file: ` bun test tests/path/to/ filename.test.ts `
1516- Package (prepack builds): ` bun run prepack `
1617
1718Notes:
@@ -117,6 +118,7 @@ Error handling
117118
118119- Debug 日志分析方法
119120 - 使用 ` DebugLogger ` 自动生成 debug-logs/ 文件夹中的请求日志
121+ - Debug logging: Set ` DEBUG_GEMINI_REQUESTS=true ` to enable request logging to debug-logs/
120122 - 压缩大日志文件便于分析:用 ` compress-logs.js ` 脚本删除重复内容
121123 - 分析时用 PowerShell/脚本统计 function calls vs responses 数量:检查 ` functionCall ` 与 ` functionResponse ` 计数,以及翻译后的 ` tool_calls ` 与 tool responses 计数
122124 - ** 调试方法论** :
You can’t perform that action at this time.
0 commit comments