FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
How I structure CLAUDE.md for real projects
How-ToWeb Development

How I structure CLAUDE.md for real projects

via Dev.to TutorialZac4h ago

After 72 hours of running Claude Code autonomously, I have gone through maybe a dozen CLAUDE.md iterations. Here is what actually works. The core mistake Most CLAUDE.md files I have seen (including my early ones) are too long and too vague. A 600-line CLAUDE.md is a per-message token tax. It loads into context on every single request. And vague instructions like "write clean code" do nothing. The structure that works I now use four sections, in this order: # Project One sentence: what this is and what it does. # Stack Exact versions. Framework, language, key libraries. # Rules Hard constraints only. Do not X, not prefer Y. # Workflow How to run, test, and deploy. Specific commands. That is it. Anything else goes in a separate doc Claude can read on demand. The rules section This is where most people go wrong. Some examples of rules that do not work vs rules that do: Does not work: Prefer TypeScript Try to write tests Keep functions small if possible Works: This is a TypeScript-only pro

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
0 views

Related Articles

How to Use Claude Code for Free — No Subscription, No Tricks
How-To

How to Use Claude Code for Free — No Subscription, No Tricks

Medium Programming • 2h ago

Nobody Warned Me About This Part of Being a Junior Developer
How-To

Nobody Warned Me About This Part of Being a Junior Developer

Medium Programming • 4h ago

Talent gets the spotlight.
Discipline builds the legacy.
How-To

Talent gets the spotlight. Discipline builds the legacy.

Medium Programming • 4h ago

Coding in the Age of Co-Pilots: Why Developers Who Think Will Win
How-To

Coding in the Age of Co-Pilots: Why Developers Who Think Will Win

Medium Programming • 6h ago

Two more EVs for the trash heap: Volvo EX30 and Honda Prologue
How-To

Two more EVs for the trash heap: Volvo EX30 and Honda Prologue

The Verge • 7h ago

Discover More Articles