Set up a proper project structure
Good project structure helps both you and Claude. Let's set up a project properly.
Tip
Warning
.env files with secrets! The .gitignore protects you.Claude reads your project structure:
Good: Bad:
my-project/ stuff/
โโโ src/ โโโ code.js
โ โโโ components/ โโโ other-code.js
โ โโโ utils/ โโโ test.js
โโโ tests/ โโโ random-file.txt
โโโ docs/
โโโ CLAUDE.md
โโโ README.mdAussie Note
my-app/
โโโ src/
โ โโโ components/
โ โโโ pages/
โ โโโ utils/
โ โโโ styles/
โโโ public/
โโโ tests/
โโโ CLAUDE.md
โโโ package.jsonmy-api/
โโโ src/
โ โโโ routes/
โ โโโ models/
โ โโโ services/
โ โโโ middleware/
โโโ tests/
โโโ CLAUDE.md
โโโ package.json