Claude Code project structure guide
A concise breakdown of the files and folders that organise a Claude Code project, from root configuration to the claude/ directory layout.
According to the channel author, a Claude Code project follows a defined structure that separates root-level configuration from the main logic living inside a claude/ directory. The root holds four key files: CLAUDE.md for project rules and context, CLAUDE.local.md for personal overrides, mcp.json to connect external tools such as GitHub, Slack, or databases, and claude/settings.json to manage permissions and model selection.
The claude/ directory contains five subfolders that drive the agent's behaviour. rules/ stores coding and testing standards, commands/ holds reusable workflows like /review or /fix, skills/ provides automatically loaded expertise on demand, agents/ defines specialised sub-agents, and hooks/ handles automation and guardrails. A complete settings.json example shows how to eliminate permission pop-ups entirely.
Teams extending this layout can explore design-system-to-skill conversion for the skills/ folder and a production-grade database-architect agent for the agents/ folder. The channel author notes that a cleaner structure directly improves the quality of results.
Related news
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.