[Bug] Claude Code ignores project documentation (CLAUDE.md/SKILL.md) in architectural decisions

Resolved 💬 3 comments Opened Nov 10, 2025 by RafalekS Closed Nov 14, 2025

Bug Description
"Claude Code AI repeatedly ignores documented standards in project CLAUDE.md and user's coding skill (SKILL.md) when creating new files/modules. Specifically:

  • Violates documented folder structure rules
  • Ignores config file naming conventions (config.json vs settings.json)
  • Does not consult available documentation before making architectural decisions
  • Pattern repeated 4+ times in same session"

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.0.36
  • Feedback ID: e1b2e4d9-e81b-4255-ba2b-bb9337951416

Errors

[{"error":"AxiosError: Request failed with status code 401\n    at WT (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:51:1136)\n    at IncomingMessage.<anonymous> (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:56:9845)\n    at IncomingMessage.emit (node:events:520:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at sGA.request (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:58:2129)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async ft2 (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3751:7832)","timestamp":"2025-11-09T15:24:36.482Z"},{"error":"MaxFileReadTokenExceededError: File content (70593 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at UwQ (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1637:25881)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1646:1020)\n    at async JN (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1646:3002)\n    at async file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3561:1397","timestamp":"2025-11-09T16:30:23.315Z"},{"error":"MaxFileReadTokenExceededError: File content (70593 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at UwQ (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1637:25881)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1646:1020)\n    at async JN (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1646:3002)\n    at async file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:3561:1397","timestamp":"2025-11-09T16:39:49.445Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"max_tokens: Extra inputs are not permitted\"},\"request_id\":\"req_011CUxfwbYiuxUba9DcXx94n\"}\n    at L4.generate (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:436:26214)\n    at U_.makeStatusError (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:707:2117)\n    at U_.makeRequest (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:707:5341)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async uKA (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1575:571)\n    at async A$A (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2452:1851)\n    at async Er5 (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2452:4051)\n    at async Promise.all (index 6)\n    at async dg2 (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2452:4463)\n    at async Object.call (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2488:469)","timestamp":"2025-11-09T16:59:40.459Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"max_tokens: Extra inputs are not permitted\"},\"request_id\":\"req_011CUxgZZr3BJeBk1PoMDHQA\"}\n    at L4.generate (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:436:26214)\n    at U_.makeStatusError (file:///C:/Users/r_sta/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:707:2117)\n    at U_.makeRequest

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗