@haram
Many people are using Claude Code, the terminal-based AI agent, these days. I often keep it running while I work, but it gets a bit tedious to explain the same frameworks, testing tools, or coding styles every single time. Here are 3 official settings to resolve that hassle and seriously boost your workflow speed. 😄
The most important thing to start with is the CLAUDE.md file you create in your project root folder. If you write your build commands, test execution methods, and coding style guides here, Claude Code will read them automatically when the session starts. To improve response accuracy and save on tokens, it's best to keep it concise, under 200 lines. You can manage more detailed rules for specific file paths neatly by storing them in the .claude/rules/ folder.
# CLAUDE.md
## Commands
- Build: npm run build
- Test: npm run test
## Style
- Use TypeScript and Tailwind CSS
- Prefer functional componentsAlso, please note that the .claudeprompt file you sometimes see in the community isn't an officially supported format. Instead, if you want to fine-tune the tone and manner or your persona, I recommend using the outputStyle option in your config file, or adding custom instructions safely by using the --append-system-prompt flag in your terminal when starting a session. If you invest just a few minutes in setting this up, you'll feel like you have your very own reliable, custom AI mentor. ~