[BUG] CLAUDE.md regularly non-compliant with npx markdownlint and similar quality validation tools
Resolved 💬 3 comments Opened Sep 12, 2025 by vtjballeng Closed Sep 12, 2025
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Claude code regularly creates and edits CLAUDE.md and other markdown files in violation of standard markdown tools such as npx markdownlint . This creates a loop of needless errors and problems that are completely solved by adhering to standard rules and practices in markdown file generation and editing.
What Should Happen?
Claude should follow industry standard practices for markdown file creation.
Error Messages/Logs
<img width="2164" height="753" alt="Image" src="https://github.com/user-attachments/assets/cce08e82-8910-417a-b9f7-66a622d4f125" />
Steps to Reproduce
- Ask Claude code to generate or edit claude.md or other documentation markdown file.
- Submit to GitHub for PR
- See dozens or more issues when npx markdownlint, codacy, or other similar validation tools are part of your ci/cd.
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
1.0.112
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗