santifprimary's profile
Santiago Fernandez@santifprimary•Dec 01, 2025
2.4K
Post cover image

Writing a good CLAUDE.md

Avatar of hnHacker News•From humanlayer.dev•Nov 30, 2025•10m read time

Learn how to write effective CLAUDE.md files for AI coding agents. Key principles include keeping instructions minimal (under 300 lines), ensuring universal applicability across sessions, using progressive disclosure to avoid context bloat, and avoiding auto-generation. The guide explains why LLMs are stateless, how Claude Code often ignores irrelevant instructions, and why you should use linters instead of relying on AI for code formatting. Proper configuration significantly impacts agent performance across all workflow phases.

Sort:

santifprimary's user avatar
Santiago Fernandez
@santifprimary
Joined Aug 28. 2024
2.4K

Software Architect & hands-on coder with 25+ years in tech. Daily Dev who loves flying gliders.

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard